@font-face {
    font-family: 'airfool';
    src: url('../fonts/airfool.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #FFD2BF80;
    --text-color: #333333;
    --header-bg-0: #fdbdcc;
    --header-bg-25: #fb9cb2;
    --header-bg-40: #f97f9b;
    --header-bg-60: #ffbb9f;
    --header-bg-75: #ffa781;
    --header-bg-100: #ff9467;
    --main-block-bg: #ffbb9f;
    --section-header-bg: #fdbdcc;
    --sub-block-head: #fcc8d4;
    --section-content-bg: #ffbb9f;
    --text-hover-color: #f97f9b;
    --footer-bg: #fdbdcc;
    --icon-color: #fff;
    --nav-list-hover-color: #fff;
    --second-section-header-bg-0: #ff9fb4;
    --second-section-header-bg-15: #ffb0c4;
    --second-section-header-bg-30: #ffc0d4;
    --second-section-header-bg-40: #ffc8dc;
    --second-section-header-bg-50: #ffccd4;
    --second-section-header-bg-60: #ffc8bc;
    --second-section-header-bg-70: #ffc8b4;
    --second-section-header-bg-75: #ffbca0;
    --second-section-header-bg-85: #ffb08c;
    --second-section-header-bg-100: #ffa678;
}

html:has(#theme-toggle:checked) {
    --bg-color: #16052D;
    --text-color: #C8C6D9;
    --header-bg-0: #6a04a3;
    --header-bg-25: #51067b;
    --header-bg-40: #380554;
    --header-bg-60: #4B07A5;
    --header-bg-75: #3B0A7D;
    --header-bg-100: #290855;
    --main-block-bg: #380554;
    --section-header-bg: #3B0A7D;
    --sub-block-head: #4B07A5;
    --section-content-bg: #380554;
    --text-hover-color: #6a04a3; 
    --footer-bg: #51067b;
    --icon-color: #C8C6D9;
    --nav-list-hover-color: #6a04a3;
    --second-section-header-bg-0: #6a04a3;
    --second-section-header-bg-15: #6204aa; 
    --second-section-header-bg-30: #5a04a0;
    --second-section-header-bg-40: #420482; 
    --second-section-header-bg-50: #320469;
    --second-section-header-bg-60: #420482;
    --second-section-header-bg-70: #4a048c;
    --second-section-header-bg-75: #520496;
    --second-section-header-bg-85: #5a04a0;
    --second-section-header-bg-100: #7705bf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}


.theme-label i::before {
    content: "\f186";  
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 30px;
    
}

#theme-toggle:checked ~ .theme-label i::before {
    content: "\f185";  
}

.theme-switch {
    position: relative;
    margin: 0px;
}

#theme-toggle {
    opacity: 0;  
    position: absolute;  
    width: 0;
    height: 0;
}

.theme-label {
    cursor: pointer;
    padding: 0px;
    display: inline-block;
}

.theme-label i {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: transform 0.3s ease;
}


.theme-label:hover i {
    transform: rotate(15deg);
}


#theme-toggle:checked + .theme-label i {
    transform: rotate(360deg);
}

body {
    background-color: var(--bg-color);
    background-size: cover;
    background-attachment: fixed;
    font-family: "Gentium Book Plus", serif;
    font-weight: 400;
    font-style: italic;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    margin: 0px auto 0 auto;
    border-radius: 10px 10px 0 0;
    width: 100%;
    max-width: 1350px;
}

p {
    color:var(--text-color);
}

header {
    position: sticky;
    top: 0;
    height: 45px;
    background-size: cover;
    padding: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 10px 10px;    
    z-index: 1000;
    background: linear-gradient(
        to right,
        var(--header-bg-0) 0%,    
        var(--header-bg-25) 25%,   
        var(--header-bg-40) 40%,   
        var(--header-bg-60) 60%,   
        var(--header-bg-75) 75%,   
        var(--header-bg-100) 100% 
    );
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-left h1 {
    margin: 0;
    color: var(--text-color);
}

.dash-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.header-right {
    margin-left: auto;
    font-size: 18px;
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
    color: var(--text-color);
}

.nav-list a {
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--nav-list-hover-color);
}

.header-main ul li a {
    text-decoration: none;
    color: inherit;
}

