﻿@font-face {
    font-family: "SF Pro Display";
    src: url("../fonts/SF-Pro-Display-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("../fonts/SF-Pro-Display-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("../fonts/SF-Pro-Display-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

:root {
    --main-color: #336fb2;
}
/* Reset styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
    box-sizing: border-box;
}

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

a,
a:link,
a:visited {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

ul,
ul li {
    list-style: none;
}

address {
    font-style: normal;
}

input::-ms-clear {
    display: none;
}

button {
    background: none;
    font-size: inherit;
}

    input:focus,
    input:active,
    button:focus,
    button:active {
        outline: none;
    }

    button::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

legend {
    display: block;
}

input,
textarea,
button,
a,
i,
li,
label,
div {
    -webkit-tap-highlight-color: transparent;
}
/* end Reset styles */
/* SCROLL */
/*IE*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    * {
        scrollbar-face-color: #d1d8da;
        scrollbar-track-color: #dcd5d5;
        scrollbar-3dlight-color: #dcd5d5;
        scrollbar-darkshadow-color: #dcd5d5;
        scrollbar-arrow-color: #dcd5d5;
        /* -ms-overflow-style: -ms-autohiding-scrollbar;
      scrollbar-width: thin; */
        -ms-overflow-style: none; /* IE 10+ */
    }
}

/* for chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
        border-radius: 5px;
    }

    ::-webkit-scrollbar-track {
        /* background-color: #e8e8e8; */
        background: none;
    }

    ::-webkit-scrollbar-corner {
        background-color: #ececec;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: var(--color-border-gray);
    }

        ::-webkit-scrollbar-thumb:hover {
            background-color: #f2f2f2;
        }
}
/* for firefox */
@-moz-document url-prefix() {
    * {
        /* scrollbar-width: thin; */
        scrollbar-width: none;
        scroll-behavior: smooth;
        scrollbar-color: var(--color-border-gray) none;
    }
}
/* end SCROLL  */
body {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    background: #eee;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    /* min-height: 100vh; */
    overflow-x: hidden;
}
/* main {
  flex-grow: 1;
} */
.container {
    max-width: 1190px;
    padding: 0 16px;
    margin: 0 auto;
}

.laptop__overlay {
    padding-top: 280px;
    padding-bottom: 32px;
    display: flex;
    justify-content: center;
    position: relative;
}

.cloud,
.picture {
    display: block;
    position: absolute;
}

.cloud-1 {
    width: 116px;
    top: 160px;
    left: 0;
}

.cloud-2 {
    width: 134px;
    top: 100px;
    left: 12%;
}

.cloud-3 {
    width: 150px;
    top: 20px;
    right: 40%;
}

.cloud-4 {
    width: 125px;
    top: 103px;
    right: 0;
}

.picture-3 {
    width: 270px;
    left: 0;
    bottom: 190px;
}

.laptop__wrapper {
    position: relative;
    z-index: 1;
}

.picture-1 {
    width: 80px;
    top: -75px;
    left: 20px;
    z-index: -1;
}

.picture-2 {
    width: 74px;
    top: -75px;
    right: 35%;
    z-index: -1;
}

.picture-4 {
    width: 260px;
    right: -20px;
    top: -170px;
    -webkit-animation: rotadeclockwise 25s linear infinite;
    -moz-animation: rotadeclockwise 25s linear infinite;
    animation: rotadeclockwise 25s linear infinite;
}

.picture-6 {
    width: 200px;
    right: -110px;
    top: 80px;
    -webkit-animation: rotadeanticlockwise 25s linear infinite;
    -moz-animation: rotadeanticlockwise 25s linear infinite;
    animation: rotadeanticlockwise 25s linear infinite;
}

.picture-5 {
    width: 86px;
    right: -115px;
    top: -24px;
}

.girl {
    width: 306px;
    bottom: 0;
    left: 20px;
    z-index: 200;
}

.boy {
    width: 225px;
    bottom: 24px;
    right: 0;
    z-index: 200;
}

.laptop__boy {
    display: block;
    position: absolute;
    width: 167px;
    top: -255px;
    left: 150px;
}

