@charset "utf-8";

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

#canchasinlineas {
    background-image: url(../imagenes/canchasinlineas.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;   
}


body {
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*------------------------------Andrew-----------------------------------*/

/* inicio splash */
.container{
    position: absolute;
    top: 0;
    background:#ffcd2b;
    color: #ccc;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /*AVG*/
    justify-content: center; /*AVG*/
    align-items: center; /*AVG*/
}

.preloader{
    margin-bottom: 5em; /*AVG*/
    width: 350px;
    height: 30px;
    background-color: black;
    position: relative;
}

.preloader:before{
    content: "";
    position: absolute;
    background-color: white;
    width: 0;
    height: 30px;
    animation: preloader 7s infinite;
}

.cerrar {
    transform: translateY(-100%);
    transition: all 0.5s;
}

@keyframes preloader{
    90%{
        width: 100%;
        opacity: 1;
    }
    100%{
        width: 100%;
        opacity: 0;
    }
}

.logo {
    margin-bottom: 3em; /*AVG*/
}

.logo img{ /* AVG cambio de selector */
    width: 50vw; /*AVG*/
}

/* fin splash */

/* inicio iniciar sesión */

    /* TODO ESTO CON DIV/CLASS */
.manzano {
    background: #fff;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-content: center;
}

.manzano .manzana{
    width: 30%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display:flex;
    justify-content:center;
}
    /* TODO ESTO CON DIV/CLASS */

section .navegacion{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navegacion{
    text-decoration: none;
    list-style: none;
}

    /* TODO ESTO CON DIV/CLASS */
.cerezos .cereza{
    padding: .6em 0;
    font-weight:900;
    list-style: none;
}

.cerezos .cereza a{
    padding: .5em;
    width:12em;
    height: auto;
    background-color: black;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    justify-content:flex-start;
    color: white;
}
    /* TODO ESTO CON DIV/CLASS */

.peral .pera{
    padding:0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.duraznero .durazno{
    padding: .6em 0 0;
    list-style: none; 
    display: flex;
    justify-content: center;
}

.duraznero .damasco a{
    padding: 0;
    display: flex;
    justify-content: center;
    text-decoration: none;
    list-style: none;
    color: black;
   
}

.durazno a{
    background-color: orange;
    border-radius: 26px;
}

section .peral .damasco input{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

input{
    padding: .5em;
    width:12em;
    height: auto;
    background-color: black;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    justify-content:flex-start;
    color: white;
}

.duraznero .durazno button{
    width: 100%;
    height: auto;
    padding: 5px 0 5px 0;
    display: flex;
    justify-content: center;
    text-decoration: none;
    list-style: none;
    color: black;
    
}

    /* TODO ESTO CON DIV/CLASS */
.carozo{
    background-color: orange;
    border-radius: 20px;
}
    /* TODO ESTO CON DIV/CLASS */
/* fin iniciar sesión */

/* inicio club elegido */

.fondo{
    
    background: #ccc;
}

.fragaria{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background: #fff;
}

.fragaria h1{
    width: 100% ;
    height: auto;
    padding: .3em 0 ;
    background-color: white;
    display: flex;
    justify-content: center;
    color:black;
}

.ananassa h2{
    display: flex;
    justify-content: center;
    
    
}

.seccion{
    background: #;
    width: 100%;
    height: 100%;
    padding: 0% 5% ;
    flex-direction: column;
}

.fresa{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}

section .fresa img{
    width: 20%;
    height: auto;
}

.seccion .ananassa{
    width: 60%;
    height: 2em;
    margin-left:20% ;
    background-color: black;
    border-radius: 2em;
    
    display: flex;
    justify-content: center;
}

.ananasa{
    width: 70%;
}

.seccion .ananassa h2{
    width: auto;
    height: auto;
    color:white;
    display: flex;
    justify-content: center;
}

.seccion .aquenio{
    width: 60%;
    height: auto;
    padding: .7em;
    border-style: solid;
    border-color: black;
    color: black;
    margin-left: 20%;
}

section .aquenion p{
    padding: .7em;
    
}
    /* TODO ESTO CON DIV/CLASS */
.hipantio{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
}

.hipantio .aguacate {
    height: 50%;
    width: 100%;
}

.hipantio .aguacate .persea .palta {
    width: 20%;
    height: 20%;
    list-style: none;
}

.hipantio .aguacate .persea .palta .baya{
    width: 9em;
    height: 2em;
    background-color: orange;
    border-radius: 20px;
    font-size: 20px;
}


    /* TODO ESTO CON DIV/CLASS */
/* fin club elegido */

/* inicio slider */

    *sandia{
    width:  40%;
    margin: auto;}

}

.lanatus{
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
}


.bxslider{
    position: absolute;
    color: #ffcd2b;
    width: auto;
    height: 40%;
    
}

.bxslider .cucurbitaceae img{
    margin-left: 35%;
    width: 30%;
    display: flex;
    align-items: center;
}

/* fin slider */

/*--------------------------------Andrew---------------------------------*/

/*------------------------------------NOE-------------------------------*/

.cancha{
    margin: 0;
    padding: 0;
    background-image: url(../imagenes/cancha%20con%20lineas%20blancas.svg);
    background-position: center center;
    background-repeat: no-repeat;
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
     background-size: cover;}


/*------------------------------------NOE-------------------------------*/

img {
    max-width: 100%;
    height: auto;
}

ul { 
    list-style: none; 
}

/* --------------------------MAITE------------------------------------ */

/* inicio del header */
header {
    background-color: #ffcd2b;
    padding: .2em;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content:space-around;
}

header #atras {
    justify-content: flex-start;
    width: 1.2em;
}

header #redo {
}

#logo {
    display: flex;
    width:2.5em;
    max-width: 100%;
    justify-content: flex-start;
}

