@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

:root {
    --main-bg-color: #1d1d1d;
    --main-txt-color: aliceblue;
    --border-color: goldenrod;
    --main-txt-size: 4vw;
    --bg-color: rgb(19, 19, 19);
    --slogan-fz: 10vw;
    --h1-fz: 7vw;
    --right-first-block-height: 14vh;
}

* {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    /* background-color: #fff; */
    color: var(--main-txt-color);
    font-family: sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    background-color: transparent;
}

.connect-error {
    text-align: center;
    font-family: 'Exo 2';
    user-select: none;
    /*margin-top: 43vh;*/
    color: goldenrod;
}

body {
    width: 100%;
    height: 107vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#calendar-body {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#calendar-wrapper {
    height: 90%;
    width: 70%;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 10px 20px 0px rgb(0, 0, 0);
    border-radius: 10px;
    z-index: 1000;
}

#calendar-face {
    height: 10%;
    width: 100%;
    background-color: #202020;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 1000;
}

#location-wrapper {
    width: 20%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #202020;
}

#location {
    width: 100%;
    font-family: 'Exo 2';
    text-align: center;
    font-size: 32px;
    background-color: #202020;
    user-select: none;
}

#location-year {
    width: 100%;
    font-family: 'Exo 2';
    text-align: center;
    font-size: 18px;
    margin-top: .5rem;
    background-color: #202020;
    user-select: none;
}

.switcher {
    width: 5%;
    height: 100%;
    cursor: pointer;
    font-size: 42px;
    font-weight: 900;
    font-family: 'Exo 2';
    border: none;
    background-color: #202020;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;

}



#dates-area {
    margin-top: 1px;
    width: 100%;
    height: calc(90% - 1px);
    border-bottom-right-radius: 10px;
    /* display: flex;
    flex-wrap: wrap; */
    z-index: 1000;
    user-select: none;
}

.days-wrapper {
    background-color: #202020;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.day {
    background-color: aliceblue;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    cursor: pointer;
    overflow: hidden;
}

.date:hover {
    transform: scale(.975);
}

.long {
    width: calc(100% / 7 - 1px);
    height: calc(100% / 5 - 1px);
}

.short {
    width: calc(100% / 6 - 1px);
    height: calc(100% / 5 - 1px);
}

.long-mob31 {
    width: calc(100% / 5 - 1px);
    height: calc(100% /7 - 1px);
}

.long-mob30 {
    width: calc(100% / 5 - 1px);
    height: calc(100% /6 - 1px);
}

.date {
    font-family: 'Exo 2';
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.today {
    color: goldenrod;
}

.notoday {
    color: aliceblue;
}

.oppo-logo {
    width: 50%;
    background-color: transparent;
}

#birthday {
    width: 45%;
    background-color: transparent;
}

#bd-span {
    font-size: 12px;
    background-color: transparent;
    color: #202020;
    font-weight: 900;
    margin-top: 10px;
}

#overlay {
    position: absolute;
    background-color: rgba(32, 32, 32);
    width: 100%;
    height: 100%;
    z-index: 9999;
    transition: .4s;
}

#modal {
    position: fixed;
    background-color: rgb(15, 15, 15);
    width: 600px;
    height: 400px;
    z-index: 10000;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 5px 10px 0px rgb(0, 0, 0);
    transition: .4s;
}

#btn-wrapper {
    width: 100%;
    height: 10%;
    background-color: transparent;
    /* background-color: aqua; */
    display: flex;
    align-items: flex-end;
}

#to-match,
#to-match-mob {
    width: 170px;
    height: 35px;
    background-color: goldenrod;
    justify-self: flex-end;
    font-family: 'Inter';
    font-size: 14px;
    border-radius: 17px;
    text-align: center;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: aliceblue;
    font-weight: bold;
    box-shadow: 0px 2.5px 10px rgba(218, 165, 32,.55), inset 0 10px 5px transparent;
    cursor: pointer;
    text-transform: uppercase;
    transition: all .25s ease-out;
}

#to-match:hover {
    transform: scale(.975);
    box-shadow: none;
}

#result-alert {
    width: calc(100% - 170px);
    height: 35px;
    display: flex;
    align-items: center;
    justify-self: flex-start;
    opacity: 0;
    transition: 1s;
    background-color: transparent;
}

#result-alert span {
    background-color: transparent;
    text-align: left;
    font-family: 'Exo 2';
    font-size: 14px;
    color: rgb(180, 180, 180);
}

#closer {
    width: 25px;
    height: 25px;
    align-self: flex-end;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

#closer img {
    width: 100%;
    background-color: transparent;
}

#closer:hover {
    transform: scale(.9);
}

.modal-noactive {
    visibility: hidden;
    transform: scale(0);
    opacity: 0;
}

.modal-active {
    visibility: visible;
    transform: scale(1);
    opacity: 1;
}

