*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: white;
    width: 100vw;
    overflow-x: hidden;
}

.resourceSection{
    background-color: white;
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.resourceSection h2{
    font-family: 'Rubik', sans-serif;
    text-align: center;
    font-size: clamp(1rem, 10vw, 7rem); 
    font-weight: 900;
    color: #f2f2f2;
    position: absolute;
    top: calc(font-size);
    left: 0;
    line-height: 1.2em;
    z-index: 0;
}

.resourceSection p{
    font-family: 'Rubik', sans-serif;
    text-align: center;
    max-width: 75%;
    font-size: clamp(1rem, 3.5vw, 1.5rem); 
    font-weight: 500;
    line-height: 1.7em;
    z-index: 1;
    margin-top: 6.5rem;
    margin-bottom: 4rem;
}

.readMoreBtn{
    height: 45px;
    width: 150px;
    background: transparent;
    color: #333;
    border-radius: 25px;
    border: 2px solid #000;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.4s ease;
    transition: background 0.5s ease;
    font-family: 'Rubik', sans-serif;
}

.readMoreBtn:hover{
    background: #000;
    color: white;
    font-weight: 700;
}

.readMoreBtn img{
    height: 9px;
    display: inline;
    margin-bottom: 3px;
}

.readMoreBtn:hover img{
    filter: invert(98%) sepia(99%) saturate(3%) hue-rotate(252deg) brightness(107%) contrast(100%);
}

@media screen and (max-width: 786px) {
    .resourceSection p{
        max-width: 80%;
        margin-top: 2.5rem;
    }

    .resourceSection{
        height: auto;
        padding-bottom:2.5rem ;
    }

    .readMoreBtn{
        border: 1px solid #000;
        height: 43px;
    }
}

@media screen and (min-width: 1400px) {
    .resourceSection h2{
        font-size: 8.5rem;
    }

    .resourceSection p{
        font-size: 1.7rem;
    }

    .readMoreBtn {
        height: 53px;
        width: 180px;
        border-radius: 27px;
        font-size: 15px;
    }

    .readMoreBtn img{
        height: 12px;
    }
}

@media screen and (min-width: 1700px) {
    .resourceSection h2 {
        font-size: 11rem;
    }

    .resourceSection p {
        font-size: 36px;
    }

    .readMoreBtn {
        height: 70px;
        width: 240px;
        border-radius: 35px;
        font-size: 20px;
    }

    .readMoreBtn img {
        height: 15px;
    }

    .resourceSection p {
        margin-top: 8rem;
    }
}