:root{
    --green1:#feffde;
    --green2:#ddffbc;
    --green3:#91c788;
    --green4:#52734d;
}

.light{
    --backg:var(--green1);
    --form-bg:var(--green3);
    --inp-bg:var(--green2);
    --head-bg:var(--green4);
    --text:var(--green4);
}

.dark{
    --backg:#000;
    --form-bg:rgb(1, 8, 34);
    --inp-bg:rgb(55, 1, 46);
    --head-bg:rgba(9, 61, 129, 0.664);
    --text:antiquewhite;
}

*{
    margin: 0;
    padding: 0;
}
@font-face{
    src: url(https://fonts.frzdb.net/Posterama-Bold.ttf);
    font-weight: normal;
    font-family: 'brizzler';
}
@font-face{
    src: url('DINPro-CondBold.woff');
    font-family: 'knul';
}
body{
    transition: background 0.5s ease-in-out,color 1s ease-in-out;
    background: var(--backg);
    height: 100vh;
    display: flex;
    /* flex-direction: column; */
    justify-content: space-evenly;
    align-items: center;
}
.card-finder{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/**************** Form Section ******************************/
.form{
    background: var(--form-bg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    animation: name duration timing-function delay iteration-count direction fill-mode;
}
#head-title{
    margin: auto;
    margin-bottom: 10px;
    width: 150px;
    background: var(--head-bg);
    text-align: center;
    border-radius: 10px;
    font-family: 'knul';
    box-shadow: 0 0 10px 0px rgba(9, 61, 129, 0.664);
    transition: 0.5s;
    color: antiquewhite;
}
#player-name{
    color: red;
    margin: auto;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-style: italic;
    margin-bottom: 10px;
}
#head-title:hover{
    color: palegoldenrod;
    box-shadow: 0 0 50px 0px rgba(9, 61, 129, 0.664);
    transition: 0.5s;
}
input,select{
    background: var(--inp-bg);
    font-size: 20px;
    width: 200px;
    padding: 10px 30px;
    border: 2px solid red;
    color: var(--text);
    outline: none;
    border-radius: 40px;
    margin-bottom: 5px;
    transition: 0.5s;
    text-transform: uppercase;
}
input:focus{
    border: 2px solid rgb(12, 209, 5);
    transition: 0.5s;
}
input[type="button"]{
    border: 0px solid orangered;
    box-shadow: 0px 0px 0px 0px orangered,
                4px 4px 1px 0px orangered;
    margin: auto;
    transition: 0.5s;
}
input[type="reset"]{
    padding: none;
    border: 0px solid orangered;
    box-shadow: 3px 3px 0px 0px orangered;
    margin: 5px auto 0px auto;
}
input[type="button"]:hover,input[type="reset"]:hover{
    box-shadow: 0 0 30px orangered;
    transform: translate(3px,3px);
    transition: 0.5s;
    background: palegoldenrod;
    color: rgb(55, 1, 46);
}
input[type="button"]:active,input[type="reset"]:active{
    background: red;
    color: azure;
    transition: all 0.5s;
}

/**************** Container Section ******************************/
#container{
    transform: translateY(0%);
    z-index: -1;
    width: 256px;
    height: 256px;
    /* background: rgb(24, 4, 97); */
    /* border: darkturquoise 2px solid; */
    overflow: hidden;
}
.lodaer{
    z-index: 3;
    top: 25%;
    left: 31%;
    transform: translate(0%,-50%);
    display: block;
    width: 100px;
    height: 100px;
    box-sizing: border-box;
    position: absolute;
    background: var(--backg);
    border: 15px solid #45474b;
    border-top-color: steelblue;
    border-radius: 50%;
    animation: anim 1s infinite linear;
}
#container img{
    position: relative;
    overflow: hidden;
}
@keyframes anim{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
#switcher{
    position: absolute;
    top: 0;
    padding: 10px 5px;
    background: var(--head-bg);
    border: none;
    outline: none;
    box-shadow: 3px 3px 0px #03e4ff;
    font-size: 18px;
}
#setter{
    margin-top: 40px;
    font-size: 30px;
    color: whitesmoke;
    letter-spacing: 1px;
    font-family: 'brizzler';
    text-align: center;
    text-transform: uppercase;
}
@media screen and (max-width:480px){
    body{
        flex-direction: column;
    }
}
