:root {
    --gray-dark-mode: #555; 
    --white-mode-gray: #ccc;
}

@font-face {
    font-family: LexendDeca;
    src: url(fonts/LexendDeca-SemiBold.ttf);
}

body {
    font-family: LexendDeca;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    transition: background-color 0.5s, color 0.5s;
}
body.dark-mode {
    background-color: #333;
    color: #f4f4f4;
}
header {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
    position: relative;
}
.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 80px;
}
.section {
    padding: 2em 0;
    border-bottom: 1px solid var(--white-mode-gray);
    text-align: center;
    align-items: center;
}
#home {
    border-top: 1px solid var(--white-mode-gray);
}
body.dark-mode .section {
    border-bottom-color: var(--gray-dark-mode);
}
body.dark-mode #home {
    border-top-color: var(--gray-dark-mode);
}
.section h2 {
    text-align: center;
    margin-bottom: 1em;
}
h1 {
    font-size: 3em;
    margin: 0 auto;
}
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}
.dark-mode-footer {
    background-color: #fff;
    color: #000;
}

@media (min-width: 2560px) {
    h1 {
        font-size: 4.5em;
    }
    .container {
        width: 60%;
    }
    .section h2 {
        font-size: 2.5em;
    }
    .section p {
        font-size: 1.5em;
    }
    .language-switch button{
        font-size: 1.5em;
        padding: 12px 18px;
    }
    footer {
        font-size: 1.25em;
    }
    .theme-switch label {
        width: 70px;
        height: 35px;
    }
    .theme-switch label:after {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    h1 {
        font-size: 2em;
    }
    .language-switch {
        flex-direction: column;
        gap: 10px;
    }
}
.theme-switch {
    position: fixed;
    top: 10px;
    right: 10px;
}
.theme-switch input {
    display: none;
}
.theme-switch label {
    cursor: pointer;
    text-indent: -9999px;
    width: 52px;
    height: 27px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}
.theme-switch label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 23px;
    height: 23px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}
.theme-switch input:checked + label {
    background: #bada55;
}
.theme-switch input:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

label:active:after {
    width: 45px;
}
a {
    color: #007aff;
}
body.dark-mode a {
    color: #3b78e7;
}

.separator {
    border: none;
    height: 0.5px;
    background-color: #ffffff;
    margin: 20px 0;
}

h3{
    text-align: center;
    align-items: center;
}

#contact-info{
    margin-top: 2.5px;
}

.contact-info{
    margin-bottom: 2.5px;
}

.language-switch {
    display: flex;
    gap: 5px;
    position: relative;
    top: 5px;
    justify-content: center;
}

.language-switch button {
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.language-switch button:hover {
    background-color: #005bb5;
}

.language-switch .active-lang {
    background-color: #005bb5;
}
