body, html {
    background-color: black;
    margin: 0;
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: white;
}

h1, h2, h3 {
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    color: red;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.btn {
    margin: 0;
    text-align: center;
    padding: 10px 50px;
    background-color: red;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: white;
    color: red;
}

.btn-header {
    margin: 0;
    text-align: center;
    padding: 1px 50px;
    background-color: red;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-header:hover {
    background-color: white;
    color: red;
}

.nav-menu ul {
    display: flex;
    gap: 10px;
    list-style-type: none;
    padding: 5px;
    margin: 0;
}

.nav-menu li {
    text-align: center;
    padding: 5px 0px;
}

.nav-menu ul li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.nav-menu ul li a:hover {
    border-bottom: 2px red solid;
    color: red;
}

.header-icons {
    display: flex;
    gap: 10px;
}

.insta-icon {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
}
  
.insta-icon .icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.insta-icon:hover .icon-blue {
    opacity: 1;
}

.insta-icon:hover .icon-white {
    opacity: 0;
}

.viber-icon {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
}
  
.viber-icon .icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.viber-icon:hover .icon-blue {
    opacity: 1;
}

.viber-icon:hover .icon-white {
    opacity: 0;
}

.telegram-icon {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
}
  
.telegram-icon .icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}
  
.icon-blue {
    opacity: 0;
}

.icon-green {
    opacity: 0;
}

.telegram-icon:hover .icon-blue {
    opacity: 1;
}

.telegram-icon:hover .icon-white {
    opacity: 0;
}

.whatsup-icon {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
}
  
.whatsup-icon .icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.whatsup-icon:hover .icon-green {
    opacity: 1;
}

.phone-icon {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
}
  
.phone-icon .icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.phone-icon:hover .icon-blue {
    opacity: 1;
}

.phone-icon:hover .icon-white {
    opacity: 0;
}

/* Бургер кнопка */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10;
}
  
.burger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.close-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 30;
}

.btn-red {
    display: inline-block;
    background-color: red;
    color: white;
    padding: 10px 70px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
    transition: 0.3s;
}
  
.btn-red:hover {
    background-color: white;
    color: red;
}

/* Hero Block */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px;
}

.hero h1 {
    font-size: 32px;
}

.hero p {
    font-size: 21px;
    width: 900px;
    padding: 20px;
}

/* Info Block */

.info-one {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    border: 1px white solid;
}

.text-info {
    padding: 100px;
}

.text-info h2 {
    font-size: 28px;
    padding: 25px 0px;
}

.info-one p {
    font-size: 16px;
    text-align: left;
    width: 400px;
}

.info-one img {
    height: 700px;
    border: 1px white solid;
}

.info-two {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    border: 1px white solid;
}

.info-two p {
    font-size: 16px;
    text-align: left;
    width: 400px;
}

.info-two img {
    height: 700px;
    width: 645px;
    border: 1px white solid;
}

.info-study {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-study h2 {
    margin: 30px;
    font-size: 48px;
}

.info-study p {
    font-size: 21px;
    text-align: left;
}


/* Road Map Curse */

.road {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(25,25,30);
    text-align: center;
}

.road h2 {
    font-size: 32px;
    margin: 20px;
}

.road p {
    font-size: 18px;
    width: 1000px;
    margin: 0;
}

.curse {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    background-color: rgb(25,25,30);
}

.curse h2 {
    font-size: 48px;
    margin: 30px 0px;
}

.baza {
    display: flex;
    gap: 100px;
}

.baza p {
    font-size: 21px;
}

.baza li {
    font-size: 18px;
}

.zagolovok {
    text-align: center;
}

.medium {
    display: flex;
    gap: 100px;
}

.medium p {
    font-size: 21px;
}

.medium li {
    font-size: 18px;
}

.high {
    display: flex;
    gap: 100px;
}

.high p {
    font-size: 21px;
}

.high li {
    font-size: 18px;
}

.curse h3 {
    margin-top: 20px;
    font-size: 32px;
}

.text-curse {
    text-align: center;
    font-size: 21px;
    width: 900px;
}


/* Footer */

.footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

/* Adaptive */

@media (max-width: 1024px) {
    .header {
        flex-wrap: wrap;
    }

    .btn-header {
        display: none;
    }

    .logo {
        width: 50px;
    }

    .burger {
        display: flex;
    }

    .close-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #111;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 15;
    }

    .nav-menu.active {
        align-items: center;
        transform: translateY(0);
    }

    .nav-menu ul li a {
        font-size: 32px;
    }

    .nav-menu ul {
        gap: 60px;
    }

    .nav__list {
        list-style: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .hero {
        padding: 25px;
    }

    .hero h1 {
        font-size: 21px;
    }

    .hero p {
        font-size: 16px;
        padding: 0;
        width: 90%;
    }

    .info-one {
        flex-direction: column;
    }

    .info-one img {
        width: 100%;
        height: 400px;
    }

    .info-one p {
        width: 90%;
    }

    .info-two {
        flex-direction: column;
    }

    .info-two img {
        width: 100%;
        height: 400px;
    }

    .info-two p {
        width: 90%;
    }

    .text-info {
        padding: 0;
    }


    .road p {
        width: 90%;
    }

    .zag {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-red {
        padding: 1px 35px;
    }

    .info-curse-text {
        padding: 20px;
    }

    .baza {
        flex-direction: column;
        gap: 10px;
        border: 1px white solid;
    }

    .medium {
        flex-direction: column;
        gap: 10px;
        border: 1px white solid;
    }

    .high {
        flex-direction: column;
        gap: 10px;
        border: 1px white solid;
    }

    .curse h2 {
        font-size: 32px;
    }

    .curse h3 {
        font-size: 24px;
    }

    .text-curse {
        width: 90%;
        font-size: 18px;
    }
}