header > ul {
    display: flex;
}

header > ul > li {
    width: 1.5em;
    height: auto;
    margin: 2em;
    display: flex;
    cursor: pointer;
}

header > ul > li > a {
    width: 100%;
    height: 100%; 
    display: flex;
  }

header nav {
    background-color: rgba(255, 255, 255, 1);
    color: white;
    position: fixed;
    right: -50vw;
    top: 0;
    height: 100vh;
    width: 50vw;
    transition: all .6s ease;
    z-index: 10;  
}

header nav.menuvisible {
    right: 0;
    transition: all .6s ease;
}


#llamamenu {
    z-index: 12;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    width: 24px;
}

.usuario {
    padding-top: 2.94em;
    text-align: center;
    color: black;
    display: flex;
    flex-direction: column;
    align-content: center;
    background-color: #ffcd2b;
    padding-bottom: 1em;
}

.usuario img {
    width: 25vmin;
    height: 25vmin;
    max-width: 15em;
    max-height: 15em;
    margin: auto;
    border-radius: 50%;
    padding: .5em;
}

.usuario p {
    margin: auto;
    background-color: black;
    width: 72%;
    color: white;
    padding: .6em;
    border-radius: 50px;
}

header nav a {
    border-bottom: solid;
    color: black;
    display: block;
    padding: .5em .5em;
    text-align: left;
    text-decoration: none;
    transition: color .8s;
}

header nav a:hover {
    color: #ffcd2b;
    transition: .8s;
    transition-delay: .3s;
}

#cerrar {
    display: flex;
    background-color: #ffcd2b;
    width: 1.5em;
    height: 1.5em;
}

header nav a img{
    width: 1em;
    margin-right: .5em;
}
/* Esto para ESCONDER un ícono que NO VA en el HEADER */
/* class="esconder"
en el <li> en el html después del id*/
header .esconder{
   visibility: hidden; 
}
/* Esto para un link que NO VA en el NAV */
/* class="inhabilitado"
en el <a> en el html 
y 
class="esconder"
en la img en el html*/
header nav .inhabilitado{
    color: darkgrey;
}

