@import 'common.css';



/* _____________________ Header _____________________ */
.header .container {
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* logo */
.logo {
    display: flex;
    align-items: center;
}
.logo_img {
    width: 37px;
    height: 41px;
    background-color: #ccff00;
    border-radius: 12px 10px 50px 10px;
}
.logo_text {
    color: #252525;
    margin-left: -23px;
    font-size: 20px;
}

/* menu */
.menu_items {
    display: flex;
}
.menu_item {
    margin-left: 15px;
    margin-right: 15px;
}
.menu_item_link {
    color: #252525;
}

/* header right */
.header_right .button {
    padding: 12px 30px;
}




/* _____________________ Banner _____________________ */
.banner {
    text-align: center;
}
.banner .indent {
    padding-top: 120px;
}
.banner_description {
    margin: 25px auto 45px;
    max-width: 900px;
}
.banner_heading {
    position: relative;
}
.banner_star_1,
.banner_star_2 {
    position: absolute;
}
.banner_star_1 {
    width: 70px;
    top: -20px;
    right: 30px;
}
.banner_star_2 {
    width: 55px;
    top: -45px;
    right: 100px;
}



/* _____________________ Teams _____________________ */
.teams_description {
    text-align: center;
}
.teams .row {
    align-items: center;
}
.teams .heading {
    margin-bottom: 45px;
}
.teams_items {
    display: flex;
}
.teams_item {
    height: 420px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    flex: 0 1 15%;
    min-width: 15%;
    transition: 1s;
}
.teams_item:first-child {
    flex-grow: 1;
}
.teams_item:hover {
    flex: 1 1 55%;
}
.teams_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teams_item_heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: absolute;
    z-index: 1;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: rgba(255,255,255, 0.1);
    letter-spacing: 2px;
    font-weight: 400;
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    transition-duration: 1s;
    border-top: 2px solid rgba(255,255,255, 0.2);
    border-left: 2px solid rgba(255,255,255, 0.2);
}
.teams_item_heading span {
    letter-spacing: 0;
}





/* _____________________ Prices _____________________ */
.prices .col-3 {
    text-align: center;
    border: 2px solid rgba(0,0,0, 0.05);
    padding: 25px;
    border-radius: 35px;
}
.prices .col-3 h3 {
    font-size: 25px;
    letter-spacing: 2px;
}
.price {
    margin-bottom: 15px;
    font-size: 50px;
    font-family: 'Enthalpy';
}

.price_info {
    margin-bottom: 25px;
}
.price_info_item {
    opacity: 0.5;
    margin-top: 5px;
    margin-bottom: 5px;
    position: relative;
}
.price_info_item.included {
    opacity: 1;
    color: #252525;
}
.price_info_item.included::before {
    content: '🗸';
    color: #252525;
    margin-right: 5px;
    font-size: 16px;
}
.prices .col-3:nth-child(2) .price_info_item.included::before {
    color: #ccff00;
}
.prices .col-3:nth-child(2) {
    background-color: #252525;
    border: 2px solid #252525;
    color: #fff;
    transform: scale(1.1);
}
.prices .col-3:nth-child(2) .price_info_item {
    color: rgba(255,255,255, 0.4);
}
.prices .col-3:nth-child(2) .price_info_item.included {
    color: #fff;
}
.prices .col-3:nth-child(2) .button:hover {
    background-color: #fff;
    color: #252525;
}


/* _____________________ Services _____________________ */
.services_item {
    border-bottom: 2px solid rgba(0,0,0, 0.05);
    padding: 30px 45px;
    display: flex;
    align-items: center;
}
.services_item:last-child {
    border-bottom: none;
}
.services_item_heading {
    flex-grow: 1;
    font-size: 45px;
    margin-right: 35px;
    line-height: 0.75;
    white-space: nowrap;
    transition: 700ms;
}
.services_item_description {
    flex-basis: 450px;
    flex-shrink: 1;
    flex-grow: 0;
}
.services_item_arrow {
    width: 59px;
    height: 59px;
    border-radius: 100%;
    border: 1px solid #ccff00;
    margin-left: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 700ms;
}
.services_item_arrow img {
    width: 50%;
}

.services_item:hover .services_item_heading {
    transform: translateX(50px) scale(1.1);
}
.services_item:hover .services_item_arrow {
    background-color: #ccff00;
}




/* _____________________ Contacts _____________________ */
.contacts .heading {
    margin-bottom: 0;
}

.contacts .row {
    align-items: center;
}

.contacts_form {
    background-color: #252525;
    border-radius: 35px;
    padding: 45px;
    color: #fff;
    position: relative;
}
.contacts_form::before,
.contacts_form::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left:0;
    bottom:0;
    border-radius: 35px;
    z-index: -1;
    transition: 1s;
}
.contacts_form::before {
    background-color: #ccff00;
    transform: translate(15px, -15px);
}
.contacts_form::after {
    background-color: #fff;
    transform: translate(7.5px, -7.5px);
}
.contacts_form_heading {
    text-align: center;
    font-size: 30px;
    letter-spacing: 3px;
    margin-bottom: 25px;
} 
.contacts_item {
    text-align: center;
}
.contacts_item_link {
    font-size: 35px;
    color: #252525;
    font-family: 'Enthalpy';
    letter-spacing: 1px;
}

