body{
    background-color: rgb(31, 31, 31);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    margin: 0px;
}
h1,
h2,
h3,
p,
span {
    margin: 0;
    line-height: 1.1;
}
#day,
#team,
#matchType,
#round{

    transition: opacity 0.3s ease;
}

#stream{
    position: relative;
    width: calc(70vw - 90px);
    height: 96vh;
    overflow: hidden;
    border-radius: 25px;
    border:none;
    left: 90px;
}
.selections{
    background-color: rgb(36, 35, 35);
    position: fixed;
    right: 5vh;
    display: flex;
    flex-direction: column;
    width: calc(100vw - 70vw - 5vw);
    height: 96vh;
    border-radius: 25px;
    justify-content: center;
    gap: 10px;
    align-items: center;
    justify-items: center;
}

button{
    display: flex;
    background-color: rgb(46, 43, 43);
    border-radius: 25px;
    height: 30px;
    justify-items: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 200px;
    border: none;
    color: white;
    
}

#notes{
    width: calc(100vw - 70vw - 10vw);
    background-color: rgb(46, 43, 43);
    color: white;
    border-radius: 10px;
    border: none;
    height: 100px;
}

input, select{
    color: white;
    height: 30px;
    background-color: rgb(46, 43, 43);
    width: 200px;
    border-radius: 10px;
    border: none;
}
#previewtoggle{
    color: white;
}
#preview{
    color: white;
    height: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: auto;

}
#teamcard{
    display: flex;
    background-color: rgb(36, 35, 35);
    height: 40vh;
    width: 20vw;
    flex-direction: column;
    justify-items: center;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-radius: 25px;
    transition: transform 0.3s ease;
}
#teamcard:hover{
    transform: scale(1.1);
}
#teams{
    width: 90vw;
    height: 90vh;
    display: flex;
    gap: 10px;
    justify-self: center;
    justify-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
#teamslogo{
    border-radius: 100%;
    height: 40%;
}




@font-face {
    font-family: "Font4788";
    src: url("light.ttf") format("truetype");
}

@font-face {
    font-family: "Font4788Bold";
    src: url("bold.ttf") format("truetype");
}

:root {
    --brand-gradient: linear-gradient(to right, #FF0066, #FFFF33);
    --sidebar: linear-gradient(to bottom, #FF0066, #FFFF33);
    --bg-dark: #131313;
    --card-bg: #222222;
}


.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 90px;
    background: var(--sidebar);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 0, 102, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 15px 20px 15px; 
    box-sizing: border-box;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1000; 
}

.sidebar:hover {
    width: 250px; 
}


.logo {
    position: absolute;
    top: 20px;
    left: 50px;
    height: 50px;
    width: 50px;
    margin-left: 10px;
    object-fit: contain; 
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px; 
    height: calc(100% - 80px);
    overflow-y: auto;
    overflow-x: hidden;
}


.sidebar-menu::-webkit-scrollbar {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px; 
    height: calc(100% - 80px);
    overflow-y: auto;
    overflow-x: hidden;
}


.sidebarbutton {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    width: 100%;
    height: 50px;
    gap: 20px; 
    padding: 0 10px;
    background-color: transparent;
    border: none;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}


.sidebarbutton:hover {
    background-color: rgba(255, 255, 255, 0.15); 
    transform: scale(1.02); 
}

.sidebarbutton span {
    font-size: 35px;
    flex-shrink: 0; 
}

.sidebarbutton p {
    margin: 0;
    font-size: 20px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar:hover .sidebarbutton p {
    opacity: 1;
    transform: translateX(0); 
    transition-delay: 0.1s; 
}

.header h1 {
    font-size: 24px;
    margin: 0;
    letter-spacing: 1px;
}

.logo {
    position: fixed;
    height: 60px;
    top: 10px;
    left: 10px;
}

.headerright {
    position: absolute;
    right: 20px;
}



.card {
    background-color: var(--card-bg);
    height: 350px;
    width: 85%;
    max-width: 500px;
    border-radius: 30px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


.Main {
    font-family: "Font4788Bold", sans-serif;
    font-size: 30px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.subtext {
    font-family: "Font4788", sans-serif;
    color: rgba(255,255,255,0.5);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

.subtext2 {
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1px;
}

button {
    background-color: #333;
    border: none;
    height: 55px;
    color: white;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

button:hover {
    transform: scale(1.1);
}

button:active {
    transform: scale(1);
}

#teamslogo{
    position: relative;
    left: 0px;
    border-radius: 25px;

}
#teams{
    position: relative;
    left: 90px;
}

.videoofmatch{
    position: fixed;
    right: 5vw;
    height: 90vh;
    width: 40vw;
    border-radius: 10px;
    border: none;
}
.videodata{
    background-color: #333;
    position: fixed;
    left: 95px;
    height: 90vh;
    width: 45vw;
    border-radius: 10px;
    border: none;
}
.counter{
    display: flex;
    flex-direction: row;
}
.counter button{
    width:  30px !important;
    height: 30px !important;
}

#ballstotal{
    position: fixed;
    top: 20px;
    max-width: 70vw;
    height: 90vh !important;
    border-radius: 10px;
    right: 10px;
    background-color: rgb(36, 35, 35);;


}

.options{
    height: 90vh;
    border-radius: 10px;
    background-color: rgb(36, 35, 35);;
    position: fixed !important;
    left: 100px !important;
    width: 20vw;
    top: 20px !important;
}
#loading{
    display: flex;
    position: fixed;
    flex-direction: column;
    justify-self: center;
    top: 30vh;
    align-content: center;
    align-items: center;
    width: 30vw;
    align-self: center;
    border-radius: 30px;
    background-color: rgb(23 23 23);
}
#teamsselected{
    background-color: #222222;
    position: fixed;
    width: 30vw;
    justify-items: center;
    height: 96vh;
    border-radius: 25px;
    flex-wrap: wrap;
    overflow: auto;
    border:none;
    gap: 20px;
    row-gap: 10px !important;
    column-gap: 10px !important;
    left: 100px;
}
.alliances{
    background-color: #222222;
    position: fixed;
    width: 30vw;
    justify-content: center;
    align-items: center;
    align-content: center;
    justify-items: center;
    height: 96vh;
    overflow: hidden;
    border-radius: 25px;
    border:none;
    gap: 20px;
    row-gap: 10px !important;
    column-gap: 10px !important;
    left: calc(100px + 30vw + 10px);
}
.alliancecard{
    display: flex;
    height: 100px;
    width: 350px;
    background-color: rgb(23 23 23);
    align-items: center;
    border-radius: 10px;
}
.alliancecard img{
    height: 80px;
    width: 80px;
    border-radius: 10px;
}
.eeeee{
    display: flex;
    flex-direction: column;
}
.Statstics{
    background-color: #222222;
    position: fixed;
    width: 30vw;
    justify-items: center;
    height: 96vh;
    border-radius: 25px;
    flex-wrap: wrap;
    overflow: auto;
    border:none;
    gap: 20px;
    row-gap: 10px !important;
    column-gap: 10px !important;
    left:  calc(100px + 60vw + 20px);
}
.titleandvalue{
    display: flex;
    align-items: center;
    flex-direction: column;
}
#alliancestrengh{
    transition: color 0.3s ease;
}
.alliancepredict{
    background-color: #222222;
    position: fixed;
    width: 30vw;
    justify-items: center;
    height: 96vh;
    border-radius: 25px;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: auto;
    border:none;
    gap: 20px;
    row-gap: 10px !important;
    column-gap: 10px !important;
    left:  calc(100px + 60vw + 20px);
}
th, td {
   border: 1px solid;
}