/* fin del header */

/* --------------------------MAITE------------------------------------ */





/*------------------------------------NOE-------------------------------*/




/* inicio elegi a tus jugadores */
.barrainfo{
    display: flex;
    background-color: black;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0,1em;
    
}

section{
    color:#ffca00;
    text-align: center;
    font-weight: bolder;
    padding: 0.5em; 
}

.modal img{
   width: 50px; 

}

.enemy{
   opacity: 10%;
}
.contenedorcito {
    align-content: space-between;
    text-align: center;
    clear: both;
    overflow: hidden;
    height:100%;
width: 100%;   
}


.contenedorcito img{
    width: 70px;

}


.team{
    display: inline;
    align-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.team:hover{
    background: #ffca00;
    border-radius: 50%;
}

.contrario {
    display: inline;
    align-content: center;
    justify-content: flex-end;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
opacity: 20%;
}

.miequipo{
    margin-top: 30px;
    
}

.contrincante{
    margin-bottom: 30px;
}

.escudo{
    display: flex;
    width: 10%;
    margin-top: 30px;

}
/* fin elegi a tus jugadores */


/*------------------------------------NOE-------------------------------*/

/* jugadores */

.team{
    display: inline;
    align-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.team:hover{
    background: #ffca00;
    border-radius: 100%;
}

.contrario {
    display: inline;
    align-content: center;
    justify-content: flex-end;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;

}

.miequipo{
    margin-top: 30px;
}

.contrincante{
    margin-bottom: 30px;
}

.escudo{
    display: flex;
    width: 10%;
    margin-top: 30px;
  }  


.navegacion{
    text-decoration: none;
    list-style: none;
    
}

/* fin jugadores */

/* inicio ambosequipos */
.contrario1 {
    display: inline;
    align-content: center;
    justify-content: flex-end;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
  } 

.barraabajo{
    display: flex;
    background-color: black;
    justify-content:center;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0,1em; 
}
   
/* fin de ambosequipos */

/* inicio equipocontrario */

.opositor:hover{
    background: #ff0000;
    border-radius: 50%;
}

.barraabajo{
    
    display: flex;
    background-color: black;
    justify-content:center;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0,1em;
    }
/* fin de ambosequipos */


/* inicio seguro que deseas continuar */
.confirmar{
   width: 60%;
    height: 30%;
   background: white;
    opacity: 70%;
}


.confirmar h2{
    display: flex;
    justify-content: center;
    padding: 0,1em;
    
}

.confirmar logo img{
    width: 10%;
    height: auto;
 
}

/* fin seguro que deseas continuar */

/* --------------------------MAITE------------------------------------ */

/* inicio perdiste/ganaste */
#perdisteoganaste {
    display: flex;  
    display: flex;
    flex-direction: column;
    align-items:center;
}

#perdisteoganaste img {
    display: flex;
    width: 50%;
    margin: 1em;
}

#perdisteoganaste p {
    color: white;
    font-size: 3.5em;
    margin: .2em;
    text-align: center;
}

#perdisteoganaste li {
    display: flex;
    background-color: black;
    border-radius: 50px;
    padding: .8em;
    margin: 1em;
}

#perdisteoganaste #verpremio {
    background-color: #ffcd2b;
}

#perdisteoganaste li a {
    display: flex;
    text-decoration: none;
    color: white;
    margin: auto;
}

main #mensajeperdisteoganaste {
    font-size: 1em;  
}

#compartir-nuevopartido {
    margin-top: 40%;
}

#perdisteoganaste h1 {
    background-color: #ffca00;
    margin: .5em;
    padding: .5em;
    text-align: center;
    border-radius: 5px;
    background-size:contain;
    background-size:cover;
}

#perdisteoganaste h2 {
    background-color: black;
    color: white;
    padding: .5em;
    border-radius: 50px;
    margin: .5em;
    text-align: center;
}

