@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

:root {
    --dark-color: #2C3E50;       /* Soluk lacivert */
    --mid-color: #4CA1AF;        /* Mavi-yeşil geçişli */
    --light-color: #AED6F1;      /* Hafif açık mavi */
    --text-color: #2F3542;       /* Yumuşak koyu gri */

    --dark: #1A5276;             /* Buton hover, başlık rengi */
    --light: #D6EAF8;            /* Buton arka planı */

    --new-25: #1A527640;
    --new-50: #1A527680;
    --new-75: #1A5276BF;
}

body {
    background-color: #F4F6F9;
}

.create-btn{

    background-color: #2980b9;
                    color: white;
                    padding: 12px 24px;
                    border: none;
                    border-radius: 8px;
                    font-size: 16px;
                    font-weight: 500;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                    transition: background-color 0.3s ease;
                    margin-top:50px;
}
.content-option {
    display: flex;
    justify-content: center;
    align-items: center;
    width: inherit;
}



.content-btn {
    font-size: 18px;
    padding: 0 20px 20px 80px;
    justify-content: center; 
    align-items: center;
    padding: 0px 0px; 
    height: 40px; 
    min-width: 350px;
    text-align: center;
    background-color: var(--light);
    border: none;    
    cursor: pointer;
    transition: background-color 0.4s ease;
}
.content-btn:first-child{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

}
.content-btn:last-child{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.content-btn:hover{
    background-color: var(--dark);
    color: var(--light);
    font-weight: bold;
}


.content-btn.active{
    background-color: var(--dark);
    color: var(--light);
    font-weight: bold;
}

.content-message-box {
    display: flex;
    justify-content: center;
    
}

.content-message {
    
    font-size: 18px;
    margin-top: 20px;
    color: black;
    font-size: 15px;
    align-items: center;
    display: flex;
    min-width: 1050px;
    height: 30px;
    border-radius: 2px;
    background-color: #A9C0E0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 50px;
}

.content-message h2 {
    font-size: 22px;
    margin-left: 10px;
}


.content-box {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.content {
    background-color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    min-width: 1050px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 0px;
    padding: 10px 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}



.profile-img {
    margin-left: 5px;
    width: 50px;
    height: 50px;
    min-width:50px;
    border-radius: 50%;
    object-fit:cover;
    object-position: 100% 60%;
    margin-right: 12px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.profile-img:hover {
    transform: scale(1.05);
}

.text-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.title {
    margin-left: 5px;

    color: var(--dark);
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}
.title:hover{
    text-decoration:underline;

}

.info {
    color: var(--text-color);
    display: flex;
    gap: 8px;
    margin-left: 5px;
    flex-wrap: wrap;
}

.info-2 {
    color: var(--text-color);
    font-size: 14px;
    display: flex;
    flex-direction: column; /* Alt alta sıralama */
    width: 50%;
    gap: 10px;
    align-items: flex-start;
}

.info-3 {
    color: var(--text-color);
    font-size: 14px;
    display: flex;
    flex-direction: column; /* Alt alta sıralama */
    width: 40%;
    gap: 10px;
    align-items: flex-start;
}
/* CATEGORY -----------------------------------------------------------------------------------------------------------------------------------*/
.container_category{
    margin-top: 60px;
    
}
.category-content-box {
    
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-weight: 400;

}

.category-content {
    background-color: white;
    font-size: 12px;
    align-items: center;
    display: flex;
    min-width: 1050px;
    height: 60px;
    border: 1px solid #ddd;

}
.category-info{
    
    display: flex;
    color: var(--text-color);
    font-size: 16px;
    width: 50%;
    gap: 30px;
}
.category-text-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.category-title {
    margin-left: 5px;
    color: var(--text-color);
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 500;

}
.category-title:hover{
    text-decoration: underline;

}

.category-content-message {
    font-size: 18px;
    color: var(--light);
    font-size: 15px;
    align-items: center;
    display: flex;
    min-width: 1050px;
    height: 30px;
    border-radius: 2px;
    background-color: #00246B;
    
}

.category-content-message h2 {
    font-size: 22px;
    margin-left: 10px;
    
}



/* KURALLAR -------------------------------------------------------------------------------------------------------- */

.rules-container {
    background-color: var(--text-color);
    border-radius: 5px;
    padding: 20px;
    color: white;
    font-size: 16px;
    width: 80%;
    max-width: 1050px;
    margin:40px auto;
}

.rules-container h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    color:black;
    background-color: white;
    border-left: 5px solid var(--dark-color);
    padding: 10px;
    margin: 5px 0;
    border-radius: 3px;
    font-size: 15px;
}








/* Medya Sorguları */
@media (max-width: 1024px) {
    

    .content, .category-content {
        min-width: 80%; /* min-width yerine width: 100% kullanarak içeriğin tam genişlikte olmasını sağla */
 /* İçeriğin etrafında boşluk bırak */
    }
    
    .content-option {
        flex-direction: column; /* Butonları alt alta sıralar */
        margin-top: 20px;
        
    }

    .content-btn {
        min-width: 80%; /* Butonlar daha küçük yapar */
        margin-top: 10px;
        
    }

    .text-content{
        min-width: 50%;
        font-size: 10px;
    }

    .info-2,
    .info-3 {
        width: 50%;
        text-align: center; /* Ortalar */
    }

    .profile-img {
        
        width: 40px;
        height: 40px; /* Resmi küçültür */
    }

    .title {
        width:  100%;

        font-size: 20px; /* Başlık boyutunu küçültür */
    }

    .info {
        min-width: 30%;
        font-size: 10px;
    }

    .content-message {
        min-width: 80%; /* Mesaj kutusunu tam genişlik yapar */
        font-size: 16px; /* Yazı boyutunu küçültür */
    }
    
}

@media (max-width: 768px) {
    .content, .category-content{
        min-width: 100%;
        height: auto;
    }
    .content-btn {
        min-width: 100%; /* Butonları tam genişlik yapar */
        margin-top: 10px;
    }

    .profile-img {
        width: 50px;
        height: 50px; /* Resmi daha da küçültür */
    }

    .title {
        font-size: 17px; /* Başlık boyutunu daha da küçültür */
    }

    .info,
    .info-2,
    .info-3 {
        font-size: 12px; /* Yazı boyutunu daha da küçültür */
        
    }

    .content-message, .category-content-message {
        min-width: 100%; /* Butonları tam genişlik yapar */
        font-size: 14px; /* Mesaj yazı boyutunu küçültür */
    }
}

@media (max-width: 480px) {
    .content-btn {
        min-width: 100%; /* Butonları tam genişlik yapar */
        margin-top: 10px;
    }

    .profile-img {
        width: 30px;
        height: 30px; /* Resmi daha da küçültür */
    }

    .title {

        font-size: 12px; /* Başlık boyutunu küçültür */
    }

    .content {
        font-size: 12px; /* İçerik yazı boyutunu küçültür */
    }

    .info,
    .info-2,
    .info-3 {
        font-size: 10px; 
    }

    .content-message {
        
        font-size: 12px; /* Mesaj yazı boyutunu küçültür */
    }
    .content{
        min-width: 100%; /* Butonları tam genişlik yapar */

    }
}
