* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

body {
    background: #d0d0d0;
    height: 100vh;
}

header {
    background-color: #1292ff;
    display: flex;
    justify-content: space-between;
    padding: 25px 10px;
    animation: slideFromLeft 1.5s ease-out;
}

.main-header h1 {
    color: #fff;
}

a {
    color: #fff;
    text-decoration: none;
    
}

ul li {
    display: inline-block;
    list-style: none;
    position: relative;
    margin-right: 10px;
    padding: 10px;
}

ul li:hover {
    background: #1323de2e;
    cursor: pointer;
    transition: background 0.6s;
}

ul li:hover a {
    color: #fff;
}

ul li ul {
    display: none;
    transition: display 0.95s ease-in;
}

ul li:hover ul {
    display: block;
    position: absolute;
    left: 0%;
    width: 150px;
    margin-top: 12px;
    padding: 5px 0 15px 10px;
    background-color: #1323deed;
    box-shadow: 1px 2px 5px 4px rgba(0, 0, 0, .2);
}

ul li:hover ul li {
    display: block;
}

.menu-wrapper {
    display: none;
}

/* showcase */
.showcase {
    padding-top: 30px;
}

.container form {
   width: 350px;
   margin: auto;
   padding: 30px;
   color: #fff;
   background-color: #1292ff;
   box-shadow: 1px 2px 10px 0px rgb(0 0 0 / 35%);
   border-radius: 5px;
   animation: myAnimation 2s ease-in-out;
   /* animation: slideFromBottom 1s ease-in-out 0.5s; */
}

.title {
    text-align: center;
}

.container form label {
    font-size: 20px;
    margin-bottom: 15px;
}

.form-input {
    display: block;
    padding: 10px;
    outline: none;
    width: 100%;
    border-radius: 10px;
    border: none;
}

.container form div {
    margin: 10px;
}

.btn {
    color: #fff;
    text-transform: uppercase;
    margin-top: 22px;
    margin-bottom: 15px;
    background-color: #9a1844;
}

.btn:hover {
    transform: scale(0.95);
    cursor: pointer;
}

.register p {
    font-size: 19px;
}

.register a {
    color: #9a1844;
    text-decoration: underline;
}

@keyframes slideFromLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

/* @keyframes slideFromBottom {
    0% {
        transform: translateY(100%);
    }

    100% { 
        transform: translateY(0);
    }
} */

@keyframes myAnimation {
    0% {
        opacity: 0;
    }

    100% { 
        opacity: 1;
    }
}

@media (max-width: 500px ) {
    /* header {
        display: flex;
        flex-direction: column;
        padding: 10px 5px;
    } */

    /* .main-header, .navbar {
        text-align: center
    } */

    .main-header > h1 {
        font-size: 26px;
    }

    .navbar {
        display: none;
    }

    .menu-wrapper {
        display: block;
    }

    .menu ul li:hover {
        background-color: rgb(27 26 26 / 84%);
    }
    
}