@font-face {
    font-family: 'Azonix';
    src: url('fonts/azonix.otf') format('opentype');
}

@font-face {
    font-family: 'Rawline';
    src: url('fonts/rawline-600.ttf') format('opentype');
}

@keyframes tilt {
    0% { transform: rotate(0.25deg); }
    10% { transform: rotate(1deg); }
    20% { transform: rotate(2deg); }
    30% { transform: rotate(-2deg); }
    40% { transform: rotate(1deg); }
    60% { transform: rotate(-0.5deg); }
    80% { transform: rotate(0.5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes glow {
    0% { box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.563); }
    25% { box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.563); }
    75% { box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.563); }
    100% { box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.563); }
}

@keyframes glowsp {
    0% { box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.563); }
    25% { box-shadow: 0px 0px 1px 2px rgb(178, 182, 200) inset;  }
    100% { box-shadow: 0px 0px 0px 5px rgb(178, 182, 200) inset; }
}

@keyframes glow2 {
    0% { box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.563); }
    25% { box-shadow: 0 0 5px 3px rgba(255, 255, 255, 0.563); }
    75% { box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.563); }
    100% { box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.563); }
}

@keyframes press {
    0% { border: solid 5px white; }
    100% { border: solid 5px rgb(66, 64, 74); }
}

.glow1
{ animation: glow 0.25s ease-in-out 1; }

.glow2
{ animation: glow2 0.25s ease-in-out 1; }

.green { background-color: rgb(58, 210, 42) !important; }
.red { background-color: crimson !important; }
.blue { background-color: rgb(0, 132, 255) !important; }
.yellow { background-color: #FFBF00 !important; }

.mgreen { color: rgb(58, 210, 42) !important; }
.mred { color: crimson !important; }
.mblue { color: rgb(0, 132, 255) !important; }
.myellow { color: #FFBF00 !important; }

.bgreen { border-color: rgb(58, 210, 42) !important; }
.bred { border-color: crimson !important; }
.bblue { border-color: rgb(0, 132, 255) !important; }
.byellow { border-color: #FFBF00 !important; }

.ltgreen { background-color: rgb(173, 255, 164) !important; }
.ltred { background-color: rgb(255, 171, 187) !important; }
.ltblue { background-color: rgb(175, 216, 255) !important; }
.ltyellow { background-color: #ffecb3 !important; }

.dkgreen { background-color: rgb(17, 43, 14) !important; }
.dkred { background-color: rgb(44, 13, 18) !important; }
.dkblue { background-color: rgb(13, 29, 44) !important; }
.dkyellow { background-color: #2d240b !important; }

.mltgreen { color: rgb(173, 255, 164) !important; }
.mltred { color: rgb(255, 171, 187) !important; }
.mltblue { color: rgb(175, 216, 255) !important; }
.mltyellow { color: #ffecb3 !important; }

body
{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    min-width: fit-content;
    overflow-x: hidden;
}

body
{
    background-color: rgb(38, 46, 61);
    background-image: url('bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-width: fit-content;
}

p, h1, h2, h3, h4, h5, h6, strong, ul, li, #teamScores, #team-place
{
    color: white;
    font-family: 'Rawline', sans-serif;
    text-align: center;
}

#ss
{
    font-family : 'Azonix', sans-serif;
    margin-bottom: 0;
}

ul
{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

strong
{
    font-size: x-large;
}

h2
{
    background-color: rgb(63, 62, 71);
    padding: 20px 60px 20px 60px;
    padding-top: 15px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

h3
{
    background-color: rgb(58, 210, 42);
    padding: 20px 60px 20px 60px;
    padding-top: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

h4
{
    background-color: rgb(57, 67, 76);
    padding: 20px 60px 20px 60px;
    border-radius: 10px;
    text-align: center;
    width: fit-content;
    margin: 0;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    font-size: 1.25vw;
    color:rgb(178, 182, 200);
}

.h4col1 { color: rgb(161, 252, 131) !important; }
.h4col2 { color: rgb(252, 131, 171) !important; }
.h4col3 { color: rgb(252, 226, 131) !important; }
.h4col4 { color: rgb(131, 212, 252) !important; }
.h4col5 { color: rgb(205, 131, 252) !important; }
  
#maindiv, #joinSection, #rules
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 15px;
}

#rules
{
    gap: 0px !important;
}

.onediv
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.coldiv
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.regdiv
{
    display: block;
}

select
{
    font-family: 'Rawline', sans-serif;
    font-size: large;
    color: black;
}

label
{
    padding: 20px;
    font-size: xx-large;
    color: white;
    font-family: 'Rawline', sans-serif;
    font-style: bold;
    border-radius: 10px;
}

input 
{
    width: 100%;
    height: 32px;
    padding: 10px;
    font-size: large;
    color: black;
    font-family: 'Rawline', sans-serif;
    font-style: bold;
    vertical-align: middle;
    border-radius: 10px;
}

.team-checkbox
{
    transform: scale(2);
}

button
{
    padding: 16px;
    font-family: 'Rawline', sans-serif;
    font-weight: bold;
    font-size: 16px;
    padding: 20px 40px 20px 40px;
    border-radius: 10px;
    border: solid 5px rgb(66, 64, 74);
    box-shadow: 0 4px 1px rgb(20, 20, 20);
}

button:hover
{
    animation: glow 0.25s ease-in-out 1;
    border: solid 5px rgb(178, 182, 200);
    cursor: pointer;
}

.powbutton
{
    box-shadow: none;
}

.powbutton:hover
{
    animation: glowsp 0.125s ease-in-out 1;
    box-shadow: 0px 0px 0px 5px rgb(178, 182, 200) inset;
    cursor: pointer;
}

.team-button
{
    padding: 20px;
    width: 100px;
    font-family: 'Rawline', sans-serif;
    font-weight: bold;
    border-radius: 10px;
}

#red-button
{
    background-color: crimson;
    color: white;
}

#blue-button
{
    background-color: rgb(0, 136, 255);
    color: white;
}

#green-button
{
    background-color: rgb(76, 199, 0);
    color: white;
}

#yellow-button
{
    background-color: #FFBF00;;
    color: white;
}

#buzzerButton
{
    background-color: rgb(255, 255, 255);
    color: rgb(55, 55, 55);
    border-radius: 50%;
    border-color: white;
    border-style: solid;
    border-width: 5px;
    box-shadow: none;
}

#prebuzzerButton
{
    background-color: rgb(36, 51, 60);
    color: black;
    border-radius: 50%;
    border-color: black;
    border-style: solid;
    border-width: 5px;
    box-shadow: none;
}

#h2press, .h2white
{
    background-color: white !important;
    color: black;
}

#chatWindow, #teamChatWindow
{
    color: white; /* Change to your desired text color */
    font-family: 'Rawline', sans-serif;
    font-size: 14px;
}

.team 
{
    border: 4px solid #ffffff;
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
}

.team h1
{
    margin: 0;
    margin-bottom: 10px;
}

.team h2 
{
    margin: 0;
    font-size: 16px;
    padding: 5px;
    background-color: #00000000;
    border-radius: 10px;
    min-width: 500px;
    margin-bottom: 20px;
}

.team h3
{
    margin: 0;
    font-size: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
    border-radius: 10px;}

.team ul 
{
    list-style-type: none;
    padding: 0;
}

.team li 
{
    margin: 5px 0;
}