#perdisteoganaste section div li {
    flex-direction: row;
    list-style: none;
    padding: 3em; 
    margin: 1em;
    border-style: solid;
    background-color: white;
}
/* fin perdiste/ganaste */


/* inicio tu equipo/otros equipos */

#tuequipo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
}

#escudodavinci {
    width: 30%;
    display: flex;
    margin-left: 40%;
    margin-right: 40%
}

#tuequipojugadores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#headertuequipo {
    
}

#nombretuequipo{
    background-color: black;
    color: white;
    padding: .5em;
    border-radius: 50px;
    margin: .5em;
    text-align: center;
}

#tuequipo h1 {
    background-color: #ffca00;
    margin: .5em;
    padding: .5em;
    text-align: center;
    border-radius: 5px;
    background-size:contain;
    background-size:cover;
    color: black;
}

#tuequipo div li {
    flex-direction: row;
    list-style: none;
    padding: 1em; 
    margin: 1em;
    /*
    border-style: solid;
    background-color: white;
    */
    color: black;
}


#tuequipojugadores .otrosescudos{
    width: 13em;
}

.asideotrainfo{
    width: 30%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    display: none;
}

.otrainfo{
    text-align: justify;
}

.jugadores {
    
}

.jugadores h3 {
    color: white;
    margin: .3em;
    padding: .3em;
    background-color: rgba(169, 169, 169, 0.6);
    border-radius: 5px;
}

.jugadores p{
    color: rgba(105, 105, 105, 0.56);
}

.jugadores li #players {
    border-radius: 50%;
    margin-right: .5em
}

.jugadores li #status {
    width: 7em;
}

#footer{
    display: flex;
    margin: 2em;
    display: none;
}

#footer h3{
    width: 95%;
    text-align: center;
}

#footer p{
    text-align: justify;
    background-color: rgba(255, 255, 255, 0.84);
    padding: .5em;
    border-radius: 3px;
}

#footer div{
    padding: 1em;
    width: 40%;
}

.otrosescudos{
    
}
/* fin tu equipo/otros equipos */

/* inicio tu perfil */
#usuariotuperfil {
    border-radius: 50%;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
}

#usuarioperfil {
    display: flex;
    flex-direction: column;
    align-items:center;
}

#usuarioperfil h1 {
    color: black;
    background-color: #ffca00;
    margin: .5em;
    padding: .5em;
    text-align: center;
    border-radius: 5px;
    background-size:contain;
    background-size:cover;
}

#usuarioperfil h2 {
    background-color: black;
    color: white;
    padding: .5em;
    border-radius: 50px;
    margin: .5em;
    text-align: center;
}

#usuarioperfil section div li {
    flex-direction: row;
    list-style: none;
    padding: 3em; 
    margin: 1em;
    border-style: solid;
    background-color: white;
    color: black;
}

/* fin tu perfil */

/* inicio flechita siguiente */
.siguiente {
    display: flex;
    background-color: #ffca00;
    border: 4px solid rgba(0, 0, 0, 0.11);
    border-radius: 50%;
    box-shadow: 0 .15em .1em rgba(0, 0, 0, 0.13);
    cursor: pointer;
    display: flex;
    width: 3rem;
    height: 3rem;
    position:fixed;
    bottom: 1rem;
    right: 1rem;
    /*visibility: hidden;*/
}

.siguiente img {
    display: flex;
    width: 1.4em;
    position:fixed;
    bottom: 1.1rem;
    right: 1.6rem;
}

.siguiente > * {
    margin: auto; 
}
/* Esto para ESCONDER la flechita SIGUIENTE */
/* id="esconder2"
en el <div> en el html después del class*/
#esconder2{
   visibility: hidden; 
}
/* fin flechita siguiente */

/* inicio popup/modal */
.modal {
    background-color: rgba(0, 0, 0, 0.44);
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
    opacity: 0;
    visibility: hidden;
    transition: all .5s;
}

