/* General reusable classes */

.title {
    font-family: 'Pacifico';
    font-weight: 400;
    color: #ffffff;
}

.title__wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.text {
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #ffffff;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.3px;
}

.content__wrapper {
    display: flex;
    margin-inline: 5vw;
    gap: 10vw;
}


.section_image--wrapper {
    flex: 1;
}

.section__image {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.written-content__wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.call-to-action-link__wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.call-to-action-link {
    position: relative;
    background: var(--tertiary-color);
    border-radius: 50px;
    padding: 25px 50px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-weight: 500;
    transition: transform .3s;

}

.call-to-action-link:hover {
    transform: scale(1.03);
}

.call-to-action-arrow__wrapper {
    position: absolute;
    width: 20px;
    aspect-ratio: 1;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.call-to-action-arrow__wrapper--right{
    right: 15px;
}

.call-to-action-arrow__wrapper--left{
    left: 15px;
}

.call-to-action-link__font-size {
    font-size: 17px;
}

.section__title--font-size {
    font-size: 40px;
}

.section__text--font-size {
    font-size: 22px;
}

@media only screen and (max-width: 1200px) {
    .section__title--font-size {
        font-size: 35px;
    }
    
    .section__text--font-size {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1000px) {
    .section__title--font-size {
        font-size: 30px;
    }
    
    .section__text--font-size {
        font-size: 19px;
    }
}

@media only screen and (max-width: 600px) {
    .text {
        margin-inline: 5vw;
    }

    .content__wrapper {
        flex-direction: column;
        margin-inline: 0;
        gap: 30px;
    }

    .written-content__wrapper {
        order: 2;
        margin-bottom: 40px;
    }

    .section_image--wrapper {
        order: 1;
        position: relative;
        height: 80svh;
    }

    .section__image {
        border-radius: 0;
    }

    .section__text--font-size {
        font-size: 18px;
    }
}

/* General reusable classes end */