@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barrio&display=swap');
@charset "utf-8";

*/

*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

#logo {
    width: 100px;
    display: flex;
    float: right;
}

body{
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    justify-content: space-between;
}

html {
    height: -webkit-fill-available; 
}

.contenedor {
    max-width: 50em;
    margin: 0 auto;
}

main {
    background-color: white;
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

header{
    width: 100%;
}

header .contenedor {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
    padding-bottom: .5em;
    padding-top: .6em;
    padding-left: .9em;
    padding-right: .9em;
}

footer {
    text-align: center;    
    color: white;
    padding: 1rem;
    font-size: 0.8rem;
    background-color: #4abcea;
}

.seguinos {
    display: inline-block;
    flex-direction: row;
    padding-bottom: .4em;
}

footer h3{
    font-size: 1rem;
    color:white;
    text-transform: uppercase;
    text-align: center; 
    margin: .3em;
}

.legales{
    background-color: #4abcea;
    color: white;
    padding: .1em;
    font-size: 0.8rem;
}

.icono {
    width: 20px;
    padding: .5em;
    align-content: center;
}

#menu {
    display: none;
}

header label {
    display: none;
    width: 30px;
    height: 30px;
    padding-bottom: .4em;
}

header label:hover {
    cursor: pointer;
    background-color: #cdebf7;
}

.menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    font-size: 10px;
}

.menu li {
    text-align: center;
}

.menu li:hover {
    background-color: #cdebf7;
}

.menu li a {
    display: block;
    padding: 10px 10px;
    color: black;
    text-decoration: none;
}



/* BUSQUEDA*/
#busqueda >*
#busqueda p:not(:last-child) {
    margin-bottom: 1em;
}

#busqueda {
    display:flex;
    max-width: 50em;
    width: 100%;
    margin-top: 1em;
    border-radius: 1em;
    flex-direction: column;
    font-size: 15px;
}

#titulo {
    background-color: #4abcea;
    padding: 0.01em;
    text-align: center;
    color: white;
    text-transform: uppercase;
    
}




#busqueda h3{
    display:flex;
    background-color:white;
    width:100%;
    padding: .3em;
    color: #77787C
}

#buscar{
    margin: .25em 0 0.5em .25em;
    padding: 0.3em 0.6em;
    color: white;
    font-weight: bold;
    text-align: center;
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    background-color: green;
    border-radius: 2em; 
}

#busqueda nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:center;
}

#busqueda nav ul li{
    margin: .25em 0 0.5em .25em;
    padding: 0.3em 0.6em;
    color: white;
    font-weight: bold;
    text-align: center;
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    background-color: #4abcea;
    border-radius: 2em; 
}
#buscarconcurso{
    width:100%;
    align-content: center;
}
#botoneraactividad{
    display: flex;
    flex-direction: row;
    width:100%;
   justify-content:space-between;
}
#botoneraactividad img{
    width:2em;
    align-content: center;
    
}
#botoneraactividad{
    display: flex;
    flex-direction: row;
    width:100%;
   justify-content:space-between;
}
#botoneraactividad img{
    width:2em;
    align-content: center;
    
}

/*RECIENTEMENTE AGREGADOS*/
#recientementeagregados >*
#recientementeagregados p:not(:last-child) {
    margin-bottom: 0.5em;
}

#recientementeagregados {
    display:flex;
    max-width: 50em;
    width: 100%;
    margin-top: 1em;
    border-radius: 1em;
    flex-direction: column;
    font-size: 15px;
}
#todos{
    max-width:50em;
}
.concurso{
    max-width:50em;
}
.titulo{
    background-color: green;
    text-align: center;
    color: white;
    text-transform: uppercase;
    padding: 0.5em 0;
    font-family:  ‘Montserrat’ , sans-serif;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 1em;
    padding-top: 1em;
    
    
}


#imagenesconcurso{
    display:flex;
    flex-wrap:wrap;
    padding: 0;
    align-content: center;
}
#imagenesconcurso img{
    height:24em;
    
}

.concurso{
    display:flex;
    flex-direction: row;
    margin:1em;
    
}
#texto{
    display: flex;
    flex-direction:column;
    flex-wrap: wrap;
    width:50em;
    background-color:green;
    color:white;
    padding: 1em;
    
}
#texto h1{
    font-size: 2em;
   
    
    
}
#texto h2{
    margin:0;
    padding: 0;
    font-size:1em;
}
#botoneraactividad nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;;
    align-items:left;
}
#botoneraactividad nav ul li {
    margin: .23em 0 0.5em .25em;
    padding: 0.3em 0.6em;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-align: center;
    display: block;
    text-transform: uppercase;
    
}
#botoneraactividad nav ul li a{
    margin: .23em 0 0.5em .25em;
    padding: 0.3em 0.6em;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-align: center;
    display: block;
    text-transform: uppercase;
    
}
   .videoresponsive {
    position: relative;
    margin: auto;
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 15px;
    margin-top: 25px;
}

.videoresponsive iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
}

#algo{
    padding:15em;
}

/*MEDIA*/

@media  screen and (min-width: 768px){
figcaption .boton{
        min-height:5rem;
        min-width:5rem;
    }
main,body, footer{
        max-width: 50 em;
        margin: auto;
    }
    #todos{
        max-width: 50em;
    }
h1, .index_h1, h2{
        margin: 3rem 0 1rem 0;
    }
    
    
}

@media (max-width:768px) {
    main{
        max-width: 50em;
        display:flex;
        flex-direction: row;
        flex-wrap:wrap;
        justify-content: center;
        width:100%;
        margin:0;
    }
    header label {
        display: block;
    }
    body{
        margin:0.4em;
        align-content: center;
        align-items: center;
    }
    #recientementeagregados{
        margin:0;
        padding:0;
        width:100%;
        align-content: center;
        justify-content: center
    }
    #todos{
        width:20%;
        max-width:50em;
        display:flex;
        flex-direction: column;
        margin:1em;
        padding: 0;
        width:auto;
    }
    .concurso{
        margin:1em;
    }
    #buscar{
        margin:0.1em;
    }
    .menu {
        position: absolute;
        background-color: white;
        width: 50%;
        margin-left: -70%;
        transition: all 0.5s ease;
    }
    
    .menu ul {
        flex-direction: column;
        background-color: rgb(224, 246, 255);
    }
    
    .menu li {
        border-top: 1px solid black;
    }
    
    #menu:checked ~ .menu {
        margin: 0;
    }
    img#imagenesconcurso{
    display: none;
  }
  
    .concurso{
        justify-content: center;
        width:auto;
        margin:1em;
    }
.videoresponsive {
    position: relative;
    margin: auto;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 1em;
    margin-top: 1em;

}

.videoresponsive iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
}
  img#imagenesconcurso{
    display: none;
  }

}
