@import url("./fonts.css");

:root {
    --text-color: rgba(233, 233, 233, 1);
    --dirty-white: rgba(188, 188, 188, 1);
    --background-color: rgba(0, 0, 0, 1);
    --btn-consult: rgba(118, 27, 228, 1);
    --background-motivation: rgba(255, 255, 255, 0.2);
    --all-professions-gold: rgba(255, 217, 0, 0.2);
    --all-professions-green: rgba(0, 215, 82, 0.2);
    --all-professions-violet: rgba(118, 27, 228, 0.2);
    --footer-text: rgba(177, 177, 177, 1);
    --header-border-text: rgba(255, 255, 255, 0.4);
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    font-family: "Roboto";
}
body {
    min-height: 100vh;
    background: var(--background-color);
    background-blend-mode: normal;
}
.container {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    padding: 13.5px 20px;
    overflow-x: hidden;

    background:
        /* ===== GRADIENT INTRO */
        radial-gradient(circle at 65% 7%, rgba(204, 0, 255, 0.3) 0%, transparent 10%),
        radial-gradient(circle at 25% 17%, rgba(255, 217, 0, 0.3) 0%, transparent 15%),
        radial-gradient(circle at 70% 30%, rgba(0, 215, 82, 0.3) 0%, transparent 15%),
        /* ===== GRADIENT AREA */
        radial-gradient(circle at 40% 51%, rgba(255, 217, 0, 0.1) 0%, transparent 15%),
        radial-gradient(circle at 65% 53%, rgba(0, 215, 82, 0.05) 0%, transparent 10%),
        /* ===== GRADIENT CHIOCE-AREA */
        radial-gradient(circle at 80% 75%, rgba(0, 215, 82, 0.2) 0%, transparent 15%),
        /* ===== MAIN BACKGROUND ===== */ var(--background-color);
    background-blend-mode: normal;
}
header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    width: 100%;
}
.header-text {
    padding-left: 16px;
    font-family: "Roboto";
    font-size: 14px;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    border-right: 1px solid var(--header-border-text);
}

.logo {
    width: 45px;
    height: 32px;
    background-image: url("../img/logo-Lad-academy.svg");
    background-size: cover;
    background-position: center;
    margin-right: 16px;
}
.nav {
    display: none;
    list-style-type: none;
}
.nav_hidden {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    padding: 20px;
    background-color: black;
}
.burger_close {
    margin-left: auto;
}
.menu_li {
    padding-left: 22px;
}
a {
    text-decoration: none;
    color: var(--text-color);
}
.btn-consult {
    width: 173px;
    height: 30px;
    padding: 7px 6px;
    background-color: var(--btn-consult);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Roboto";
    color: var(--text-color);
    cursor: pointer;
}
.intro__main-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.intro__title,
.area__title,
.choice-area__title {
    font-family: "PressStart2P";
    font-size: 24px;
    text-transform: uppercase;
    line-height: 150%;
}

.intro__description {
    margin-top: 16px;
    color: var(--dirty-white);
}
.intro__side-image {
    max-width: 288px;
    margin-top: 16px;
}
.intro__technologies {
    display: none;
}
.intro__motivation {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.intro__motivation_p {
    padding: 20px;
    border: 1px solid white;
    border-radius: 18px;
    background-color: var(--background-motivation);
}
.area__roadmap {
    margin: 0 auto;
    width: 328px;
    height: 456px;
    background-image: url(../img/road-mobile.svg);
    background-size: cover;
    background-position: 60%;
}
.choice-area__list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}
.choice-area__item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.choice-area__link {
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 100px;
    border: 1px solid;
    border-radius: 18px;
    font-size: 14px;
}
.choice-area__arrow {
    width: 24px;
    height: 24px;
    background-image: url("../img/arrow-small.svg");
}
.choice-area__hover-violet:hover {
    background-color: var(--all-professions-violet);
}
.choice-area__hover-green:hover {
    background-color: var(--all-professions-green);
}
.choice-area__hover-gold:hover {
    background-color: var(--all-professions-gold);
}

