.section-1 {
    background-image: url(./Imgs/index/section-1-background.jpg);
    background-position: right 80%;
    background-size: cover;
}

.under-section-1 {
    display: flex;
    justify-content: center;
}

.under-section-1 .container {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
    margin-bottom: 3rem;
}

.under-section-1 h1 {
    font-family: Playfair Display;
    font-size: 50px;
    font-weight: 700;
}

.under-section-1 h2 {
    margin-top: 5px;
    font-family: Questrial;
    font-size: 50px;
    font-weight: 400;
}

.under-section-1 p {
    max-width: 400px;
    font-family: Nunito Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.375;
}

.under-section-1 img {
    align-self: flex-end;
    aspect-ratio: 1;
    height: 300px;
}

.under-section-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.under-section-2 .container {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

.under-section-2 h1 {
    font-family: Playfair Display;
    font-size: 50px;
    font-weight: 700;
}

.under-section-2 h2 {
    margin-top: 5px;
    font-family: Questrial;
    font-size: 50px;
    font-weight: 400;
}

.under-section-2 p {
    max-width: 811px;
    margin-top: 3rem;
    margin-bottom: 3rem;
    font-family: Nunito Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.375;
}

.under-section-2 .circle-group {
    display: flex;
    gap: 3rem;
}

.under-section-2 img {
    height: 200px;
    aspect-ratio: 1;
}

.under-section-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.under-section-3 .container {
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

.under-section-3 h1 {
    font-family: Playfair Display;
    font-size: 50px;
    font-weight: 700;
}

.under-section-3 h2 {
    margin-top: 5px;
    font-family: Questrial;
    font-size: 50px;
    font-weight: 400;
}

.under-section-3 p {
    margin-top: 3rem;
    max-width: 811px;
    font-family: Nunito Sans;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.375;
}

.under-section-1 a,
.under-section-2 a,
.under-section-3 a {
    color: #3A57C0;    
    text-decoration: none;
}

@media screen and (max-width: 905px){
    .under-section-1 {
        flex-direction: column;
        align-items: center;
    }

    .under-section-1 p {
        max-width: 511px;
    }
    
    .under-section-1 img {
        align-self: inherit;
        margin-top: 5rem;
        margin-left: 80px;
    }
    
    .under-section-2 p {
        max-width: 511px;
    }
    
    .under-section-2 .circle-group {
        flex-direction: column;
    }
    
    .under-section-3 p {
        max-width: 511px;
    }
}

@media screen and (max-width: 530px){
    .under-section-1 .container,
    .under-section-2 .container,
    .under-section-3 .container {
        gap: .6rem;
    }

    .under-section-1 h1,
    .under-section-1 h2,
    .under-section-2 h1,
    .under-section-2 h2,
    .under-section-3 h1,
    .under-section-3 h2 {
        font-size: 30px;
    }

    .under-section-1 p,
    .under-section-2 p,
    .under-section-3 p {
        font-size: 1rem;
        max-width: 400px;
    }

    .under-section-1 h2,
    .under-section-2 h2,
    .under-section-3 h2 {
        margin-top: 3px;
    }

    .under-section-1 .container {
        margin-bottom: 1.5rem;
    }

    .under-section-3 p,
    .under-section-2 p {
        margin-top: 1.5rem;
    }
}

@media (prefers-reduced-motion){
    .contrast{
        transition: none;
    }
}