.hero {
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    font-family: 'Montserrat';
    position: relative;
}

.page-title {
    max-width: 40vw;
    font-weight: 600;
    font-size: 34px;
    color: #000;
    line-height: 160%;
}

.tablet-text {
    color: var(--primary-color);
}

.underline {
    position: relative;
}

.underline::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
}

.ugly-text {
    font-family: 'MountainsofChristmas';
    position: relative;
}

.ugly-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    bottom: -25%;
    left: 0;
    background-image: url('/images/cross-title.svg'); /* Replace with your image path */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* This will cover the entire area of the pseudo-element */
    width: 100%;
}

.page-subtitle {
    max-width: 30vw;
    font-weight: 500;
    line-height: 150%;
    margin-top: 25px;
}

.call-to-action-buttons {
    margin-top: 30px;
    display: flex;
    gap: 25px;
}

.question-recommender-button {
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    background: var(--call-to-action-color);
    color: #000;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-family: inherit;
    position: relative;
}

.under-construction {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    transform: translate(-50%, -50%) rotate(-15deg);
}

.comparison-tool-button {
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    display: flex;
    position: relative;
}

.comparison-tool-button-text {
    margin-right: 10px;
    position: relative;
    margin-block: auto;
    font-weight: 500;
    color: #000;
}

.comparison-tool-button-text::after {
    content: "";
    position: absolute;
    right: 0;
    top: 120%;
    height: 2px;
    width: 100%;
    background-color: var(--call-to-action-color);
}

.comparison-tool-button-illustration {
    margin-block: auto;
}

.tablet-1 {
    position: absolute;
    top: 0;
    right: 20%;
    width: 15vw;
}

.tablet-2 {
    position: absolute;
    bottom: -10%;
    right: 0;
    width: 18vw;
}

.tablet-3 {
    position: absolute;
    bottom: 20%;
    right: 35%;
    width: 16vw;
}

.tablet-4 {
    position: absolute;
    bottom: -15%;
    left: 0;
    width: 19vw;
    z-index: -1;
}


@media only screen and (min-width: 1600px) {
    .page-title {
        font-size: 42px;
        max-width: 40vw;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .question-recommender-button {
        font-size: 20px;
    }

    .comparison-tool-button-text {
        font-size: 18px;
    }

    .hero {
        padding: 125px 10vw;
    }
}

@media only screen and (max-width: 1600px) {
    .page-title {
        font-size: 34px;
        max-width: 40vw;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .question-recommender-button {
        font-size: 17px;
    }

    .comparison-tool-button-text {
        font-size: 16px;
    }

    .hero {
        padding: 125px 10vw;
    }
}

@media only screen and (max-width: 1450px) {
    .tablet-3 {
        width: 14vw;
    }

    .page-subtitle {
        margin-top: 15px;
    }

    .hero {
        padding: 100px 10vw;
    }
}

@media only screen and (max-width: 1250px) {
    .page-title {
        max-width: 45vw;
    }

    .page-subtitle {
        max-width: 35vw;
    }
}

@media only screen and (max-width: 1100px) {
    .page-title {
        max-width: 55vw;
    }

    .page-subtitle {
        max-width: 45vw;
    }

    .question-recommender-button {
        font-size: 16px;
    }

    .comparison-tool-button-text {
        font-size: 15px;
    }

    .tablet-1 {
        right: 15%;
        width: 15vw;
    }
}


@media only screen and (max-width: 1050px) {
    .hero {
        height: auto;
    }

    .hero {
        padding: 100px 10vw;
    }

    .tablet-3 {
        display: none;
    }

    .tablet-4 {
        position: absolute;
        bottom: -10%;
        left: 0;
        width: 19vw;
    }

    .tablet-2 {
        bottom: -2.5%;
        width: 18vw;
    }
}

@media only screen and (max-width: 900px) {
    .page-title {
        max-width: 65vw;
    }

    .page-subtitle {
        max-width: 55vw;
    }
}

@media only screen and (max-width: 800px) {
    .page-title {
        max-width: 70vw;
    }

    .page-subtitle {
        max-width: 60vw;
    }
}

@media only screen and (max-width: 700px) {
    .page-title {
        max-width: 80vw;
    }

    .page-subtitle {
        max-width: 70vw;
    }

    .tablet-1 {
        right: 0;
        width: 20vw;
    }
}

@media only screen and (max-width: 600px) {
    .page-title {
        max-width: 100%;
    }

    .page-subtitle {
        max-width: 100%;
    }

    .tablet-1 {
        right: 7.5%;
        width: 20vw;
    }

    .ugly-text::after {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .tablet-1 {
        width: 20vw;
    }

    .tablet-4 {
        width: 30vw;
    }

    .call-to-action-buttons {
        flex-direction: column;
        gap: 40px;
    }

    .tablet-2 {
        width: 30vw;
        bottom: 10%;
    }

    .page-title {
        font-size: 30px;
        line-height: 150%;
    }

    .question-recommender-explanation {
        font-size: 15px;
    }

    .question-recommender-title {
        font-size: 28px;
    }
}

@media only screen and (max-width: 450px) {
    .tablet-1 {
        width: 27.5vw;
    }

    .tablet-4 {
        width: 35vw;
    }

    .tablet-2 {
        width: 27vw;
        bottom: 0;
    }
}