.modal__content {
    width: 85%;
    height: 30%;
    background-color: white;
    position: absolute;
    /* modificar top para ajustar posición */
    top: 60%;
    left: 7.5%;
    border-radius: 2%;
    padding: 1em;
    transition: all .5s;
}

a:link,
a:visited {
    text-decoration: none;
}

.modal__close {
    color: grey;
    font-size: 2em;
    position: absolute;
    /* modificar top para ajustar posición */
   
    right: .5em;
    cursor: pointer;
}

.modal__heading {
    color: black;
}


.modal-open {
    color: dodgerblue;
    margin: 2em;
}

#modal:target {
    opacity: 1;
    visibility: visible;
}

#modal:target .modal{
    opacity: 1;
    visibility: visible;
}

#modal:target .modal__content{
    opacity: 1;
    visibility: visible;
}
/* fin popup/modal */

/* --------------------------MAITE------------------------------------ */

/* inicio video */
video {
    display: flex;
    margin-left: 10%;
    
}



/* inicio @media */
@media screen and (min-width:0px) and (max-width:630px) {

    
    #primerheader {
        visibility: visible;
    }
    
    #segundoheader {
        max-width: 5%;
        visibility: hidden;
    }
    
    #tercerheader {
        max-width: 5%;
        visibility: hidden;
    }
}

@media screen and (min-width:630px) and (max-width:830px) {
    header > ul > li {
    margin: 4.5em;
}
    
    #primerheader {
        max-width: 100%;
        visibility: visible;
    }
    
    #segundoheader {
        max-width: 5%;
        visibility: hidden;
    }
    
    #tercerheader {
        max-width: 5%;
        visibility: hidden;
    }
}

@media screen and (min-width:830px) and (max-width:1030px) {
    header > ul > li {
    margin: 3em;
}
    #primerheader {
        max-width: 5%;
        visibility: hidden;
    }
    
    #segundoheader {
        max-width: 5%;
        visibility: hidden;
    }
    
    #tercerheader {
        max-width: 100%;
        visibility: visible;
        z-index: 11;
        top: 0;
        position: fixed;
        width: 100%;
    }
    
    #tercerheader a {
        color: black;
    }
    
    #tercerheader img {
        margin-right: 1em;
    }
    
    #escudodavinci {
        width: 15em;
    }
    
    #footer{
    display: flex;
}
    
    .asideotrainfo{
    display:flex;
    float: left;
}
    #canchasinlineas {
    background-image: url(../imagenes/canchasinopacidad.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
}
    
}


@media screen and (min-width:1030px) and (max-width:4000px) {

    header > ul > li {
    margin: 4em;
}
    
    #tercerheader {
        max-width: 5%;
        visibility: hidden;
    }
    
    #primerheader {
        max-width: 5%;
        visibility: hidden;
    }
    
    #segundoheader {
        max-width: 100%;
        visibility: visible;
        z-index: 11;
        top: 0;
        position: fixed;
        width: 100%;
    }
    
    #segundoheader a {
        color: black;
    }
    
    #segundoheader img {
        margin-right: 1em;
    }
    
    #escudodavinci {
        width: 15em;
    }
    
    #footer{
    display: flex;
}
    
    .asideotrainfo{
    display:flex;
}

#canchasinlineas {
    background-image: url(../imagenes/canchasinopacidad.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
}

#textopremio {
    font-size: 2em;
    font-weight: bolder;
    background: black;
    color: white;
    padding: .2em;
    border-radius: 10px;
    margin-top: 1em;
    }

    
    @keyframes example {
  0%   {background-color: red;}
  25%  {background-color: yellow;}
  50%  {background-color: blue;}
  100% {background-color: green;}
}

#textopremio {
  background-color: red;
  animation-name: example;
  animation-duration: 10s;
}
}

/* fin @media */
    
    
    
    
    