*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    background-color: #181d37;
    color: #efefef;
    text-align: justify;
}

header{
    background-image: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)),url(assets/messi_miami2.webp);
    height: 70vh;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}
header h1{
    padding-top: 25vh;
    text-align: center;
    font-size: 5rem;
    font-weight: 900;
    font-style: italic;
}

main{
    margin:4rem;
}
main hr{
    width:4.5rem;
    height: 0.5rem;
    background-color: rgb(22, 151, 206);
    margin: 0.5rem auto;
    border: none;
}
main p{
    line-height: 2.2rem;
}
main h1{
    text-align: center;
}
main section{
    display: flex;
    justify-content: space-evenly;
    gap: 3rem;
    margin: 2rem auto;
}
main section img{
    width: 100%;
    max-width: 15rem;
    height: 100%;
    max-height: 20rem;
    border-radius: 2rem;
    border: 2px solid #efefef;
}
.section-img {
    width: 100%;
    max-width: 20rem;
    height: 100%;
    max-height:15rem ;
}
.video-section {
    flex-wrap: wrap;
}
footer{
    margin:1.5rem;
    text-align: center;
}

@media only screen and (max-width:992px) {
    main {
        margin: 1.5rem;
    }
    header h1{
    font-size: 3rem;
    }
    main h3{
        text-align: center;
    }
    section{
        flex-wrap:wrap;
    }
}

@media only screen and (min-width:992px) and (max-width:1100px){
    #early_life_section, #miami_section{
        flex-wrap: wrap;
    }
    #miami_head{
        text-align: center;
    }
}