@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base{
    h1,h2,h3,h4,h5,a,p,span,li,ul{
        @apply font-amsterdam;
    }
    
}

header hr{
    color: #D9D9D9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1{
    font-size: 54px;
    font-weight: 400;
    letter-spacing: 0.54px;
    color: #fff;
}
header {
    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
    
    
}



#nav {
    padding: 1.6% 16.2% 1.6% 16.2%;

}



#newsSection{
    padding-left: 16.2%;
    padding-right: 16.2%;
    padding-bottom:25px;
    padding-top: 25px;
}

.newsCategories a{
    color: #BBBBBB;
font-size: 18px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.18px;
word-wrap: break-word

}

.newsCategories a:hover
{
    color: #12326E;
}


.directionHeader
{
    padding-left:16.2%;
}
.directionHeader a{
color: #BBBBBB;
font-size: 18px;
font-weight: 400;
letter-spacing: 0.18px;
}

.directionHeader span{
    color: white;
font-size: 18px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.18px;
word-wrap: break-word
}

ul li {
    position: relative;
    display: inline-block;
    letter-spacing: 0.24px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 8px 15px;
    @apply text-sm md:text-lg;
}

ul li:hover {
    color: #12326E;
    background-color: #FFED00;
}


.subMenu {
    background-color: #fff;
    color: #262829;
    font-size: 15px;
    letter-spacing: 0.15px;
    padding: 15px 8px;
    font-weight: 400;
}

.subMenu:hover {
    color: #12326E;
    background-color: #FFED00;
}

.subMenu2 {
    overflow: hidden;
}

.ddMenu:hover .subMenu2{
    display: block;
}


.topFooter{
    padding: 1.62% 16.2% 1.62% 16.2%;
}





.copyR{
    padding:0.16% 16.2% 1.62% 16.2%;
}


footer a{
    color: rgba(255, 255, 255, 0.50);;
    font-size: 14px;
    font-weight: 500;
}



footer a:hover{
color: #FFED00;
}


footer span{
    color: rgba(255, 255, 255, 0.50);;
    font-size: 14px;
    font-weight: 500;
    }

    footer span:hover{
        color: #FFED00;
        cursor:default
        }
        

footer h3{
color: white;
font-size: 20px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.20px;
word-wrap: break-word
}
footer hr {
    border: 0;
    border-top: 0.5px solid rgba(255, 255, 255, 0.50);
    width: 100%;
    margin: 20px 0;
    position: relative;
}

footer .hr-container {
    position: relative;
    text-align: center;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.bottomFooter a{
    color: white;
    font-size: 15px;
    letter-spacing: 0.18px;
  
}

@media (min-width: 1025px) {
    .footerKv
    {
        padding-right: 16.2%;
        padding-bottom: 1%;
    }
}




.news h5{
    color: #31AA47;
font-size: 16px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.80px;
word-wrap: break-word;
margin-top: 10px;
}

.news p{
color: #262829;
font-size: 16px;
font-family: "Roboto", sans-serif;
font-weight: 500;
letter-spacing: 0.16px;
word-wrap: break-word
}

.newsDate span{
    color: #BBBBBB;
font-size: 14px;
font-family: "Roboto", sans-serif;
font-weight: 500;
letter-spacing: 0.14px;
word-wrap: break-word
}


.newsDirection{
    margin: 25px 0px 25px 0;
}

.newsDirection a{
    color: #BBBBBB;
font-size: 18px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.18px;
word-wrap: break-word
}

.newsDirection span{
    color: #262829;
font-size: 18px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.18px;
word-wrap: break-word
}

.newsCategory{
    color: #12326E;
font-size: 14px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.14px;
word-wrap: break-word;
background: #FFED00; 
border-radius: 5px;
padding: 10px 15px;
width: max-content;

}

.newContent{
    padding-left:  16.2%;
    padding-right: 16.2%;
}



.newContent h1{
color: #262829;
font-size: 42px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.42px;
word-wrap: break-word;
}
    
.date{
color: #BBBBBB;
font-size: 22px;
font-family: New Amsterdam;
font-weight: 400;
letter-spacing: 0.22px;
word-wrap: break-word
}


.newContent p{
    color: #262829;
font-size: 14px;
font-family: "Roboto", sans-serif;
font-weight: 400;
line-height: 25px;
letter-spacing: 0.14px;
word-wrap: break-word
}

#contact{
    padding: 1.62% 16.2% 1.62% 16.2%;
}

#contact h4{
    color: #262829;
font-size: 24px;
font-family: New Amsterdam;
font-weight: 400;
word-wrap: break-word
}

#contact p, #contact a{
    color: #262829;
font-size: 18px;
font-family: "Roboto", sans-serif;
font-weight: 400;
word-wrap: break-word
}


#mobile-menu {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
}

#mobile-menu.hidden {
    display: none;
}


/* Popup Container */
.popup {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup Content */
.popup-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

/* Close Button */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Iframe */
iframe {
    width: 100%;
    height: 450px;
}


footer i{
    font-size: 20px;
    margin-right: 5px;
}





@media (max-width:1025px) {
    .newContent{
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    .footerKv, .topFooter{
        padding-right: 5% !important;
        padding-left: 5% !important;
    }
    
    .newContent h1{
        font-size: 24px !important;
    }


    .topFooter h3{
        font-size: 16px !important;
    }

    .topFooter a, .topFooter span{
        font-size: 12px;
    }

    #nav{
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    .directionHeader
{
    padding-left:5% !important;
}
    .theOthers {
        display: block; /* Mobilde haberleri tek sütun yap */
    }

    .theOthers .news {
        width: 100%; /* Mobilde haber kartlarının genişliğini yüzde 100 yap */
        margin-bottom: 20px; /* Alt boşluk ekle */
    }

    .newsAndSeeOther {
        flex-direction: column; /* Başlık ve "Tümünü Göster" kısmını dikey hizala */
        text-align: center; /* Başlık ve linki ortala */
    }

    .seeOther {
        margin-top: 10px; /* Linkin altına biraz boşluk bırak */
    }

    .news img {
        height: 150px; /* Mobilde resimlerin boyutunu küçült */
        object-fit: cover;
    }
}
