* {
    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;
}

.registration-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); }
}

.registration-container h2 {
    margin-bottom: 1em;
    color: black;
}

.alertBox {
    display: none;
}

.registration-container input[type="text"],
.registration-container input[type="email"],
.registration-container input[type="password"],
#role {
    width: 97%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

.registration-container input[type="text"] {
    background: url('user-icon.png') no-repeat;
    background-size: contain;
    background-origin: content-box;
}

#role {
    background: url('role-icon.png') no-repeat;
    background-size: contain;
    background-origin: content-box;
}

.registration-container input[type="email"] {
    background: url('email-icon.png') no-repeat;
    background-size: contain;
    background-origin: content-box;
}

.registration-container input[type="password"] {
    background: url('pass-icon.png') no-repeat;
    background-size: contain;
    background-origin: content-box;
}

.registration-container button {
    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;
}

.registration-container button:hover {
    opacity: 0.9;
}

.registration-container .links {
    margin-top: 1em;
    font-size: 14px;
}

.registration-container .links a {
    color: #4A90E2;
    text-decoration: none;
}

.registration-container .links a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 600px) {
    .registration-container {
        width: 100%;
        margin-left: 10px;
        margin-right: 10px;
        align-items: center;
    }

    #globe {
        display: none;
    }

    .logo {
        justify-content: center;
    }
    
}