@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
ul{
    list-style:none;
}
img{
    display: block;
    width: 100%;
    height: auto;
}
h1,h2,h3,p,div,a,input,label,textarea,select{
    font-family: "Open Sans",sans-serif;
}
h1,h2{
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color:#fff;
    text-shadow: 3px 3px #00BF63;
    margin-bottom: 3rem;
}
p{
    font-size: 1.25rem;
    font-weight: 600;
    margin:.5rem 0;
}
a{
    font-size: 1.25rem;
    font-weight: 600;
    color:#fff;
    text-decoration: underline;
}
.text-center{
    text-align: center;
}
/*.text-blue{
    color: #0000ff;
}
.text-red{
    color: #ff0000;
}*/
.container{
    width: 90%;
    margin:0 auto;
}
.flex{
    display: flex;
    flex-wrap: wrap;
}
.justify-between{
    justify-content: space-between;
}
.justify-center{
    justify-content: center;
}
.align-center{
    align-items: center;
}
.align-end{
    align-items: end;
}
.btn{
    display:inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    border:none;
    padding: .5rem 1rem;
    cursor: pointer;
}
.fwd-btn{
    background-color: #00BF63;
    border-right: 3px solid #0B703F;
    border-bottom: 7px solid #0B703F;
}

.fwd-btn:hover{
    background-color: #0B703F;
}
.bck-btn{
    background-color: #AA0000;
    border-right: 3px solid #880000;
    border-bottom: 7px solid #880000;
    display: inline-block;
}
.bck-btn:hover{
    background-color: #880000;
}
/**********************Cookies Consent***********************/
.cookies-consent-btn{
    font-size: 1rem;
    width: 100%;
    border-right: 1px solid #0B703F;
    border-bottom: 4px solid #0B703F;
}
#cookies-policy .cookies__category input:checked + .cookies__box::after{
    background-color: #00BF63 !important;
}
#cookies-policy .cookies__details{
    color:#00BF63 !important;
}
/********************Forms********************/
.form-wrapper{
    max-width: 440px;
    margin:0 auto;
}
.input-group{
    margin: 1rem 0;
}
.input-group button{
    width:50%;
    font-size:1rem;
}
input[type="text"],input[type="password"],input[type="date"],select,textarea,label{
    display: block;
    width: 50%;
}
input[type="range"]{
    width: 150px;
}

input[type="text"],input[type="password"],input[type="date"],select,textarea{
    font-size: 1rem;
    color:#000;
    border-radius: 50px;
    border:none;
    padding:.5rem 1.25rem;
    outline: none;
}
input[type="checkbox"]{
    display: inline-block;
    width: 20px;
    height: 20px;
}
input[type="checkbox"] + label{
    display: inline-block;
    width: 90%;
}
label,.range-value-display,#file-name-display{
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}
#selected-foto{
    display: none;
    width: 80%;
    margin: 0 auto;
}
#progress-bar-wrapper{
    display: none;
    width: 100%;
    background-color: #ccc;
    border-radius: 50px;
    margin:1rem 0;
    position: relative;
    overflow: hidden;
}
#progress-bar{
    width: 0%;
    height: 20px;
    background-color: #00BF63;
}
#progress-bar-value{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
}
.error-input,.error-msg,.success-msg{
    font-size: .8rem;
    font-weight: 400;
    color:#fff;
    display: inline-block;
    border-radius: 4px;
    padding: .25rem;
    margin: .5rem 0;
}
.error-input,.error-msg{
    background-color: #AA0000;
    border: #880000;
}
.success-msg{
    background-color: #00BF63;
    border: #0B703F;
}
.form-btns{
    margin:2.5rem 0;
}
.visibility-label{
    font-size: 1.25rem;
    font-weight: 600;
    color:#000;
}
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin:0 10px;
  }
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #00BF63;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  .filter-wrapper .input-group{
    margin:.5rem 10px .5rem 0;
  }
  .filter-wrapper .btn{
    margin: .5rem 0;
  }
