@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root{
    --main-color: rgb(41, 41, 41);
    --error-color: rgb(206, 29, 29);
}

/**Styling**/

.warning{
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 70px;
    font-size: 13px;
}

.discord{
    margin-bottom: 50px;
    cursor: pointer;
    position: relative;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
    background-color: #0d93ec;
    border-radius: 10px;
    transition: 200ms;
    margin-top: -5px;
    box-shadow: 0px 0px 20px rgb(153, 153, 153);
}

.discord:hover{
    opacity: 0.5;
}

.inner_grid{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: auto;
    margin-bottom: auto;
    display: grid;
    width: max-content;
    height: max-content;
    grid-template-columns: max-content max-content;
    margin-left: auto;
    margin-right: auto;
}

.discord_text{
    margin-top: auto;
    margin-bottom: auto;
    color: white;
    height: max-content;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 50px;
}

.discord_image{
    width: 30px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 10px;
}

html{
    scroll-behavior: smooth;
}

.top_holder{
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    height: 50px;
    display: grid;
    position: relative;
    grid-template-columns: 50% 50%;
}

.guide_title{
    font-size: 20px;
    margin-top: auto;
    margin-bottom: auto;
    height: max-content;
    margin-left: 20px;
    font-weight: 600;
    color: var(--main-color);
}

.top_info{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--main-color);
    opacity: 0.5;
}

.date_grid{
    height: 45px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-gap: 5%;
    grid-template-columns: repeat(3, calc(100%/3 - 10%/3));
    margin-bottom: 30px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.selector_box{
    margin-top: -5px;
    margin-bottom: 30px;
    max-height: 45px;
    border: 2px solid rgb(138, 138, 138);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: 200ms;
}

.selected_grid{
    transition: 200ms;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    hyphenate-character: 45px;
    display: grid;
    height: 45px;
    grid-template-columns: 70% 30%;
}

.selected_arrow{
    width: 25px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 0px;
    margin-left: auto;
    transform: translateY(1000px);
    filter: drop-shadow(0px -1000px var(--main-color));
    opacity: 0.5;
    transition: 200ms;
}

.selector_box:hover{
    opacity: 0.5;
}

.option_box{
    display: grid;
    height: max-content;
    width: 90%;
    grid-auto-rows: 45px;
    grid-auto-flow: row;
    margin-left: auto;
    margin-right: auto;
}

.selector_text{
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0px;
    font-weight: 600;
    height: max-content;
    color: var(--main-color);
    opacity: 0.5;
}

.date{
    position: relative;
}

.date .error{
    margin-left: 5%;
    margin-top: 50px;
}

.selector_open{
    max-height: 400px;
}

.selector_open .selected_grid:hover{
    opacity: 0.5;
}

.selector_open .selected_arrow{
    rotate: 180deg;
}

.selector_open:hover{
    opacity: 1;
}

.selector_option{
    height: 45px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    width: 100%;
    line-height: 45px;
    color: var(--main-color);
    opacity: 0.5;
    font-weight: 600;
    transition: 200ms;
}

.selector_option:hover{
    opacity: 0.2;
}

.date_input{
    height: 100%;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    border: 2px solid rgb(138, 138, 138);
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    color: rgb(138, 138, 138);
}

.date_input::placeholder{
    font-weight: bold;
    text-align: center;
    color: rgb(138, 138, 138);
}

.arrow{
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 20px;
    transition: 200ms;
    margin-left: auto;
    transform: translateY(-1000px);
    filter: drop-shadow(0px 1000px var(--main-color));
}

.guide_holder{
    width: 90%;
    max-height: 50px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgb(153, 153, 153);
    transition: 200ms;
}

.guide_holder:hover{
    opacity: 0.5;
}

.unfolded{
    max-height: 700px;
}

.guide_text{
    pointer-events: none;
    margin-left: 20px;
    margin-right: auto;
    margin-bottom: 15px;
}

.unfolded .arrow{
    rotate: 90deg;
}

::-webkit-scrollbar{
    background-color: rgb(82, 82, 82);
    width: 5px;
}

::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
    width: 5px;
    border-radius: 25px;
    cursor: pointer;
}

