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

body{
    font-family: "Roboto", sans-serif;
    background-color: lightgray;
    display: flex;
    flex-direction: column;
    width: 100%;
}
main {
    margin: 0em auto;
    top: 5em;
    transition-duration: 1s;
    transition-delay: ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 800px;
    background-color:white;
    width: 100%;
    align-items: center;
    position: relative;
}

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:contents;
}
.btn-menu:checked ~ label img {
    height: 2em;
    
}


.pd {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 15vh;
    background-color: white;
    padding: 1.5em;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    background-image: url(../imagenes/imagenes%20Club%20General%20Guido-04.jpg)
}
.pd h2 {
    font-size: 2em;
    color: ghostwhite;
    margin: 0.5em 0em;
    font-weight: 8000;
}

.pd li {
    list-style: none;
    text-decoration: none;
    align-items: center;
}
.pd a {
    text-decoration: none;
    color: white;
    background-color: black;
    padding: .2em 1em 0.1em 1em;
    border-radius: .6em;
    
    
    
}
.pd a:hover{
    background-color: rgba(47, 47, 47, 0.43);
    font-size: 1.5em;
    transition: .5s ease;
    border: white solid 1px;
}

#nota-principal {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: space-between;
    width: 100%;
    background-color: white;
    margin: em 0em;
    
}
#nota-principal img {
    height: 40vh;
    object-fit: cover;
    
}
#nota-principal div {
    padding: 1em;
    border-bottom: 
}
#nota-principal figcaption {
    color: #b5b5b5;
    font-size: .8em;
    
}
#nota-principal h3 {
    margin: 1em 0em .5em;
    font-size: 1.4em;
    font-weight: 1000;
}
#nota-principal p{
    text-align: justify;
    line-height: 1.4em;
    margin-bottom: 1em;
}
#nota-principal span {
    color: #b5b5b5;
    font-size: .8em;
    
}
#nota-principal a {
    text-decoration: none;
    color: black;
}


#ultimas-noticias {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    
}
.ultimas-noticias {
    display: flex;
    flex-direction: column;
    align-items: left;
    background-color: white;
    width: 48%;
    max-height: auto;
    margin: .2em;
    position: relative;
}
.ultimas-noticias img {
    width: 100%;
    object-fit:cover;
    min-height: 25vh;
}
.ultimas-noticias  div div {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content:space-between;
}
.ultimas-noticias a {
    text-decoration: none;
    color: black;
}
.ultimas-noticias  figcaption {
    color: #b5b5b5;
    font-size: .8em;
    margin-left: .8em;
}
.ultimas-noticias  h3 {
    margin: .5em;
    font-size: 1em;
    font-weight: 800;
    min-height: 3em
}
.ultimas-noticias  p{
    font-size: .8em;
    padding: .5em;
    display: block;
    text-overflow:clip;
    height: 4em;
    margin-bottom: 3em;
    overflow: hidden;
    
}
.ultimas-noticias  span {
    color: #b5b5b5;
    font-size: .8em;
    position: absolute;
    bottom: 0;
    margin-left: .3em;
    
}
.ultimas-noticias:hover {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.41);
    transition: .5s ease;
}
.ultimas-noticias a:hover {
    color: #ffffff;
}

.proximopartido {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em 1em .3em 1em;
    width: 100%;
    min-height: 11vh;
    border-bottom: solid grey .1em;
}
.proximopartido h3 {
    font-weight: 100;
    margin-bottom: .5em;
}
.proximopartido h4{
    color: #176d17;
}
.proximopartido img {
    max-height: 2em;
    margin: 
}
.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 {
    margin: 1em
}
.noticias-slide {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-top: solid .1em #b7b7b7;
    border-top-style: dashed;
    padding: .5em .5em;
    min-height: 20em;
}
.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: #0e8443;
    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: 2em 0em 4em
    
}
#paginas li {
    list-style: none;
    text-decoration: none;
    align-items: center;
    text-align: center;
    
}
#paginas a {
    text-decoration: none;
    display: inline-block;
    color: #0e8443;
    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;
    margin-bottom: 3em;
}

.redes ul{
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: .5em 1.7em;
    height: 3em;
    align-items: center;
    width: 60%;
    background: #1a1a1a no-repeat center;
    box-shadow: 2;
    position: fixed;
    bottom: 0;
    left: 20%;
    right: 20%;
    
    border-radius: 3em
}
.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: 15vh;
    }
    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;
        flex-grow: 1;
    }
}