* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom right, #4A90E2, #8E44AD);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.pass-reset-container {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 8px 8px 4px rgba(0, 0, 0, 0.5);
    width: 360px;
    text-align: center;
}

.logo {
    display: flex;
    justify-content: space-between;
    height: 80px;
    width: 100%;
}

#globe {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: blue;
    background-image: linear-gradient(to bottom right, #4A90E2, #8E44AD);
    position: relative;
    overflow: hidden;
}

#globelines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('globe-lines.png');
    background-repeat: no-repeat;
    background-size: contain;
    animation-name: globe;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: 2;
}

@keyframes globe {
    from { transform: rotate(0deg); }
    to { transform: rotate(-359deg); }
}

.SkillHub {
    display: flex;
    flex-direction: column;
}

#SkillHub {
    width: 210px;
    height: 70px;
    background-image: url('SkillHub.png');
    background-repeat: no-repeat;
    animation-name: SkillHub;
    animation-duration: 1s;
    animation-timing-function: linear;
    background-size: contain;
}

@keyframes SkillHub {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

#slogan {
    margin-bottom: 10px;
    color: #1c2e4a;
    font-size: 1.1em;
    animation-name: floatText;
    animation-duration: 2s;
    animation-timing-function: linear;
}

@keyframes floatText {
    0% { transform: rotateY(90deg); }
    40% { transform: rotateY(90deg); }
    100% { transform: rotateY(0deg); }
}

.pass-reset-container h2 {
    margin-bottom: 1em;
    color: black;
}

.verify-form, .timer, .set-password {
    display: none;
}

.timer {
    margin-top: -20px;
    margin-bottom: 8px;
    color: red;
    font-weight: 550;
}

.alertMessage {
    display: block;
    font-size: 1.1rem;
    margin-left: 2px;
    margin-top: 3px;
}

.close-btn {
    display: block;
    margin-right: 2px;
    margin-bottom: 2px;
    font-size: 1.2rem;
    cursor: pointer;
}

.alertBox {
    display: flex;
    justify-content: space-between;
    width: 97%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    margin-top: -20px;
    margin-bottom: 8px;
    max-width: 600px;
}

#success-alert {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

#fail-alert {
    color: #721c24;
    background-color: #f8d7da; 
    border: 1px solid #721c24;
}

.pass-reset-container input[type="text"],
.pass-reset-container input[type="email"],
.pass-reset-container input[type="password"] {
    width: 97%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

#genCode, #verify, .change-pass, .login {
    width: 97%;
    padding: 10px;
    margin: 10px 0;
    background: linear-gradient(to right, #4A90E2, #8E44AD);
    border: none;
    border-radius: 2em;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#genCode:hover, #verify:hover, .change-pass:hover, .login:hover {
    opacity: 0.9;
}

.set-password label {
    display: flex;
    font-weight: 550;
    width: 97%;  
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -8px;
}

@media only screen and (max-width: 600px) {
    .pass-reset-container {
        width: 100%;
        margin-left: 10px;
        margin-right: 10px;
        align-items: center;
    }

    #globe {
        display: none;
    }

    .logo {
        justify-content: center;
    }
    
}