.hero {
    min-height: 50vh;
    display: flex;
    position: relative;
    padding: 4rem 4rem 10rem;

    @media only screen and (max-width: 1200px) {
        padding: 0 0 20vh;
        margin-top: 1rem;
        flex-direction: column;
    }
}

.hero-white-block {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.7rem;
    height: 50vh;
    align-self: center;
    display: flex;

    @media only screen and (max-width: 1200px) {
        height: 75%;
        margin-right: 8%;
        border-radius: 0 0.7rem 0.7rem 0;
        padding-bottom: 20vh;
        align-self: flex-start;
    }
}

.hero-text-box {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-self: center;
    gap: 1.5rem;
    margin-left: 2rem;

    @media only screen and (max-width: 1200px) {
        width: 100%;
        margin-left: 0;
        gap: 1rem;
    }

    @media only screen and (min-width: 1201px) and (max-width: 1600px) {
        width: 40%;
        gap: 1rem;
    }
}

.hero-title {
    color: var(--main-text-color);
    font-size: 3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 115%;

    @media only screen and (max-width: 1200px) {
        font-size: 2rem;
    }

    @media only screen and (min-width: 1201px) and (max-width: 1500px) {
        font-size: 2.5rem;
    }
}

.hero-description {
    color: var(--secondary-text-color);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;

    @media only screen and (min-width: 1201px) and (max-width: 1500px) {
        font-size: 0.9rem;
    }
}

.hero-photo-border {
    position: absolute;
    top: 0;
    right: 5%;
    border-radius: 1.25rem;
    border: 2px solid #000;
    height: 65vh;
    display: flex;
    width: 55%;
    justify-content: center;

    @media only screen and (max-width: 1200px) {
        top: auto;
        bottom: 10vh;
        right: -10%;
        height: 50vh;
        width: 90vw;
    }

    @media only screen and (min-width: 1201px) and (max-width: 1600px) {
        right: 3%;
        width: 45%;
    }
}

.hero-photo {
    flex-shrink: 0;
    border-radius: 1.25rem;
    object-fit: cover;
    height: 100%;
    width: 100%;
    padding: 4px;
    align-self: center;
}

.hero-orange-block {
    position: absolute;
    right: 4%;
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0.7rem;
    height: 50vh;
    align-self: center;
    display: flex;
    width: 10vw;
    z-index: -10;

    @media only screen and (max-width: 1200px) {
        position: static;
        right: auto;
        padding: 0;
        height: 30vh;
        border-radius: 0;
        width: 100vw;
    }
}

.about {
    min-height: 50vh;
    display: flex;
    position: relative;
    justify-content: flex-end;
    width: 80%;
    padding: 4rem 4rem 10rem;

    @media only screen and (max-width: 1200px) {
        width: 100%;
        padding: 0 0 20vh;
        margin-top: 1rem;
        flex-direction: column-reverse;
        margin-bottom: 5vh;
    }
}

.about-photo-border {
    position: absolute;
    top: 0;
    left: 10%;
    border-radius: 20px;
    border: 2px solid #000;
    height: 65vh;
    width: 65vh;
    display: flex;
    justify-content: center;

    @media only screen and (max-width: 900px) {
        top: auto;
        bottom: 15vh;
        left: auto;
        right: 5%;
        height: 40vh;
        width: 40vh;
    }

    @media only screen and (min-width: 901px) and (max-width: 1200px) {
        top: auto;
        bottom: 15vh;
        left: auto;
        right: 5%;
        height: 50vh;
        width: 50vh;
    }

    @media only screen and (min-width: 1201px) and (max-width: 1500px) {
        height: 55vh;
        width: 55vh;
    }
}

.about-photo {
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    height: 100%;
    width: 100%;
    padding: 2px;
    align-self: center;
}

.about-header {
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--secondary-color);
}

.about-title {
    color: var(--main-text-color);
    font-size: 3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 115%;

    @media only screen and (max-width: 1200px) {
        font-size: 2rem;
    }
}

.about-description {
    color: var(--secondary-text-color);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.about-orange-block {
    position: absolute;
    left: 9%;
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 0.7rem;
    height: 30vh;
    align-self: center;
    display: flex;
    width: 10vw;
    z-index: -10;

    @media only screen and (max-width: 1200px) {
        position: static;
        left: auto;
        padding: 0;
        width: 80vw;
        height: 20vh;
        margin-right: 15%;
        margin-top: 20vh;
        margin-bottom: 5vh;
    }
}

.about-text-box {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-self: center;
    gap: 2rem;
    margin-left: 2rem;

    @media only screen and (max-width: 1200px) {
        width: 85%;
        gap: 1rem;
        margin-left: 0;
    }
}

.socials {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 10vh;
    padding: 0 9vw;

    @media only screen and (max-width: 900px) {
        padding: 0 2vw;
        margin-bottom: 5vh;
    }
}

.socials-up {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    height: 2vh;
    width: 100%;

    @media only screen and (max-width: 900px) {
        gap: 0.4rem;
        padding: 0 1.5rem;
    }
}

.socials-header {
    color: #FF4C00;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 1px;
    text-transform: uppercase;

    @media only screen and (max-width: 900px) {
        font-size: 0.85rem;
    }
}

.socials-hr {
    height: 2px;
    background: var(--main-text-color);
    width: 100%;
    flex: 1;
}

.socials-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;

    @media only screen and (max-width: 900px) {
        gap: 0.25rem;
    }
}

.social-icon {
    cursor: pointer;

    @media only screen and (max-width: 900px) {
        width: 90%;
        height: 90%;
    }
}

.socials-images {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 3rem;

    @media only screen and (max-width: 900px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.socials-images img {
    width: 15vw;
    height: 15vw;
    flex-shrink: 0;
    border-radius: 0.3rem;
    border: 1px solid #000;
    object-fit: cover;

    @media only screen and (max-width: 900px) {
        width: 40vw;
        height: 40vw;
    }
}