body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    position: relative;
}

.dynamic-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #003366, #00509e);
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    display: flex;
    align-items: center;
    color: white;
    z-index: 2;
}

.school-logo {
    width: 80px;
    height: 80px;
    margin-right: 30px;
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-boxes {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.header-box {
    position: absolute;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
}

.header-text {
    text-align: center;
}

.header-text h5,
.header-text h6 {
    margin: 0;
    font-weight: bold;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #00509e;
    z-index: -1;
}

.loader {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wrapper {
    display: flex;
    align-items: center;
    flex-direction: column; 
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 20px;
    margin-top: 120px;
}

#formContent {
    border-radius: 10px;
    background: #fff;
    width: 90%;
    max-width: 450px;
    position: relative;
    padding: 0;
    box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
    text-align: center;
    margin-top: 80px;
}

h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}

input[type=text],
input[type=password] {
    border: none;
    color: #0d0d0d;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 2px solid #eee;
}

.fadeInDown {
    animation: fadeInDown 1s both;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

.fadeIn {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fadeIn.first { animation-delay: 0.4s; }
.fadeIn.second { animation-delay: 0.6s; }
.fadeIn.third { animation-delay: 0.8s; }
.fadeIn.fourth { animation-delay: 1s; }

.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #56baed;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

.underlineHover:hover:after {
    width: 100%;
}