/*
 * Globals
 */


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

body {
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
    user-select: none;
}

.cover-container {
    max-width: 42em;
}


/*
 * Header
 */

.nav-masthead .nav-link {
    color: rgba(255, 255, 255, .5);
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}

.pag {
    display: none;
    height: 90vh;
}

.box {
    background: white;
    color: #1d2124;
    border-radius: 4.5px;
    --aspect-ratio: 1/1;
    aspect-ratio: 1/1;
    font-size: 30px;
    cursor: pointer;
    max-width: 100px;
    max-height: 100px;
}

.field {
    background: #bbbbbb4a;
    color: #ffffff;
    border-radius: 5px;
    font-size: 6.5vw;
    cursor: pointer;
}

#daily .container .justify-content-center .col {
    width: 16%;
}

#daily .container-md {
    max-width: 540px;
}

.selected {
    border-bottom: 5px solid #0080ff;
}

.orange {
    background: #ffa500;
    color: #1d2124;
}

.green {
    background: #00ff80;
    color: #1d2124;
}

.delta {
    background: #cecece;
    color: #FFF;
}

.modal-content {
    background: #343a40;
}

.modal-header, .modal-body, .modal-footer {
    background: #343a40;
    border: 0;
}

.button-all-screen {
    display: none;
    background: rgba(255, 0, 0, 0);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#line1, #line2, #line3 {
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 50px;
    object-fit: cover;
    object-position: bottom;
}

#line1 {
    background-image: url(../img/line1.png);
}

#line2 {
    background-image: url(../img/line2.png);
}

#line3 {
    background-image: url(../img/line3.png);
}

.green2, .orange2, .delta2 {
    padding: 4px 7px;
    border-radius: 5px;
    color: #4c5354;
}

.green2 {
    background: #00ff80;
}

.orange2 {
    background: #ffa500;
}

.delta2 {
    background: #4d5053;
    color: #fbfcfc;
}

#green2 {
    background-position: center;
    height: 26px;
    width: 26px;
    background-image: url(../img/2green.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 24.5%;
}

#orange2 {
    background-position: center;
    height: 26px;
    width: 26px;
    background-image: url(../img/2orange.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 21.5%;
}

#delta2 {
    background-position: center;
    height: 26px;
    width: 26px;
    background-image: url(../img/2delta.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 23%;
}

.coffee {
    background: #0094d3;
    font-weight: bold;
    color: white;
    height: 25px;
    padding: 0px 6px;
    border-radius: 5px;
}

#iframe-container {
    width:100%;
    height:60vh;
    border:none;
    overflow-y: hidden;
}

#time {
    font-size: 30px;
}

#matches , #wins, #sequence, #best-sequence {
    font-size: 30px;
}

@media (max-width: 485px) {
    #green2 {
        left: 28%;
    }
    #orange2 {
        left: 30%;
    }
    #delta2 {
        left: 28%;
    }
}
@media (max-width: 575px) {
    #green2 {
        left: 24%;
    }
    #orange2 {
        left: 28%;
    }
    #delta2 {
        left: 23%;
    }
    .box {
        font-size: 7vw;
    }
}

@media (min-width: 576px) {
    .field {
        font-size: 4vw;
    }
}

@media (min-width: 768px) {
    #daily .container .justify-content-center .col {
        width: 9.5%;
    }

    .field {
        font-size: 4vw;
    }
}

@media (min-width: 992px) {
    .field {
        font-size: 3vw;
    }
}

@media (min-width: 1200px) {
    .field {
        font-size: 2vw;
    }
}

@media (min-width: 2400px) {
    .field {
        font-size: 1.3vw;
    }
}

.treme-active {
    animation: treme 0.1s;
    animation-iteration-count: 3;
}

@keyframes treme {
    0% {
        margin-left: 0;
    }
    25% {
        margin-left: 5px;
    }
    50% {
        margin-left: 0;
    }
    75% {
        margin-left: -5px;
    }
    100% {
        margin-left: 0;
    }
}