
body, html {

    margin: 0;
    overflow-x: hidden;
}

html * {
    font-family: "Josefin Sans", sans-serif;
}

p {
    font-weight: 300;
    font-size: 20px;
}

h1 {
    font-size: 4rem;
    font-weight: 300;
}

h2 {
    font-size: 3.5rem;
    font-weight: 300;   
}

h3 {
    font-size: 2.6rem;
    font-weight: 300;  
}

h4 {
    font-size: 2.5rem;
    font-weight: 300;  
}

h5 {
    font-size: 1.7rem;
    font-weight: 300;
}

ul a {
    font-weight: 300;
}

li {
    font-weight: 300;
    font-size: 20px;
}

.main-page {
    margin-top: 8em;
    
}




.top-hero {
    display: flex;
    flex-direction: column;
    height: 600px;
    width: 100%;
    align-self: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    justify-content: center;
}

.top-hero-box {
    border: 1px solid #89C6F4;
    border-radius: 20px;
    background-color: rgb(137 198 244 / 70%);
    padding: 2em;
    width: 60vw;
    color:white;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle, #d8ebe7, #deedef, #e7eff3, #eff1f4, #f4f4f4);
    padding: 3em 0;
}

.hero-header {
    text-align: center;
}


.whats-app {
    display: none;
    position: fixed;
    width: 50px;
    height: 50px;
    top: 150px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 3px 4px 3px #999;
    right: 15px;
    z-index: 100;
}

.my-float {
    margin-top: 10px;
}


.bio-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 1em 15em;
    background-color: white;
  
}

.bio-hero-text {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
    justify-content: flex-start;
    line-height: 2;
    font-size: 19px;
    padding: 0 2em;
    min-width: 30vw;
}



.bio-hero-text h2 {
    margin: 0.5em 0;
    line-height: 1.2;
}

.bio-hero-text p {
    margin-top: -0.5em;
    padding-left: 0;
}

.bio-hero-image-container {
    flex-basis: 50%;
    display: flex;
    padding: 0;
    justify-content: flex-end;
}

.bio-hero-image-container img {
    width:100%;
    height: auto;
    min-width: 400px;
    max-width: 500px;
}

.category-loops {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 6em;
    margin-bottom: 2em;
}

.section-title {
    grid-column-start: 1;
    grid-column-end: 4;
    display: flex;
    justify-content: center;
}

.section-title h2 {
    margin-bottom: 0;
}


.page-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.5em;
}

.page-card h4 {
    margin-bottom: 0.5em;
}

.main-btn {
    font-size: 20px;
    font-weight: 300;
    background-color: #89C6F4;
    border: none;
    border-radius: 30px;
    margin-top: 1em;
    margin-bottom: 1em;
}


.main-btn {
    padding: 0.5em 1em;
    color: white;
    text-decoration: none;
    color: white;
    text-align: center;
}

.main-btn:hover {
    background-color: #6990AE;
}


.main-btn-transparent {
    display: block;
    font-size: 17px;
    font-weight: 500;
    border: 2px solid white;
    background-color: transparent;
    border-radius: 30px;
    margin-top: 1em;
    padding: 0.7em 2em;
    color: white;
    text-decoration: none;
}


.main-btn-transparent:hover {
    color: #89C6F4;
    border: 2px solid white;
    background-color: white;
    opacity: 1;
}




@media only screen and (max-width: 1050px) {

.top-hero {
    align-items: center;
    text-align: center;
}

.top-hero-box h2 {
    font-size: 2.5rem;
}

.top-hero-box h4 {
    font-size: 1.5rem;
}

.bio-hero-text h2 {
    font-size: 2.5rem;
}



.category-loops {
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.section-title {
    grid-column-start: 1;
    grid-column-end: 3;
    display: flex;
    justify-content: center;
}

.section-title h2 {
    font-size: 2.5rem;
}



}

@media only screen and (max-width: 700px) {


    p {
        font-weight: 300;
        font-size: 18px;
    }
    
    h1 {
        font-size: 3.5rem;
        font-weight: 300;
    }
    
    h2 {
        font-size: 3rem;
        font-weight: 300;   
    }
    
    h4 {
        font-size: 1.5rem;
        font-weight: 300;  
    }
    
    h5 {
        font-size: 1.5rem;
        font-weight: 300;
    }
    
    li {
        font-weight: 300;
        font-size: 18px;
    }

    .top-hero-box {
        width: 90%;
        padding: 1em 0.5em 2em 0.5em;
    }
    
    .hero-header {
        font-size: 2.5rem;
        padding: 0 0.5em;
    }
    
    .bio-container {
        flex-direction: column-reverse;
        align-items: center;
        padding: 0;
        width: 100vw;
        margin: 2m 0;
    }
    
    .bio-hero-image-container {
        padding: 0;
    }
    

.bio-hero-text, .bio-hero-image-container img {
    min-width: 0;
}

.category-loops {
    grid-template-columns: 1fr;
}

.section-title {
    grid-column-start: 1;
    grid-column-end: 1;
}

.page-card {
    margin: 0;
}

.whats-app {
    display:inline;
}

}
