/*Head-section*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-size: 16px;
    font-family:"Libre Baskerville", "New Amsterdam", sans-serif;
}

.nav-bar {
    background-image: url('images/soccer-stadium.jpg');
    top: 0; left: 0; bottom: 0; right: 0;
    min-height: 900px;
    width: 100%;
    position: relative;
    text-align: center;
    color: white;

}

.nav-group {
    background-color: rgba(40, 72, 92, 0.315);
    display: flex;
    justify-content: space-between;
    padding: 18px 7.5%;
    align-items: center;
}

h1.content-nav {

}

.menu {
    display: flex;
    justify-content: space-around;
    width: 32%;
    
}

.menu a {
    text-decoration: none;
    color: white;
    text-shadow: 1px 2px black;

}

h1.main-background {
    color: white;
    padding: 270px 0;
    font-size: 6.5rem;
    text-transform: uppercase;
    text-decoration:overline underline;

}

/*main-section*/

.News {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.News h1{
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 7.5px;
    margin-bottom: 25px;
}

.content-news-group {
    display: flex;
    gap: 30px;
}

.content-news-img {
    display: block;
}

.content-news {
    display: flex;
    margin-bottom: 25px;
    border: 1px solid black;
    align-items: center;

}

.content-news p {
    padding: 0 30px;
}


.content-news img {
    max-width: 250px;
    display:block;
}

.news-logo {
    background-image: url('images/soccer-stadium.jpg');
    min-width: 800px;
    min-height: 750px;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;


}

.news-logo p{
    color: white;
    text-decoration: underline;
    font-size: 3rem;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 8px;
}

.box-content-news p {
    border: 3px solid black;
}

/* Main2 */
.Team-year {
    background-image: url('images/soccer-stadium.jpg');
    color: whitesmoke;
    margin: 50px 0;

}

.Team-year h1 {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 7.5px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;

}

.who-year {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

.adjust-who{
    /*color: white;*/
    border: 1px solid;
    margin-bottom: 20px;
}

.adjust-who p {
    padding: 10px 20px;
}

.who-year span {
    font-size: 2.75rem;
}

.who {
    text-transform: uppercase;
    line-height: 3;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 15px;
    font-size: 1.875rem;
    font-weight: bold;

}

.who p::after{
    content: "\a";
    white-space: pre;
}

.adjust-who .messi {
    background-image: url('images/messi-prin.jpg');
    min-height: 800px;
    min-width: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    

}

.messi {
    background-color: rgba(0, 0, 0, 0.8);
   
}



.adjust-who .ronaldo {
    background-image: url('images/ronaldo-prin.jpg');
    min-height: 800px;
    min-width: 500px;
    background-repeat: no-repeat;
    
}

/*footer section*/
.contact {
    text-align: center;
    line-height: 60px;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 50px;
}

footer {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px;
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    word-spacing: 15px;
    letter-spacing: 7.5px;
}

@media only screen and (max-width: 1024px){
    * {

    }
/*nav-section*/
    .nav-bar {
        width: 100%;
    }

    .nav-group {

    }
    
    .menu {
        width: 45%;
    }

    h1.main-background {
        font-size: 3.5rem;
    }

/*main-section*/
    .news-logo{
        display: none;
    }


/*main2-section*/
    .Team-year{
        gap: 0;
    }

   .who-year {
        display: block;
        justify-items: center;
    }

    .adjust-who p {
         padding: 50px 40px;
    }

    .adjust-who .messi{
        background-size: auto;
        text-align: end;
    }

    .adjust-who .ronaldo{
        background-position: right;
    }
}



@media only screen and (max-width: 480px) {
/*nav-section*/   

    .nav-bar{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-group{
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .menu {
        display: flex;
        flex-direction: column;
        font-size: 1.25rem;
        padding-top: 5px;
    }

    .menu p {
        padding-top: 12.5px;
    }

    h1.main-background {
        width: 80%;
        padding: 0;
        padding-top: 300px;
    }


/*main-section*/


/*main2-section*/
    .Team-year{

    }

    .Team-year h1 {

    }
    .who-year{
        display: flex;
        flex-wrap: wrap;
        max-width: 480px;
    }
}