.filter-wrapper .input-group > * {
    width: 100%;
}
/********************Tables*******************/
table{
    width: 100%;
    margin: 1rem 0;
    border-spacing: .0rem;
}

table th,table td{
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    padding: .5rem;
    
}

table th{
    text-transform: uppercase;
    color:#000;
    cursor: pointer;
}
table#categoria-table th .table-heading-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}
table#categoria-table th img{
    display: inline-block;
    width: 20px;
    height: 20px;
}
table td{
    color:#fff;
}
table td a{
    color:#7a7cf7;
}
table.ficha-table th{
    color:#fff;
    text-transform: none;
    cursor: auto;
}
table.ficha-table td{
    color:#000;
}
table tbody img {
    width:200px;
    margin:0 auto;
}
.hide-data{
    display: none;
}
.visitas-table-wrapper{
    max-width: 440px;
    margin:0 auto;
}
.pagination .page-item.disabled > *{
    display: none;
}
.pagination .page-item > *{
    display: block;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
}
.pagination .page-item.active > *{
    background-color: #00BF63;
    color: #fff;
}
/********************Header*********************/
#header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 100;
}
.logo-wrapper{
    max-width: 70px;
}
.nav-links .nav-link{
    margin: 0 .5rem;
}
.nav-links .nav-link a{
    font-size:1rem;
    font-weight: 600;
    text-decoration: none;
}/*
.nav-links .nav-link a:hover{
    color:#0B703F;
}
.nav-links .nav-link a.logout-link{
    color:#AA0000;
}
.nav-links .nav-link a.logout-link:hover{
    color:#880000;
}*/
/********************Homepage*******************/

.homepage-layout{
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr auto;
    grid-gap: 0;
}
.homepage-top{
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    padding: 2rem 0 2rem;
    background-image: url('../img/portada-inicio.png');
    background-position: center center;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
}
.homepage-top p{
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}
.homepage-top p:nth-child(2){
    margin-bottom: 3rem;
}
.homepage-top p:last-child{
    display: inline-block;
    color:#aa0000;
    border:4px solid #aa0000;
    padding: .5rem;
}
.homepage-player-section{
    grid-column:  1 / 2;
    grid-row: 2 / 3;
    background-image: url('../img/jugador.png');
    background-position: center center;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
}
.homepage-club-section{
    grid-column:  2 / 3;
    grid-row: 2 / 3;
    background-image: url('../img/club.png');
    background-position: center center;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
}
.homepage-presentation-section{
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    background: url('../img/descripcion.png');
    background-position: bottom center;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 2rem 3rem;
    position:relative;
    background-blend-mode: multiply;
}
.homepage-presentation-section .white-background{
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: .5;
    z-index: -1;
}
.homepage-presentation-section p{
    font-weight: 600;
    color: #000;
    margin-bottom: 1.25rem;
}
.homepage-player-section,.homepage-club-section{
    padding: 4rem 3rem 1rem;
}
.homepage-player-section h2,.homepage-club-section h2{
    margin-bottom: 6rem;
}
.signin-signout-links .signin-signout-link{
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    color:#fff;
    border-radius: 4px;
    border:4px solid #fff;
    border-top: none;
    padding: .5rem;
}
.signin-signout-links .signin-signout-link:hover{
    color:#0B703F;
     border:4px solid #0B703F;
    border-top: none;
}
/*********************Signin Page***********************/
.signin-section{
    background-image: url('../img/signin.jpg');
    background-position: center top;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    padding:6rem 0 3rem;
}
/*********************Register Page********************/
.register-section{
    background-image: url('../img/signin.jpg');
    background-position: center top;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    padding: 6rem 0 3rem;
}
.register-section p{
    font-size: 14px;
    color: #fff;
}
/*********************CLUB**************/
.categorias-section{
    min-height:100vh;
    background-image: url('../img/categorias.jpg');
    background-position: center center;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    padding:6rem 0 3rem;
}
.categorias-links{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap:2rem 1rem;
}
.categorias-links .categoria-link .btn{
    font-size: 3.5rem;
    display: block;
}
.categoria-section{
    min-height: 100vh;
    background-image: url('../img/categoria.png');
    background-position: center;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 6rem 0 3rem;
}
/*****************Player*****************/
.ficha-section,.perfil-section{
    min-height: 100vh;
    padding: 6rem 0 3rem;
    background-position: center center;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;
}
.ficha-section{
    background-image: url('../img/ficha.jpg');
}
.perfil-section{
    background-image: url('../img/perfil.png');
}
.ficha-columns .ficha-left-column{
    width: 80%;
}
.ficha-columns .ficha-right-column{
    width: 20%;
}
.ficha-foto-wrapper{
    margin: 1rem 0;
}

