:root {
    --main-color: #4DA2E8;
}

html {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background:
        radial-gradient(circle at right bottom, rgba(77, 162, 232, 1), rgba(77, 162, 232, 0) 28%),
        radial-gradient(circle at left, rgba(77, 162, 232, 1), rgba(77, 162, 232, 0) 28%),
        radial-gradient(circle at right top, rgba(77, 162, 232, 1), rgba(77, 162, 232, 0) 28%),
        #1D1E1B;
    background-size: 100% 2100px;
    background-repeat: repeat-y;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Days', sans-serif;
    margin: 0;
    padding-bottom: 40px;
    color: white;
    gap: 80px;
    padding-top: 100px;
}

.logo {
    display: flex;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at center, rgba(77, 162, 232, 1), rgba(77, 162, 232, 0) 50%);
    border-radius: 100%;
    justify-content: center;
    align-items: center;
}

a {
  text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    height: 60px;
    width: 100%;
    padding: 0 15px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

nav ul li:hover {
    color: #f4a261;
}

section {
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

.animated-numbers {
    font-size: 2em;
}

footer {
    text-align: center;
    background: black;
    width: 100%;
}

#footer_title:hover {
    color: var(--main-color);
}

#footer_text {
    display: none;
    position: fixed;
    top: 0;
    padding: 0 2%;
    background-color: black;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    width: 96%;
    z-index: 3002;
    text-align: left;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

#footer_text h1 {
    font-size: 30px;
}

#footer_text img {
    width: 40px;
    position: absolute;
    right: 2%;
}

#footer_text_img:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

button {
    outline: none;
    border: none;
    border-radius: 20px;
    background-color: var(--main-color);
    color: white;
    padding: 2px 12px 6px 12px;
    font-size: 28px;
    font-family: 'Days', sans-serif;
}

button:hover {
    background-color: #027de3;
}

h1 {
    margin: 0;
    font-size: 62px;
    font-weight: 700;
}

h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: normal;
}

.attention {
    color: var(--main-color);
    text-shadow:
        -2px -2px 0 #1D1E1B,
         2px -2px 0 #1D1E1B,
        -2px  2px 0 #1D1E1B,
         2px  2px 0 #1D1E1B,
        -2px  0px 0 #1D1E1B,
         2px  0px 0 #1D1E1B,
         0px -2px 0 #1D1E1B,
         0px  2px 0 #1D1E1B;
}

#header {
    display: flex;
    justify-content: center;
    background: black;
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    margin: 0;
    max-width: none;
    font-size: 14px;
    z-index: 2000;
}

#header nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 15px;
    justify-content: space-between;
}

ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

ul li a:hover {
    color: var(--main-color);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    border: 2px solid var(--main-color);
    border-radius: 10px;
    padding: 15px;
    z-index: 1000;
    text-align: center;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content .modal p {
    color: #fff;
    font-size: 12px;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.dropdown-content .modal h3 {
    color: var(--main-color);
    font-size: 20px;
    margin: 0 0 10px;
}

.dropdown-content .modal ul {
    display: flex;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.dropdown-content .modal ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 5px 0;
    color: #fff;
    font-size: 14px;
}

.dropdown-content .modal ul li img {
    width: 20px;
    height: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-right: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-right: 15px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    position: relative;
    transition: background 0.3s;
    left: 0;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    height: 3px;
    background: white;
    transition: transform 0.3s, width 0.3s;
    left: 0;
}

.hamburger::before {
    width: 30px;
    top: -10px;
}

.hamburger::after {
    width: 18px;
    top: 10px;
}

.hamburger.active {
    background: transparent;
    height: 0;
}

.hamburger.active::before {
    transform: rotate(45deg);
    top: 0;
    width: 30px;
}

.hamburger.active::after {
    transform: rotate(-45deg);
    top: 0;
    width: 30px;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

@media (max-width: 1220px) {
    body {
        gap: 40px;
        padding-bottom: 2.5vw;
    }

    section {
        width: 95%;
    }

    #header nav {
        padding: 0 2.5vw;
        height: auto;
        justify-content: space-between;
    }

    nav ul {
        gap: 20px;
    }

    ul li a {
        font-size: 14px;
    }

    .nav-contact {
        width: 210px;
        gap: 10px;
    }

    .nav-contact p {
        font-size: 14px;
    }

    .nav-contact img {
        width: 24px;
    }

    .dropdown-content {
        width: 180px;
    }
}

@media (max-width: 1120px) {
    .menu-toggle {
        display: block;
        width: 35px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -70%;
        width: 70%;
        max-width: 300px;
        height: 100%;
        background: #222;
        padding: 70px 20px 20px;
        z-index: 1000;
        transition: right 0.3s ease-in-out;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-contact {
        width: 210px;
        gap: 8px;
    }

    .nav-contact p {
        font-size: 13px;
    }

    .nav-contact img {
        width: 22px;
    }

    .dropdown-content {
        position: static;
        transform: none;
        width: 100%;
        background-color: #444;
        border: 1px solid var(--main-color);
        margin-top: 10px;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}

@media (max-width: 700px) {
    .nav-contact {
        width: 210px;
        gap: 6px;
    }

    .nav-contact p {
        font-size: 12px;
    }

    .nav-contact img {
        width: 20px;
    }

    .nav-menu {
        width: 75%;
        max-width: 280px;
    }

    .dropdown-content {
        width: 100%;
    }
}

@media (max-width: 600px) {
    header {
        padding: 1em;
    }

    header h1 {
        font-size: 1.5em;
    }

    h1 {
        font-size: 10vw;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .nav-contact {
        width: 210px;
        gap: 5px;
    }

    .nav-menu {
        width: 80%;
        max-width: 260px;
        padding: 60px 15px 20px;
    }

    section {
        margin: 0;
    }

    button {
        font-size: 20px;
        padding: 2px 8px 4px 8px;
    }

    .animated-numbers {
        font-size: 1.5em;
    }

    .dropdown-content {
        width: 100%;
    }

    .dropdown-content .modal h3 {
        font-size: 18px;
    }

    .dropdown-content .modal ul li {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .nav-contact {
        width: 210px;
        gap: 4px;
    }

    .nav-contact p {
        font-size: 11px;
    }

    .nav-contact img {
        width: 18px;
    }

    .nav-menu {
        width: 85%;
        max-width: 240px;
    }

    .dropdown-content {
        width: 100%;
    }

    .dropdown-content .modal h3 {
        font-size: 16px;
    }

    .dropdown-content .modal ul li {
        font-size: 12px;
    }

    .dropdown-content .modal ul li img {
        width: 16px;
        height: 16px;
    }
}