.contacts_info {
    margin-top: 55px;
    text-align: center;
}

.contacts_form_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}
.contacts_form_buttons .button:hover {
    background-color: #fff;
    color: #252525;
}


/* _____________________ Footer _____________________ */
.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 45px;
    padding-bottom: 45px;
}
.footer_item {
    display: flex;
    align-items: center;
    color: #252525;
}
.footer_item span {
    margin-left: 10px;
}
.footer_social {
    display: flex;
}
.footer_item_social {
    margin-right: 50px;
}
.footer_icon {
    width: 25px;
    height: 25px;
    border: 1px solid #ccff00;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer_item:hover .footer_icon { 
    background-color: #ccff00;
}
.footer_icon img {
    width: 50%;
}
.footer_item_to_home {
    font-size: 18px;
}



@media(max-width: 1200px) {
    .container {
        width: 1024px;
    }

    .heading_h2 {
        font-size: 60px;
    }
    
    .contacts_form_buttons .button {
        padding: 18px 22px;
    }
}

@media(max-width: 1024px) {
    .container {
        width: 768px;
    }

    /* _____________________ Teams _____________________ */
    .teams .col-3,
    .teams .col-9 {
        width: calc(100% - 30px);
    }

    /* _____________________ Prices _____________________ */
    .prices .col-3 {
        width: calc(50% - 30px);
    }

    /* _____________________ Services _____________________ */
    .services_item {
        position: relative;
        flex-wrap: wrap;
    }
    .services_item_heading {
        margin-bottom: 20px;
    }
    .services_item_heading,
    .services_item_description {
        width: 100%;
    }
    .services_item_description {
        flex-basis: 100%;
        padding-right: 80px;
    }
    .services_item_arrow {
        position: absolute;
        top: 25px;
        right: 0;
    }

    /* _____________________ Contacts _____________________ */
    .contacts .heading {
        margin-bottom: 45px;
    }
    .contacts .col-4:nth-child(1) {
        width: calc(100% - 30px);
    }
    .contacts .col-4:nth-child(2),
    .contacts .col-4:nth-child(3) {
        width: calc(50% - 30px);
    }
    .contacts_form_buttons .button {
        padding: 22px 35px;
    }
}

@media(max-width: 768px) {
    .container {
        width: 576px;
    }

    .menu_items {
        display: none;
    }

    /* _____________________ Banner _____________________ */
    .banner_heading .heading_h1 {
        font-size: 55px;
    }
    .banner_star_1 {
        width: 50px;
        top: -30px;
        right: -50px;
    }
    .banner_star_2 {
        width: 30px;
        top: -35px;
        right: 10px;
    }

    /* _____________________ Teams _____________________ */
    .teams_item {
        height: 250px;
    }

    /* _____________________ Contacts _____________________ */
    .contacts .col-4:nth-child(2),
    .contacts .col-4:nth-child(3) {
        width: calc(100% - 30px);
    }

    /* _____________________ Footer _____________________ */
    .footer_item_to_home span {
        display: none;
    }
}

@media(max-width: 576px) {
    .container {
        width: 414px;
    }
    .heading {
        margin-bottom: 45px;
    }
    .heading_h2 {
        font-size: 45px;
    }
    .heading_h2 span {
        font-size: 28px;
    }
    .quotes {
        margin-bottom: 15px;
    }
    .quote {
        width: 15px;
        height: 20px;
    }

    .button,
    .contacts_form_buttons .button {
        padding: 18px 25px;
    }

    /* _____________________ Banner _____________________ */
    .banner_heading .heading_h1 {
        font-size: 45px;
    }
    .banner_star_1 {
        top: -10px;
        right: 20px;
    }
    .banner_star_2 {
        width: 30px;
        top: -35px;
        right: 70px;
    }

    /* _____________________ Teams _____________________ */
     .teams_items {
        flex-wrap: wrap;
        margin-left: -15px;
        margin-right: -15px;
     }
     .teams_item {
        flex: none;
        width: calc(50% - 30px);
        height: auto;
        margin: 15px;
    }
    .teams_item:first-child {
        flex-grow: 0;
    }
    .teams_item:hover {
        flex: none;
    }

    /* _____________________ Prices _____________________ */
    .prices .col-3 {
        width: calc(100% - 30px);
    }
    .prices .col-3:nth-child(2) {
        transform: scale(1);
    }

    /* _____________________ Services _____________________ */
    .services_item_heading {
        white-space: wrap;
        line-height: 1.2;
        font-size: 35px;
    }
    .services_item_description {
        padding-right: 0;
    }
    .services_item_arrow {
        position: static;
        margin-top: 25px;
        margin-left: 0;
    }

    .footer_item_social {
        margin-right: 20px;
    }
    .footer_item_social span {
        display: none;
    }
}

@media(max-width: 414px) {
    .container {
        width: 90%;
    }

    /* _____________________ Banner _____________________ */
    .banner_star_1 {
        top: -55px;
        right: 0px;
    }
    .banner_star_2 {
        top: -40px;
    }

    /* _____________________ Teams _____________________ */
    .teams_item {
        width: calc(100% - 30px);
        max-height: 300px;
    }

    .contacts_form {
        padding: 30px;
    }
}
