* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background-color: rgba(0, 0, 0, 0.850);
    color: #fff;
    align-items: center;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    width: 100%;
    height: 50px;
    font-family: cursive;
}

#sorteo {
    background-color: rgba(255, 0, 0, 0.114);
    border-radius: 15px;
    margin-right: 2%;
    font-size: 22px;
    padding: .5%;
}

a {
    text-decoration: none;
}

#inicio {
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.439);
    border: 2px dotted rgb(113, 0, 0);
    border-radius: 30px;
    font-size: 20px;
}

#grupos {
    border: 5px solid transparent;
    font-size: 20px;
}

#grupos:hover {
    border: 5px solid rgba(255, 0, 0, 0.500);
    border-radius: 15px;
    padding: 2px;
}

header nav a {
    color: #fff;
    width: 100%;
    height: 5%;
}

#section1 {
    margin: 1% 1% 0% 1%;
    background-color: rgba(0, 0, 0, 0.850);
    border: 2px dotted rgb(113, 0, 0);
}

#squads {
    margin-left: 15%;
}

.local {
    margin: 0 1% 0 10%;
    width: 4%;
    height: auto;
}

.visita {
    margin: 0 0 0 1%;
    width: 4%;
    height: auto;
}

.resultado {
    width: 35px;
    height: 35px;
    margin: 10px 10px;
    border: 1px dashed rgb(114, 84, 0);
    font-family: cursive;
    text-align: center;
    font-size: 25px;
    background: red;
    display: inline-block;
}

.stats {
    margin: 0px 0 0px 0px;
    border: 1px solid rgb(109, 107, 0);
    color: rgb(0, 0, 0);
    background: #a00;
    width: auto;
    height: auto;
    text-align: center;
    font-family: cursive;
    font-size: 15px;
}

.stats:hover {
    margin: 0 0 0 1%;
    border: 1px solid rgb(5, 74, 0);
    background: rgba(0, 0, 0, 0);
    color: rgb(5 74, 0);
    font-family: cursive;
    text-align: center;
    font-family: cursive;
    font-size: 15px;
}

.button {
    margin: 20px 0px;
    padding: 2% 10% 2% 10%;
    border: 1px solid rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.700);
    width: auto;
    height: auto;
    text-align: center;
    font-family: cursive;
}

i {
    font-size: 150%;
    color: rgb(5, 100, 0);
}

.button:hover {
    margin: 20px 0px;
    border: 1px solid rgb(5, 100, 0);
    padding: 2% 10% 2% 10%;
    background: rgba(0, 0, 0, 0);
    font-family: cursive;
}

#fecha {
    width: 200px;
    height: 1px;
    background: red;
    font-size: 18px;
    font-family: 'Dancing Script', cursive;
    color: rgb(201, 158, 1);
    display: inline-block;
}

p {
    width: 200px;
    height: 0px;
    margin: 2% 0%;
    display: inline-block;
    text-align: center;
}

#section2 {
    margin: 1% 1% 0% 1%;
}

.alineacionContainer {
    position: relative;
    width: 100%;
    min-height: 45vw;
    overflow: hidden;
    display: none;
    pointer-events: none;
    opacity: 0;
}

.bottom {
    z-index: 1;
    width: 100%;
    border-radius: 30px;
}

.top {
    z-index: 2;
    width: 100%;
    border-radius: 30px 0 0 30px;
}

.panel {
    position: absolute;
    width: 100vw;
    min-height: 45vw;
    overflow: hidden;
}

.panel .content {
    position: absolute;
    width: 100vw;
    min-height: 45vw;
    color: #FFF;
}

.panel .description1 {
    height: 90%;
    width: 29%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.700);
    border-radius: 30px;
    margin-left: 920px;
}

.panel .description2 {
    height: 90%;
    width: 29%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.700);
    border-radius: 30px;
    margin-left: 22px;
}

.panel img {
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.15);
    width: 35%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#img1 {
    margin: 0 0 0 0;
    width: auto;
    height: 250px;
}