.videos-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap:2rem;
    margin-bottom: 2rem;
}
/******************Essential Pages********************/
.essential-section{
    /*background: url('../img/categoria.png');
    background-position: bottom center;
    background-origin: border-box;
    background-repeat: no-repeat;
    background-size: cover;*/
    background-color: #66D9A1;
    padding: 6rem 0 3rem;
}
.essential-section ul{
    padding-left: 1rem;
    list-style: disc;
}
.essential-section ul li{
    font-size: 1.2rem;
    font-weight: 600;
}
.essential-section td{
    color: #000;
}
.essential-section h3{
    margin: 1rem 0;
}

/******Footer******/
#footer{
    background-color: #00BF63;
}
.footer-links{
    
    padding: .5rem 0;
}

@media only screen and (max-width:440px){
    h1,h2{
        font-size: 2.5rem;
    }
    table th,table td{
        font-size: 1rem;
    }
    .btn{
        font-size: 1rem;
    }
    .header-wrapper{
        flex-direction: column;
    }
    .header-wrapper > * {
        margin: .5rem 0;
    }
    .nav-links .nav-link{
        margin:0 .25rem;
    }
    .homepage-layout{
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }
    .homepage-top{
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        padding-top: 12rem;
    }
    .homepage-top p{
        font-size: 1.5rem;
        position: relative;
    }
    .homepage-player-section{
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .homepage-club-section{
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .homepage-presentation-section{
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }
    .homepage-player-section,.homepage-club-section{
        padding:1rem;
    }
    .signin-signout-links .signin-signout-link{
        font-size: 1rem;
    }
    /***********************tables************************/
    table#categoria-table th,table#visitas-table th{
        background-color: #000;
        color: #fff;
        font-weight: 700;
    }
    table#categoria-table td,table#visitas-table td{
        background-color: #fff;
        color: #000;
    }
    table#categoria-table th, table#categoria-table td, table#categoria-table td a{
        font-size: .55rem;
        padding: .05rem;
    }
    /*****************Club Pages**********************/
    .categorias-section,.categoria-section,.signin-section,.register-section{
        padding-top: 12rem;
    }
    .categorias-links{
        grid-template-columns: 1fr;
    }
    .categorias-links .categoria-link .btn{
        font-size: 2rem;
    }
    /******************Player pages********************/
    .ficha-section,.perfil-section{
        padding-top: 12rem;
    }
    .ficha-columns{
        flex-direction: column;
    }
    .ficha-columns .ficha-left-column,.ficha-columns .ficha-right-column{
        width: 100%;
    }
    .videos-grid{
        grid-template-columns: 1fr;
    }
    .videos-grid .video-cell video{
       width:100%;
       height: auto;
    }

    /***********************Forms********************/
    .filter-wrapper{
        flex-direction: column;
    }
    .filter-wrapper .input-group{
        width: 100%;
        margin:.5rem 0;
    }

    /***************Footer Links****************/
    .footer-links{
        flex-direction: column;
        align-items: center;
    }
    .footer-links li{
        margin: .5rem 0;
    }
}
