:root{
    --BGColor : #FBF6D9;
    --detailColor: #F4AC36;
    --textColor: #21181B;
}

::placeholder{
    color: var(--textColor);
    opacity: .7;
}

*{
    box-sizing: border-box;
    background-color: var(--BGColor);
    color: var(--textColor);
    font-family: "IBM Plex Sans";
    font-weight: 600;
}

h1, p{
    font-family: "IBM Plex Sans";
}

body{
    margin: 0;
}

header{
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

nav{
    border-bottom: 5px solid var(--textColor);
    width: 100dvw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

nav h1{
    margin: 0;
    margin-left: 10px;
}
nav a{
    text-decoration: none;
    font-size: 18px;
}

nav h1, #navLinks{
    padding: 5px;
}
#navLinks{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}

footer{

    position: fixed;
    left: 10px;
    bottom: 10px;

}


button, input[type='checkbox']{
    border: 1px solid var(--textColor);
    filter: brightness(100%);
    transform: scale(1);
    transition-property: transform, filter;
    transition-duration: .3s;
}

button:hover, input[type='checkbox']:hover{
    filter: brightness(120%);
    transform: scale(1.1);
    transition-property: transform, filter;
    transition-duration: .3s;
}

footer #clearDataBtn{
    font-size: 16px;
    font-weight: 400;
    transform: none;
    transition: none;
    border: 0;
    background-color: transparent;
}

footer #clearDataBtn:hover{
    cursor: pointer;
}



#version{
    position: fixed;
    left: 5px;
    bottom: -2px;
    background-color: transparent;
}

#version p{
    margin: 0;
    background-color: transparent;
    
}

#logo{
    display: flex;

    flex-direction: row-reverse;
}

#logo h1{
    margin: 0;
    margin-left: -5px;
}

#logo svg{
    scale: .6;
}

#navLogo{
    margin: 5px;
    height: 40px;
}

.errorModal{
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    height: 5dvh;
    min-width: 15dvw;
    width: fit-content;

    border-top: 5px solid var(--detailColor);
    border-left: 5px solid var(--detailColor);
    border-bottom: 5px solid var(--textColor);
    border-right: 5px solid var(--textColor);

    position: fixed;
    bottom: 10px;
    right: -100dvw;

    background-image: linear-gradient(var(--detailColor), var(--detailColor));
    background-repeat: no-repeat;
    background-size: 0 100%;

    padding: 0px 5px;
    
  
    animation-fill-mode: forwards;
    animation-name: modalFill, modalEntrance;
  
    animation-duration: 4s, 1s;
    animation-timing-function: ease-out;
    animation-play-state: paused;
    scale: 1;
    transition: scale .3s ease-in;
    z-index: 99;
}
.errorModal:hover{
    scale: .9;
    transition: scale .2s ease-out;
}

.errorModal p{
    margin: 0;
    background-color: transparent;
    font-weight: bolder;
    font-size: 18px;
}

.btn {
    margin-left: 10px;
    width: 80px;
    height: 35px;
    background-color: var(--detailColor);
    border: 1px solid var(--textColor);
}

.warningWrapper{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-color: var(--textColor);
    justify-content: center;
    align-items: center;
}

.warningWrapper .warningContent{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 45%;
    height: fit-content;
    padding: 15px;
}   

.warningContent h1{
    text-align: center;
    font-size: 33px;
}

.warningContent p {
    text-align: center;
    font-size: 19px;
}

.warningContent .btn{
    margin: 20px;
    font-size: 20px;
    width: 50%;
}


@media(max-width: 1000px){
    .warningWrapper .warningContent{
        width: 80%;
    }
}


@media(max-width: 500px){
    .warningWrapper .warningContent{
        width: 98%;
    }
}

@keyframes modalEntrance {
    0%{
        left: 100dvw;
    }
    100%{
        right: 5px;
    }
}


@keyframes modalFill {
    0%{
        background-size: 0 100%;
    }
    40%{
        background-size: 0 100%;
    }
    100%{
        background-size: 100% 100%;
    }
}