.laptop {
    position: relative;
    padding: 20px 20px 60px 20px;
    width: 750px;
    height: 500px;
    background: url(../Images/Holidays/laptop.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
    z-index: 1;
}

.laptop__text-wrapper {
    padding: 24px 16px;
    height: 420px;
    overflow: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.laptop__text {
    text-align: center;
    padding: 24px 0;
}

.laptop__title {
    width: 360px;
    margin-bottom: 45px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

    .laptop__title img {
        width: 100%;
        object-fit: contain;
        object-position: center;
    }

.laptop__text_subtitle {
    max-width: 550px;
    margin-bottom: 24px;
    font-size: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
    padding-bottom: 36px;
    text-align: center;
}

    .footer p {
        color: #333;
        line-height: 1.5;
    }

.footer__logo {
    height: 24px;
    width: max-content;
}

    .footer__logo > img {
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

@keyframes rotadeclockwise {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotadeanticlockwise {
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@media (max-width: 1100px) {
    .picture-3 {
        width: 210px;
    }

    .laptop__boy {
        width: 150px;
        top: -225px;
    }

    .boy {
        width: 180px;
    }

    .girl {
        width: 280px;
        left: 0;
    }
}

@media (max-width: 1000px) {
    .picture-2 {
        right: 40%;
    }

    .picture-3 {
        display: none;
    }

    .picture-4 {
        width: 210px;
        right: 0;
        top: -130px;
    }

    .picture-5 {
        width: 50px;
        top: -63px;
        right: -10px;
    }

    .picture-6 {
        display: none;
    }

    .footer {
        margin-top: 50px;
    }
}

@media (max-width: 800px) {
    .cloud-2 {
        display: none;
    }

    .laptop {
        padding: 16px 16px 32px 16px;
        width: calc(100vw - 48px);
        height: calc((100vw - 48px) / 3 * 2);
    }

    .laptop__text-wrapper {
        justify-content: start;
        width: calc(100vw - 82px);
        height: calc((100vw - 110px) / 3 * 2);
    }

    .boy {
        right: -14px;
    }

    .girl {
        left: -14px;
    }
}

@media (max-width: 700px) {
    .laptop__overlay {
        padding-bottom: 60px;
    }

    .laptop__boy {
        left: 110px;
    }

    .boy {
        bottom: 0;
    }

    .laptop__title {
        width: 230px;
        margin-bottom: 22px;
    }

    .laptop__text_subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .laptop__overlay {
        padding-top: 280px;
    }

    .cloud-1 {
        left: -50px;
        top: 115px;
    }

    .cloud-3 {
        width: 100px;
        right: 50%;
    }

    .cloud-4 {
        width: 80px;
    }

    .cloud .picture-1,
    .picture-2 {
        width: 60px;
        top: -55px;
    }

    .picture-4 {
        width: 160px;
        top: -113px;
    }

    .picture-5 {
        width: 43px;
        top: -55px;
    }

    .laptop__boy {
        width: 100px;
        top: -150px;
    }

    .boy {
        width: 130px;
    }

    .girl {
        width: 190px;
    }
}

@media (max-width: 530px) {
    .laptop__overlay {
        padding-top: 240px;
        padding-bottom: 40px;
    }

    .laptop__text {
        padding-top: 0;
    }

    .laptop__text-wrapper {
        padding: 16px 0;
    }

    .laptop__title {
        width: 200px;
        margin-bottom: 10px;
    }

    .laptop__text_subtitle {
        font-size: 1rem;
        margin-bottom: 9px;
    }

    .laptop__text p {
        font-size: 0.75rem;
    }

    .picture-1,
    .picture-2 {
        width: 45px;
        top: -36px;
    }

    .picture-1 {
        left: 10px;
    }

    .picture-4 {
        width: 120px;
        top: -85px;
    }

    .laptop__boy {
        width: 90px;
        left: 65px;
        top: -140px;
    }

    .boy {
        width: 100px;
    }

    .girl {
        width: 160px;
    }

    .footer {
        margin-top: 36px;
        padding-bottom: 24px;
    }

        .footer p {
            font-size: 0.875rem;
        }
}

@media (max-width: 400px) {
    .laptop__title {
        width: 160px;
        margin-bottom: 5px;
    }

    .laptop__text_subtitle {
        font-size: 0.875rem;
    }
}