#img2 {
    margin: 0 0 0 0;
    width: auto;
    height: 250px;
    display: flex;
}

.mover {
    height: 100%;
    position: absolute;
    display: block;
    background-color: rgb(253, 171, 0);
    width: 5px;
    top: 0;
    left: 50%;
    z-index: 3;
}

#cerrar {
    display: flex;
    justify-content: center;
}

#close {
    background-color: rgba(253, 0, 0, 0.712);
    border: 2px solid rgb(101, 0, 0);
    border-radius: 15px;
    color: rgb(0, 0, 0);
    font-family: cursive;
    font-size: 20px;
    padding-bottom: 5%;
    padding-top: 5%;
    text-decoration: none;
}

.show {
    pointer-events: auto;
    display: flex;
    opacity: 1;
}

.btn {
    display: none;
    pointer-events: none;
    opacity: 0;
}

.btnShow {
    display: flex;
    pointer-events: auto;
    opacity: 1;
}

#arq {
    display: inline-block;
    border-right: 1px solid rgb(76, 1, 1);
    border-left: 1px solid rgb(76, 1, 1);
    border-bottom: 2px solid rgb(76, 1, 1);
    border-top: .5px solid rgb(76, 1, 1);
    width: 80%;
    padding: 1% 20px 1% 20px;
    margin: 0 3% 2% 3%;
    font-size: 18px;
    font-family: cursive;
}

#def {
    display: inline-block;
    border-bottom: 0.5px solid rgb(255, 255, 255);
    width: 80%;
    padding: 2% 20px 1% 20px;
    margin: 0 3% 1% 3%;
    font-size: 18px;
    font-family: cursive;
}

#med {
    display: inline-block;
    border-bottom: 1px solid rgb(255, 255, 255);
    width: 80%;
    padding: 1% 20px 1% 20px;
    margin: 1% 3% 1% 3%;
    font-size: 18px;
    font-family: cursive;
}

#del {
    display: inline-block;
    border-bottom: 2px solid rgb(255, 255, 255);
    width: 80%;
    padding: 2% 20px 0% 20px;
    margin: 1% 3% 1% 3%;
    font-size: 18px;
    font-family: cursive;
}

#seleccion {
    display: inline-block;
    border: 2px outset rgb(181, 0, 0);
    background-color: rgba(112, 0, 0, 0.11);
    width: 80%;
    padding: 1% 20px 0% 20px;
    margin: 2% 3% 0% 3%;
    font-size: 18px;
    font-family: cursive;
}

#dt {
    display: inline-block;
    background-color: rgba(112, 0, 0, 0.11);
    border-radius: 30px;
    width: 70%;
    padding: 1% 0% 1% 0%;
    font-size: 18px;
    font-family: cursive;
}

@media (max-width:960px) {

    #header {
        display: block;
        height: auto;
        padding: 1px;
    }

    #sorteo {
        width: auto;
        font-size: 20px;
        text-align: center;
    }

    #nav {
        width: 100%;
    }

    #inicio {
        font-size: 10px;
        border: 1px dotted rgb(113, 0, 0);
    }

    #grupos {
        display: inline;
        border: 3px solid transparent;
        font-size: 10px;
        padding: 0 1% 0 0%;
    }

    .local {
        margin: 0 0 0 5%;
        width: 4%;
        height: auto;
    }

    .visita {
        margin: 0;
        width: 4%;
        height: auto;
    }

    #squads {
        margin: 0;
    }

    .resultado {
        width: auto;
        height: auto;
        ;
        font-size: 15px;
    }

    .button {
        padding: 2% 5% 2% 5%;
    }

    .button:hover {
        padding: 2% 5% 2% 5%;
    }

    #fecha {
        width: auto;
        height: 1px;
        font-size: 15px;
        font-family: 'Dancing Script', cursive;
        text-align: center;
    }
}

@media (max-width:500px) {
    .stats {
        display: none;
    }
}