/* ===== FOOOTER ===== */
.footer {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
.footer__icons {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.footer__requisites {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.footer__contacts {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}
.footer__requisites_tel {
    text-decoration: underline;
}
.footer__requisites_p {
    font-family: "Roboto";
    color: var(--footer-text);
}

@media (min-width: 768px) {
    .container {
        padding: 24px 24px 54px 24px;

        background:
            /* ===== GRADIENT INTRO */
            radial-gradient(circle at 65% 20%, rgba(204, 0, 255, 0.3) 0%, transparent 20%),
            radial-gradient(circle at 5% 20%, rgba(255, 217, 0, 0.3) 0%, transparent 20%),
            radial-gradient(circle at 55% 30%, rgba(0, 215, 82, 0.2) 0%, transparent 15%),
            /* ===== GRADIENT AREA */
                radial-gradient(circle at 25% 53%, rgba(255, 217, 0, 0.2) 0%, transparent 20%),
            radial-gradient(circle at 55% 57%, rgba(0, 215, 82, 0.2) 0%, transparent 15%),
            radial-gradient(circle at 60% 55%, rgba(204, 0, 255, 0.2) 0%, transparent 20%),
            /* ===== GRADIENT CHIOCE-AREA left*/
                radial-gradient(circle at 25% 73%, rgba(204, 0, 255, 0.25) 0%, transparent 15%),
            radial-gradient(circle at 25% 77%, rgba(0, 215, 82, 0.3) 0%, transparent 15%),
            radial-gradient(circle at 25% 85%, rgba(255, 217, 0, 0.2) 0%, transparent 10%),
            /* ===== GRADIENT CHIOCE-AREA right*/
                radial-gradient(circle at 70% 73%, rgba(204, 0, 255, 0.25) 0%, transparent 15%),
            radial-gradient(circle at 70% 77%, rgba(0, 215, 82, 0.3) 0%, transparent 15%),
            radial-gradient(circle at 70% 85%, rgba(255, 217, 0, 0.2) 0%, transparent 10%),
            /* ===== MAIN BACKGROUND ===== */ var(--background-color);
        background-blend-mode: normal;
    }
    .logo {
        margin-right: 20px;
        width: 91px;
        height: 64px;
    }
    .header-text {
        padding-left: 20px;
        font-size: 16px;
    }
    .btn-consult {
        width: 318px;
        height: 60px;
        font-size: 24px;
        border-radius: 8px;
    }
    .nav_hidden {
        z-index: 10;
        width: 400px;
        padding: 44px 24px 24px 24px;
        row-gap: 48px;
        font-size: 24px;
    }
    .intro__title {
        font-size: 42px;
    }
    .intro__description {
        font-size: 24px;
    }
    .intro__side-image {
        max-width: 720px;
        max-height: 300px;
        margin-top: 16px;
    }
    .intro__technologies {
        display: block;
        margin-top: 77px;
        width: 100%;
        max-width: 768px;
    }
    .intro__technologies_up {
        display: flex;
        justify-content: space-between;
    }
    .intro__technologies_down {
        display: flex;
        justify-content: space-between;
    }
    .intro__technology {
        padding: 10px;
        width: fit-content;
        height: 39px;
        border: 1px solid;
        border-radius: 36px;
        font-size: 16px;
        white-space: nowrap;
    }
    .area__title,
    .choice-area__title {
        text-align: center;
    }
    .area__roadmap {
        width: 727px;
        height: 474px;
        background-image: url(../img/road-tablet.svg);
    }
    .technology__wp {
        margin-left: 64px;
    }
    .technology__fw {
        transform: translate(-45px, -15px) rotate(24deg);
    }
    .technology__render {
        transform: translate(-30px, -10px) rotate(-27deg);
    }
    .technology__basics {
        transform: translate(-63px, -17px) rotate(13deg);
    }
    .technology__proc {
        display: none;
    }
    .technology__react {
        transform: translate(-50px, 7px) rotate(27deg);
    }
    .technology__git {
        display: none;
    }
    .technology__html {
        margin-right: 11px;
    }
    .intro__motivation {
        row-gap: 16px;
    }
    .intro__motivation_p {
        border-radius: 28px;
    }
    .choice-area__list {
        grid-template-columns: repeat(2, 1fr);
    }
    .choice-area__link {
        padding: 19.5px 28px;
        min-height: 170px;
        font-size: 20px;
    }
    .choice-area__arrow {
        width: 16px;
        height: 16px;
        background-image: url("../img/arrow-big.svg");
        background-repeat: no-repeat;
    }
    /* ===== FOOOTER ===== */
    .footer__icons {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .footer__logo {
        width: 126px;
        height: 88px;
    }
    .footer__socialnets {
        display: flex;
        column-gap: 32px;
    }
    .footer__socialnets_icon {
        width: 48px;
        height: 48px;
    }
    .footer__requisites {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .footer__details {
        text-align: right;
    }
}

@media (min-width: 1024px) {
    .container {
        margin: 0 auto;
        width: 1920;
        max-width: 1920px;
        padding: 30px 58px;
        row-gap: 100px;

        background:
            /* ===== GRADIENT INTRO */
            radial-gradient(circle at 20% 13%, rgba(204, 0, 255, 0.3) 0%, transparent 10%),
            radial-gradient(circle at 40% 15%, rgba(204, 0, 255, 0.3) 0%, transparent 10%),
            radial-gradient(circle at 50% 10%, rgba(204, 0, 255, 0.15) 0%, transparent 10%),
            radial-gradient(circle at 60% 18%, rgba(0, 229, 255, 0.25) 0%, transparent 10%),
            radial-gradient(circle at 75% 16%, rgba(0, 229, 255, 0.2) 0%, transparent 10%),
            /* ===== GRADIENT AREA */
                radial-gradient(circle at 25% 45%, rgba(255, 217, 0, 0.2) 0%, transparent 20%),
            radial-gradient(circle at 27% 42%, rgba(204, 0, 255, 0.2) 0%, transparent 20%),
            radial-gradient(circle at 37% 42%, rgba(204, 0, 255, 0.2) 0%, transparent 20%),
            radial-gradient(circle at 49% 42%, rgba(204, 0, 255, 0.2) 0%, transparent 15%),
            radial-gradient(circle at 60% 40%, rgba(204, 0, 255, 0.2) 0%, transparent 10%),
            radial-gradient(circle at 50% 50%, rgba(0, 215, 82, 0.2) 0%, transparent 20%),
            radial-gradient(circle at 65% 47%, rgba(0, 215, 82, 0.2) 0%, transparent 20%),
            radial-gradient(circle at 80% 45%, rgba(0, 215, 82, 0.2) 0%, transparent 15%),
            /* ===== GRADIENT CHIOCE-AREA left*/
                radial-gradient(circle at 12% 70%, rgba(204, 0, 255, 0.25) 0%, transparent 7%),
            radial-gradient(circle at 12% 77%, rgba(0, 215, 82, 0.25) 0%, transparent 7%),
            radial-gradient(circle at 12% 85%, rgba(255, 217, 0, 0.25) 0%, transparent 7%),
            /* ===== GRADIENT CHIOCE-AREA right*/
                radial-gradient(circle at 60% 70%, rgba(204, 0, 255, 0.25) 0%, transparent 7%),
            radial-gradient(circle at 60% 77%, rgba(0, 215, 82, 0.25) 0%, transparent 7%),
            radial-gradient(circle at 60% 85%, rgba(255, 217, 0, 0.25) 0%, transparent 7%),
            /* ===== MAIN BACKGROUND ===== */ var(--background-color);
        background-blend-mode: normal;
    }
    .nav {
        display: flex;
        column-gap: 24px;
        font-size: 24px;
        font-family: "Roboto";
    }
    .logo {
        margin-right: 36px;
        width: 114px;
        height: 80px;
    }
    .header-text {
        padding-left: 36px;
        font-size: 24px;
    }
    .burger {
        display: none;
    }
    .burger_close {
        display: none;
    }
    .intro__main-info {
        flex-direction: row;
        align-items: start;
        row-gap: 10px;
    }
    .intro__title {
        font-size: 72px;
        max-width: 15ch;
    }
    .intro__description {
        font-size: 42px;
    }
    .intro__side-image {
        max-width: 748px;
        max-height: 374px;
        transform: translate(50px);
    }
    .intro__technologies {
        margin-top: 137px;
        max-width: 1200px;
    }
    .intro__technology {
        padding: 20px;
        font-size: 32px;
        height: 79px;
    }
    /* technologies__up */
    .technology__wp {
        margin-left: 141px;
    }
    .technology__fw {
        transform: translate(-40px, -35px) rotate(24deg);
    }
    .technology__render {
        transform: translate(-53px, -30px) rotate(-28deg);
    }
    .technology__basics {
        transform: translate(-65px, -36px) rotate(13deg);
    }
    .technology__git {
        display: block;
    }
    .technology__proc {
        display: block;
        transform: translate(40px, 5px) rotate(-14deg);
    }
    .technology__react {
        transform: translate(35px, 17px) rotate(27deg);
    }
    /* technologies__down */
    .technology__js {
        margin-right: 45px;
    }
    .technology__ts {
        margin-right: 41px;
    }
    .technology__ws {
        margin-right: 71px;
    }
    .technology__css {
        margin-right: 45px;
    }
    .technology__type {
        margin-right: 45px;
    }
    .technology__git {
        margin-right: 70px;
    }
    .technology__ang {
        margin-right: 51px;
    }
    .technology__html {
        margin-right: 10px;
    }
    .intro__motivation {
        margin-top: 100px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 24px;
    }

    .intro__motivation_p {
        padding: 48px;
        border-radius: 18px;
        font-size: 30px;
    }
    .area__title,
    .choice-area__title {
        font-size: 42px;
        text-align: left;
    }
    .choice-area__list {
        margin-top: 54px;
        gap: 24px;
    }
    .choice-area__link {
        min-height: 274px;
        border-radius: 28px;
        font-size: 42px;
        padding: 28px 40px;
    }
    .choice-area__item {
        gap: 10px;
    }
    .choice-area__arrow {
        width: 22px;
        height: 12px;
    }
    .area__roadmap {
        margin-top: 54px;
        width: 1920px;
        height: 830px;
        background-image: url("../img/roadmap_frontend.svg");
        background-position: 450%;
    }

    /* ===== FOOTER ===== */
    .footer {
        font-size: 24px;
    }
    .footer__logo {
        width: 200px;
        height: 140px;
    }
    .footer__requisites {
        flex-direction: row-reverse;
        transform: translate(0, -68px);
    }
    .footer__requisites_tel {
        pointer-events: none;
    }
    .footer__contacts {
        flex-direction: row;
        column-gap: 32px;
        transform: translate(0, 40px);
    }
    .footer__details {
        text-align: left;
    }
    .footer__lad_address {
        transform: translate(232px, -52px);
    }
    .footer__license {
        transform: translate(0, 15px);
    }
}
