
@media all and (max-width: 1350px) {
    #location-wrapper {
        width: 30%;
    }
}

@media all and (max-width: 1130px) {
    #calendar-wrapper {
        width: 80%;
    }
}


@media all and (max-width: 890px) {
    #calendar-wrapper {
        width: 90%;
    }
}

@media all and (max-width: 790px) {
    #calendar-wrapper {
        width: 100%;
    }
    #location-wrapper {
        width: 35%;
    }
}

@media all and (max-width: 768px) {
    
    #alert {
        font-size: 14px;
        width: 155px;
        height: 45px;
    }

    .alert-noactive {
        top: 105vh !important;
        opacity: 0;
        right: unset;
    }
    
    .alert-active {
        right: unset;
        top: 65vh !important;
        opacity: 1;
    }

    #actions {
        width: 100%;
    }

    .logos {
        width: 55%;

    }

    .days-wrapper {
        border-radius: unset;
    }

    #calendar-wrapper {
        height: 100%;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        border-radius: unset;
        box-shadow: none;
        margin-top: 10vh;
        background-color: #202020;
    
    }

    #calendar-body {
        align-items: flex-start;
    }

    #dates-area {
        border-radius: unset;
    }

    #calendar-face {
        height: 15%;
        width: 60%;
        background-color: rgb(18, 18, 18);
        display: flex;
        justify-content: center;
        border-radius: unset;
        z-index: 1000;
        margin-top: 15px;
        margin-bottom: 20px;
        border-radius: 10px;
        box-shadow: 0px 10px 20px 0px rgb(0, 0, 0);
    }


    #location,
    #location-year,
    #location-wrapper {
        background-color: rgb(18, 18, 18);
    }

    #mob-match-info-wrapper {
        display: flex;
        width: 100%;
        height: 50vh;
    }

    body {
        height: auto;
        
    }

    #location-wrapper {
        width: 60%;
    }

    .switcher {
        height: 100%;
        width: 20%;
        background-color: transparent;
    }
    .switcher:hover {
        color: goldenrod;
    }

    #pre-match,
    #opponents-pre {
        border-top-left-radius: 7%;
        border-top-right-radius: 7%;
    }
}

@media all and (max-width: 670px) {
    #mob-match-info-pre {
        width: 100%;
    }
    #mob-top-info,
    #mob-bottom-info {
        min-width: 90%;
        max-width: 100%;
    }

    .mob-info img {
        margin-right: 5px;
    }
}

@media all and (max-width: 570px) {

    .date {
        font-size: 48px;
    }

    .short {
        width: calc(100% / 5 - 1px);
        height: calc(100% / 6 - 1px);
    }

    #calendar-face {
        width: 90%;
    }

}



@media all and (max-width: 475px) {
    .mob-info span,
    #mob-bottom-info span, 
    #actions div span,
    #thisday-wrapper span,
    .info-span {
        font-size: 14px;
    }

    .logos {
        width: 65%;
    }
    .count-res {
        font-size: 10px !important;
    }

    #res-scale-wrapper {
        width: 100%;
    }

    #location {
        font-size: 28px;
    }

    #location-year {
        font-size: 16px;
    }

    .oppo-logo {
        width: 75%;
    }

    .today {
        border: unset;

    }
}

@media all and (max-width: 400px) {
    .score span {
        font-size: 48px;
    }
    .mob-info span,
    #mob-bottom-info span, 
    #actions div span,
    #thisday-wrapper span,
    .info-span {
        font-size: 13px;
    }

}

@media all and (max-width: 370px) {
    .mob-info span,
    #mob-bottom-info span, 
    #actions div span,
    #thisday-wrapper span,
    .info-span {
        font-size: 12px;
    }

    .logos {
        width: 75%;
    }

    #bd-span {
        font-size: 10px;
    }
    .date {
        font-size: 36px;
    }
}

@media all and (max-width: 340px) {
    .mob-info span,
    #mob-bottom-info span, 
    #actions div span,
    #thisday-wrapper span,
    .info-span {
        font-size: 11px;
    }

    #to-match, #to-match-mob {
        font-size: 12px;
    }

    .date {
        font-size: 32px;
    }

    #mob-match-history span {
        font-size: 14px;
    }

    .logos {
        width: 85%;
    }

}

@media all and (max-width: 330px) {
    .mob-info span,
    #mob-bottom-info span, 
    #actions div span,
    #thisday-wrapper span,
    .info-span {
        font-size: 10px;
    }
}