@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

:root {
    --primary-color: rgba(255, 242, 0, 1);
    --overlay-color: #e1e1e16c;
    --menu-speed: 0.75s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Staatliches', cursive;
    line-height: 1.4;
}

.container {
    max-width: 960px;
    margin: auto;
    overflow: hidden;
    padding: 0 3rem;
}

.showcase {
    /* background-color: var(--primary-color); */
    color: #fff;
    height: 100vh;
    position: relative;
}

.showcase:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.showcase .showcase-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

#logo {

    animation: fadeIn .8s ease-in-out infinite alternate;
    /* animation: moveAround 5s ease-in-out infinite alternate; */
}

#logo:hover {
    background-color: white;
}

@keyframes fadeIn {
    0% {
        background-color: #3d00cadf;
        box-shadow: 0 4px 8px rgba(56, 0, 175, 0.2), 0 6px 20px rgba(113, 0, 151, 0.542);
        transform: scale(1.001);
    }

    25% {
        background-color: #ffffffd7;
        box-shadow: 0 4px 8px rgba(149, 149, 149, 0.4), 0 6px 20px rgba(174, 173, 173, 0.5);
    }

    50% {
        background-color: #ffffffa7;
        box-shadow: 0 4px 8px rgba(149, 149, 149, 0.6), 0 6px 20px rgba(174, 173, 173, 0.8);
        transform: scale(1.002);
    }

    100% {
        background-color: #ffffff8e;
        box-shadow: 0 4px 8px rgba(149, 149, 149, 0.8), 0 6px 20px rgba(174, 173, 173, 0.8);
        transform: scale(1.003);
    }
}

@keyframes moveAround {
    0% {
        /* transform: skew(30deg, 20deg); */
        transform: matrix(1, 2, 3, 4, 5, 6);
        animation-delay: 5s;
    }

    28%,
    100% {
        transform: matrix(0);
    }
}

.menu-button {
    display: flex;
    align-items: center;
    z-index: 210;
    position: relative;
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.menu.active {
    visibility: visible;
    opacity: 1;
}

.menu>div {
    background: rgba(14, 21, 42, 0.95);
    border-radius: 50%;
    width: 200vw;
    height: 200vw;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: all 0.4s ease;
}

.menu.active>div {
    transform: scale(1);
    transition-duration: 0.75s;
}

.menu>div>div {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu.active>div>div {
    opacity: 1;
    transition: opacity 0.4s ease 0.4s;
}

.menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu li {
    margin: 1rem 0;
}

.menu li>a {
    color: white;
    text-decoration: none;
    transition: color 0.4s ease;
    font-size: 1.5rem;
    display: inline-block;
    position: relative;
    padding: 4px 0;
}

.menu li>a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #8B5CF6, #D946EF);
    transition: width 0.3s ease;
}

.menu li>a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.menu li>a:hover:after {
    width: 100%;
}

.container {
    width: 100%;
    min-width: 250px;
    max-width: 1000px;
    height: 180px;
    text-align: center;
}

form {
    width: 100%;
    border-radius: 10px;
    position: relative;
}

input#inputReg,
input#inputMile {
    width: 100%;
    height: 100%;
    display: block;
    font-size: 20px;
    padding: 18px 4px 18px 20px;
    color: black;
    border: none;
    box-shadow: 0 4px 8px rgba(149, 149, 149, 0.2), 0 6px 20px rgba(174, 173, 173, 0.19);
    /* Updated box-shadow for elevation */
}

input#inputReg {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

input#inputMile {
    border-radius: 18px;
}

input#inputReg:hover,
input#inputMile:hover {
    box-shadow: 0 4px 8px rgba(149, 149, 149, 0.901), 0 6px 20px rgba(174, 173, 173, 0.929);

    outline: 1px solid rgba(82, 99, 255, 0.311);
}

input:focus {
    outline: none;
}

button#submit {
    /* color: black; */
    /* width: 50px; */
    /* border-radius: 50%; */
    cursor: pointer;
    /* border: none;
    background: none; */
    /* font-size: 18px; */
}

button i {
    color: rgb(93, 94, 95);
}

button:hover i {
    color: rgb(162, 163, 163);
}

@media (max-width: 750px) {
    button {
        top: 35px;
    }

    #logo {
        width: 300px;
    }

}

@media (max-width: 550px) {
    #logo {
        width: 250px;
    }
}

@media (max-width: 400px) {
    #logo {
        width: 200px;
    }
}