.backgroundholder{
    width: 100vw;
    height: 100vh;
    background-image: url("/static/backgroundlogin.png");
}
.theloginforum{
    display: flex;
    justify-self: center;
    align-self: center;
    flex-direction: column;
    height: 100vh;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
    justify-self: center;
    gap: 10px;
}
.loginitem{
    display: flex;
    width: 20vw;
    align-items: center;
    border-radius: 10px;
    border: 3px solid white;
    color: white;
}
.loginitem input{
    background: none;
    border-radius: 0px;
    background-color: none;
    width: 100%;
    border: none;
}
.loginitem input::placeholder {
   color: white;
}
.theloginforum button{
    background: none;
    border: 3px solid white;
    width: 100%;
}
.loginlogo{
    position: absolute;
    top: 25px;
    left: 25px;
    height: 80px;
}
.theloginforum img{
    height: 100px;
}
.user img{
    height: 50px;
    width: 50px;
    border-radius: 100px;

}
.user{
    position: absolute;
    display: flex;
    height: 80px;
    width: 215px;
    border-radius: 10px;
    align-items: center;
    transition: background-color 0.3s ease;
    bottom: 25px;

}
.namerank {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    gap: 0;
}


.sidebar:hover .user{
    background-color: #ff006682;
}
#displayname{
    color: transparent;
    transition: color 0.3s ease;
}
#rank{
    color: transparent;
    transition: color 0.3s ease;
}
.sidebar:hover #displayname{
    color: white;
}
.sidebar:hover #rank{
    color: white;
}
.namerank{
    display: flex;
    flex-direction: column;
}
.pitfourm{
    display: flex;
    position: fixed;
    flex-direction: column;
    left: 100px;
    width: (100vw - 100px);
}
.nicerlooking{
    width: 50%;
    display: flex;
    flex-wrap: wrap;
}
.nicerlooking p{
    display: flex;
    align-items: center;
}
.nicerlooking input{
    width: 30px;
    height: 30px;
}
.videostream button{
    display: flex;
    position: fixed;
    left: calc(70vw - 90px);
    bottom: 50%;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 100%;
    align-items: center;
    justify-items: center;
    justify-content: center;
    z-index: 2;
}
#record{
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color: rgb(255, 0, 0);
    transition: border-radius 0.3s ease;
}