.overlay-noactive {
    visibility: hidden;
    opacity: 0;
}

.overlay-active {
    visibility: visible;
    opacity: 0.5;
}

#about-match-wrapper {
    width: calc(100%);
    margin-top: 10px;
    /* margin-bottom: 10px; */
    height: 80%;
}

#pre-match {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(15, 15, 15);
}

#opponents-pre {
    width: 100%;
    height: 50%;
    background-color: rgb(15, 15, 15);
    display: flex;
    align-items: center;
    justify-content: center;
}

#match-info-pre {
    width: 100%;
    height: 20%;
    background-color: rgb(15, 15, 15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#match-history {
    width: 100%;
    height: 30%;
    background-color: rgb(15, 15, 15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.count-res {
    background-color: transparent;
    border: none !important;
    font-size: 14px;
}

#match-history span {
    /* width: 75%; */
    height: 35%;
    font-family: 'Inter';
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-bottom: 1px solid goldenrod; */
    font-size: 16px;
    text-transform: uppercase;
    background-color: transparent;
}

#res-scale-wrapper {
    width: 75%;
    height: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scale {
    display: flex;
    width: 100%;
    height: 70%;
    border: 1px solid aliceblue;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
}

#wins {
    background-color: rgba(68,148,74,.75);
    height: 100%;
    /* width: calc(100%/2); */
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
}

#draws {
    background-color: rgba(128,128,128,.75);
    height: 100%;
    /* width: calc(100%/5); */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
}

#loses {
    background-color: rgba(176,0,0,.75);
    height: 100%;
    /* width: calc(100%/3); */
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
}

.logos-wrapper {
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.logos {
    width: 65%;
    background-color: transparent;
}

.vs-wrap {
    width: 15%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.vs {
    width: 50%;
    background-color: transparent;
}

#top-info {
    width: 75%;
    height: 50%;
    display: flex;
    background-color: transparent;
}

.info {
    height: 100%;
    width: calc(100% / 3);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    
}

.info span {
    font-family: 'Exo 2';
    background-color: transparent;
}

.info img {
    width: 20px;
    background-color: transparent;
    margin-right: 10px;
}

#bottom-info {
    height: 50%;
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

#bottom-info img {
    width: 20px;
    margin-right: 10px;
    background-color: transparent;
}

#bottom-info span {
    font-family: 'Exo 2';
    background-color: transparent;
    text-align: center;
}

#post-match {
    width: 100%;
    height: 100%;
    background-color: rgb(15, 15, 15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#score-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50%;
    background-color: transparent;
}

.score {
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: transparent;
}

.score span {
    font-family: 'Oswald';
    font-size: 72px;
    background-color: transparent;
}

#actions {
    background-color: transparent;
    width: 75%;
    max-height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 10px;
}

.action-wrapper {
    text-align: center;
    width: 50%;
    background-color: transparent;
    font-family: 'Exo 2';
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.action-wrapper div {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

#actions div span {
    background-color: transparent;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon {
    margin-left: 5px;
    height: 18px;
    background-color: transparent;
}

#mob-match-info-wrapper {
    display: none;
    width: 100%;
    height: 70vh;
    background-color: #202020;
}

#mob-match-info {
    width: 100%;
    height: 100%;
    border-top-left-radius: 7%;
    border-top-right-radius: 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.info-span {
    background-color: transparent;
    z-index: 9998;
    font-family: 'Exo 2';
    user-select: none;
    color: rgba(180, 180, 180, .5);
    font-size: 18px;
}

#thisday-wrapper {
    width: 100%;
    height: 5vh;
    background-color: aquamarine;
    background-color: transparent;
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

#thisday-wrapper span {
    font-family: 'Exo 2';
    color: rgba(180, 180, 180, .75);
    user-select: none;
}

#mob-opponents-pre {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 90%;
    height: calc(50% - 5vh)
}

#mob-match-info-pre {
    width: 90%;
    height: 20%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#mob-match-history {
    width: 90%;
    height: calc(100% - 20% - 50% - 5vh);
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#mob-match-history span {
    height: 35%;
    font-family: 'Inter';
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-transform: uppercase;
    background-color: transparent;
}

#mob-top-info,
#mob-bottom-info {
    width: 75%;
    max-width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-info {
    width: calc((100%/3));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-info img {
    margin-right: 10px;
    width: 20px;
    background-color: transparent;
}

.mob-info span,
#mob-bottom-info span {
    font-family: 'Exo 2';
    background-color: transparent;
}

#mob-bottom-info img {
    width: 20px;
    background-color: transparent;
    margin-right: 10px;
}

#mob-post-match {
    width: 90%;
    height: calc(90% - 5vh);
    max-height: 90%;
    max-width: 90%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#mob-score-wrapper {
    width: 100%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;

}

#mob-btn-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