.main-block {
    margin: -10px 0px 0px 0px;
    background-color: var(--main-block-bg);
}

.about-me {
    min-height: 300px;
    height: auto;
    padding-left: 30px;
    border-radius: 10px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-me p {
    max-width: 900px;
    width: 100%;
    margin: 0;
    font-size: 20px;
    word-wrap: break-word;
}

.second-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: var(--section-content-bg);
    border-radius: 10px;
}

.second-section-header {
    margin: 0px 0px 0px 0px;
    padding: 0;
    font-size: 30px;
    text-align: center;
    color: var(--text-color);
}

#ssh1, #ssh3 {
    background: linear-gradient(
        to right,
        var(--second-section-header-bg-0) 0%,    
        var(--second-section-header-bg-15) 15%,   
        var(--second-section-header-bg-30) 30%,   
        var(--second-section-header-bg-40) 40%,   
        var(--second-section-header-bg-50) 50%,   
        var(--second-section-header-bg-60) 60%,   
        var(--second-section-header-bg-70) 70%,   
        var(--second-section-header-bg-75) 75%,   
        var(--second-section-header-bg-85) 85%,   
        var(--second-section-header-bg-100) 100%   
    );
}

#ssh2, #ssh4 {
    background: linear-gradient(
        to left,
        var(--second-section-header-bg-0) 0%,    
        var(--second-section-header-bg-15) 15%,   
        var(--second-section-header-bg-30) 30%,   
        var(--second-section-header-bg-40) 40%,   
        var(--second-section-header-bg-50) 50%,   
        var(--second-section-header-bg-60) 60%,   
        var(--second-section-header-bg-70) 70%,   
        var(--second-section-header-bg-75) 75%,   
        var(--second-section-header-bg-85) 85%,   
        var(--second-section-header-bg-100) 100%   
    );
}

.second-section-list {
    padding-left: 20px;
    list-style: "—";
    font-size: 19px;
    margin: 0;
    font-weight: 1600;
    color: var(--text-color);
}

.ssl-sum {
    font-size: 22px;
    color: var(--text-color);
    cursor: pointer;
    margin-bottom: 0px;
    font-weight: 400;
}

.sum-p {
    font-size: 19px;
    color: var(--text-color);
    margin-top: 0px;
    font-weight: 400;
}

.ssl-p {
    font-size: 19px;
    color: var(--text-color);
    margin-top: 0px;
    font-weight: 400;
}

footer {    
    margin-top: auto;
    background-size: cover;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--footer-bg);
    height: auto;
    min-height: 50px;    
}

.footer-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    color: var(--icon-color);
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ccc;
}

.social-icon .fa-donationalerts:hover {
    color: #ff7300;
}

.social-icon .fa-globe:hover {
    color: #fa902c;
}

.social-icon .fa-discord:hover {
    color: #4b7ff0;
}
.social-icon .fa-tiktok:hover {
    color: #180255;
}
.social-icon .fa-pinterest:hover {
    color: #ff1717;
}
.social-icon .fa-vk:hover {
    color: #4C75A3;
}

.social-icon .fa-telegram:hover {
    color: #0088cc;
}

.social-icon .fa-youtube:hover {
    color: #ff2449;
}

.social-icon .fa-x:hover {
    color: #000000;
}

.social-icon .fa-steam:hover {
    color: #233caa;
}

.social-icon .fa-twitch:hover {
    color: #9146FF;
}

@media screen and (max-width: 590px) {
    .header-left h1 {
        font-size: 22px;
        gap: 0px;
        line-height: 1;
    }
}

@media screen and (min-width: 851px) and (max-width: 1024px) {    
    .nav-emoji {
        display: none;
    }
}

@media screen and (max-width: 850px) {
    .nav-text {
        display: none;
    }

    .nav-emoji {
        font-style: normal;
    }
}

@media screen and (min-width: 1025px) {
    .nav-text,
    .nav-emoji {
        display: inline-block;
    }
}

@media screen and (max-width: 970px) {
    .second-section {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 630px) {
    footer {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
        padding: 15px;
    }

    .footer-right {
        width: 100%;
        justify-content: center;
    }

    .footer-left {
        width: 100%; 
    }
}