.logo{
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 80px;
    border-radius: 10px;
}

.subtext{
    color: var(--main-color);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    font-weight: 600;
    margin-top: 80px;
}

*{
    font-family: "Poppins", sans-serif;
}

body{
    background-color: white;
}

.go{
    width: 90%;
    box-shadow: 0px 0px 20px rgb(153, 153, 153);
    height: 50px;
    background-color: white;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: 200ms;
    margin-bottom: 20px;
    text-align: center;
    line-height: 50px;
}

.go:hover{
    opacity: 0.5;
}

.logo_text{
    border-radius: 10px;
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    margin-top: 40px;
    width: 100%;
    text-align: center;
    margin-bottom: -10px;
}

.classic_input{
    color: white;
    background-color: transparent;
    font-family: "Poppins", sans-serif;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    font-size: 20px;
    border: none;
    border-bottom: 2px solid white;
    margin-top: 30px;
    display: block;
}

input:focus{
    outline: none;
}

.input_holder{
    height: max-content;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    position: relative;
}

.placeholder{
    color: var(--main-color);
    opacity: 0.5;
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    top: 0;
    bottom: 0;
    height: max-content;
    margin-top: auto;
    margin-bottom: auto;
    left: 2px;
    transition: 200ms;
    pointer-events: none;
}

.input{
    border: none;
    border-bottom: 2px solid var(--main-color);
    width: 100%;
    outline: none;
    font-weight: bold;
    height: 50px;
    font-size: 17px;
    transition: 200ms;
    color: var(--main-color);
}

.input:focus ~ .placeholder{
    bottom: 50px;
    font-size: 14px;
    transition: 200ms;
}

.input:not(:placeholder-shown) ~ .placeholder{
    bottom: 50px;
    font-size: 14px;
    transition: 200ms;
}

.error{
    color: var(--error-color);
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    top: 40px;
    opacity: 0;
    transition: 200ms;
}

.error_shown .error{
    opacity: 1;
}

.error_shown .input{
    border-bottom: 2px solid var(--error-color);
}

.error_shown .placeholder{
    color: var(--error-color);
}

.upload_grid{
    height: max-content;
    grid-template-columns: 100%;
    grid-template-rows: max-content max-content;
    width: max-content;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.upload{
    box-shadow: 0px 0px 20px rgb(153, 153, 153);
    height: 200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    margin-bottom: 50px;
    margin-top: 20px;
    position: relative;
    cursor: pointer;
    transition: 200ms;
}

.upload_uploading{
    display: none;
}

.upload_uploaded{
    display: none;
}

.upload:hover{
    opacity: 0.5;
}

.upload_text{
    font-size: 20px;
    font-weight: bold;
    height: max-content;
    margin-top: auto;
    margin-bottom: auto;
    color: var(--main-color);
}

.upload_image{
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 10px;
    transform: translateY(-1000px);
    filter: drop-shadow(0px 1000px var(--main-color));
}

.upload .error{
    top: 190px;
}

.upload_loading .upload_grid{
    display: none;
}

.upload_loading .upload_uploading{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid;
    border-color: transparent var(--main-color) transparent var(--main-color);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: auto;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    animation-name: loading;
    animation-iteration-count: infinite;
    animation-duration: 900ms;
}

.upload_uploaded{
    width: auto;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
}

.upload_loaded {
    background-color: black;
    border: none;
}

.upload_loaded .upload_image{
    display: none;
}

.upload_loaded .upload_text{
    display: none;
}

.upload_loaded .upload_uploaded{
    display: block;
}

@keyframes loading {
    
    0%{
        rotate: 0deg;
    }

    100%{
        rotate: 360deg;
    }

}