* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body{
    font-family: "Roboto", sans-serif;
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-around;
    position: relative;
}


main {
    margin: 0em auto;
    top: 5em;
    transition-duration: 1s;
    transition-delay: ease;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    background-color: white;
    width: 100%;
    align-items: center;
    position: absolute;
}




header {
    width: 100%;
    height: 5em;
    display: flex;
    background-color: #1a1a1a;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: space-between;
    position:fixed;
    z-index: 9;
    top: 0;
}
.escudo {
    max-width: 4em;
    margin-left: 1em;
    position: absolute;
    top: .5em;
}
label img {
    width: 2em;
    height: 1.5em;
    cursor: pointer;
    position: relative;
    right: 1em;
    transition: 0.5s all ease;
    
}
.close-menu {
    display: none;
    }
#btn-menu{
    display: none;
}
header h1 {
    font-size: 1.1em;
    font-family: "Roboto",sans-serif;
    padding-left: .3em;
    padding-right: 3em;
    color: white;
    position: absolute;
    left: 5em;
}
.menu {
    display: flex;
    width: 100%;
    position: fixed;
    top: -50em;
    left: 0;
    transition: .8s ease;
}
header ul {
    list-style: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    border-radius: .3em;
    transition: all 2s ease;
    
    
}
header li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2em 0em;
    background-color: #1a1a1a;
    
}
header li a {
    text-decoration: none;
    color: ghostwhite;
    font-weight: 300;
}
header li:hover {
    background: rgb(36, 36, 36);
    cursor: pointer;
    transition: .5s ease;
}
header li a:hover{
    color: #176d17;
    transition: .3s ease
}
.btn-menu:checked ~ .menu {
    top: 5em;
}
.btn-menu:checked ~ .close-menu{
    display:none;
}
.btn-menu:checked ~ label img {
    height: 2em;
    
}





.pd {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 38vh;
    padding: 2.5em 1.5em;
    justify-content: flex-end;
    background-image: url(../imagenes/club%20general%20guido-03.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    top: 5em;
    
}
.pd h2 {
    font-size: 2em;
    color: white;
    margin: 0.5em 0em;
    font-weight: 500;
}
.pd li {
    list-style: none;
    text-decoration: none;
    align-items: center;
}
.pd a {
    text-decoration: none;
    color: white;
    background-color: #1a1a1a;
    padding: .2em 1em 0.1em 1em;
    border-radius: .6em;
    font-size: 1.3em;  
}

.pd a:hover{
    background-color: rgba(47, 47, 47, 0.43);
    font-size: 1.5em;
    transition: .5s ease;
    border: white solid 1px;
}




.proximopartido {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.4em 1em 1.4em 1em;
    width: 100%;
    min-height: 13vh;
    border-bottom: solid grey .1em;
}
.proximopartido h3 {
    font-weight: 400;
    margin-bottom: .5em;
}
.proximopartido h4{
    color: #0e8443;
}
.proximopartido img {
    max-height: 2em; 
}
.versus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0em;
}
.versus h6 {
    font-size: .5em
}
.guido {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rival {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}
.proximopartido h5 {
    margin: .4em;
}




.noticias {
    font-size: 1.5em;
    width: 100%;
    padding: 1em;
    text-align: center;
    text-decoration: none;
    color: black;
}




.noticias-slide {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 3e
}
.noticias-slide figure {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.2em 0.5em .5em;
    min-height: 20em;
}
.noticias-slide div {
    height: 100%;
}
.noticias-slide div img {
    width:100%;
    max-height: 100%;    
    object-fit:cover;
    object-position:center;
    
}
figure h6 {
    color: #176d17;
    font-size: 1.2em;
    font-weight: 500;
}
figure p {
    font-weight: 300;
    font-size: .8em;
    margin-top: .5em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: auto;
    max-width: auto;
    

}



#paginas {
    display: flex;
    margin: 0em 0em 3em;
    
}
#paginas li {
    list-style: none;
    text-decoration: none;
    align-items: center;
    text-align: center;
    
}
#paginas a {
    text-decoration: none;
    display: inline-block;
    color: #176d17;
    font-weight: 200;
    background-color: rgb(196, 196, 196);
    padding: 1.2em 1em;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    letter-spacing: 0;
    overflow: hidden;
    width: 5em;
    height: 5em;
    text-transform: uppercase;
    box-shadow: 0 0 .4em #c3c3c3;
    
}
#paginas li:hover {
    
}
#paginas a:hover {
    color: white;
    transition: .5s ease;
    background-color: #0e8443;
    
}
#paginas .prev {
    border-left-style: solid;
    display:none;
}




.redes ul{
    display: flex;
    justify-content: space-between;
    list-style: none;
    background-color: #1a1a1a;
    padding: .1em 1.1em;
    height: 3em;
    align-items: center;
    width: 60%;
    box-shadow: 2;
    position: fixed;
    bottom: 0;
    left: 20%;
    right: 20%;
    border-radius: 2em;
}
.redes ul li img {
    max-height: 1.8em;
    border-radius: 100%;
}












@media (min-width: 640px) {
    main {
        margin: 0em auto;
        transition-duration: .2s;
        transition-delay: ease;
        width: 100%;
        position: relative;
        top: 8.1em;
    }
    .pd{
        height: 50vh;
        
    }   
    label img {
        display: none;
        transition-duration: 1s;
        transition-delay: 1s;
    }
    .menu {
        top: 5em;
    }
    header ul {
        flex-direction: row;
        flex-grow: 1;
        background-color: #1a1a1a;
        border-radius: 0em;
    }
    header li {
        padding: 1em;
        flex-grow: 1;
        border-bottom: none;
        border-radius: 0em;
    }
}
