@font-face {
    font-family: 'Myfont';
    src: url('assets/fonts/Sora/Sora-VariableFont_wght.ttf');
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Myfont';
}

body {
    background-color: #0F172A;
    height: 100vh;
    color: #CBD5E1;
}


#Layer {
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.011);
    backdrop-filter: blur(4px);
    position: absolute;
}

#modal {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal>button {
    width: 8rem;
    height: 3rem;
    border: none;
    border-radius: 0.8rem;
    overflow: hidden;
    font-size: 1rem;
    color: black;
    transition: 0.3s;
    background-color: #64748B;
    color: #CBD5E1;
}

#modal>button:hover {
    scale: 1.1;
    box-shadow: 0px 0px 2px 2px #38BDF8;
}

header {
    height: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 5rem;
    padding-left: 5rem;
}

p {
    font-size: 10px;
    color: rgba(245, 245, 245, 0.676)
}

nav {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: space-between;
}

div>button {
    border: none;
    color: white;
    border-radius: 0.5rem;
    width: 5rem;
    padding: 0.2rem;
    height: 1.5rem;
    font-size: 0.9rem;
    transition: 0.3s;
    background-color: #64748B;
    color: #CBD5E1;
}

div>button:hover {
    cursor: pointer;
    box-shadow: 0px 0px 1.5px 1.5px #38BDF8;
}

main {
    height: 60%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

main>p {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.461);
    padding-left: 5rem;
    padding-right: 5rem;
}

footer {
    height: 20%;
    text-align: center;
    align-items: center;
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    justify-content: center;
}

footer>button {
    width: 8rem;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: 0.3s;
    background-color: #64748B;
    color: white;
}

footer>button:hover {
    scale: 1.1;
    cursor: pointer;
    border: 2px solid #38BDF8;
}

footer>div>p {
    font-size: 1rem;
    color: #CBD5E1;
    font-family: 'Myfont';
}

#hiddenInput {
    background-color: rgba(255, 255, 255, 0);
    position: absolute;
    border: none;
    pointer-events: none;
    opacity: 0;
    outline: none;
}

#Layer {
    display: flex;
    justify-content: center;
    align-items: center;
}

#resultBox {
    width: 30%;
    height: 30%;
    background-color: #38BDF8;
    display: flex;
    gap: 1.5rem;
    border-radius: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#resultBox>#playAgain {
    width: 8rem;
    height: 2.3rem;
    padding: 0.5rem;
}

#resultBox>#playAgain:hover {
    border: none;
    scale: 1.1;
    border: 2px solid #CBD5E1;
}

section>img:hover {
    scale: 1.1;
    cursor: pointer;
}