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

body {
    font-family: "Roboto", sans-serif;
    overflow: hidden;
    background: url(../../img/animation/university.jpg) no-repeat fixed center;
    background-size: cover;
}
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 200px rgba(0, 0, 0, 0.9) inset;
}

.login_cont {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 128, 0, 0.568);
    padding: 2rem 1rem;
    border-radius: 0.875rem;
    z-index: 1;
}

.login,
.login > .form_data {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.login > h1 {
    margin-bottom: 1rem;
    color: #38c172;
}

.form_data,
form > input {
    width: 100%;
}

form > input {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form > input:focus {
    outline: none;
    border-color: #38c172;
}

form > button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #38c172;
    color: #fff;
    cursor: pointer;
}

.gates_cont {
    /* position: relative; */
    width: 100%; /* Adjust to match your container width */
    height: auto; /* Maintain aspect ratio */
}

.gate-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: 0px 200px 5px 200px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 200px 5px 200px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 200px 5px 200px rgba(0, 0, 0, 0.75);
}

.gate-test {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-48.1%, -2%) scale(0.48);
    transform-origin: left;
    transition: all 0.5s ease-in-out;
}

.gate-test-mirrored {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(48.1%, -2%) scale(0.48);
    transform-origin: right;
    transition: all 0.5s ease-in-out;
}

.gate-test-perspective-l {
    transform: scale(0.48) perspective(1200px) translateZ(0px) translateX(-100%) translateY(-5%) rotateY(135deg);
    animation: none; /* Remove the animation from this class */
}

.gate-test-perspective-r {
    transform: scale(0.48) perspective(1200px) translateZ(0px) translateX(100%) translateY(-5%) rotateY(-135deg);
    animation: none; /* Remove the animation from this class */
}

@media screen and (min-width: 1270px) {
    .gate-base {
        height: auto !important;
    }
}
/* @media screen and (width > 1280px) {
	.gate-test {
		transform: translateY(clamp(0%, 6.5%, 13%)) scale(0.48) !important;
		transform-origin: left;
	}
	.gate-test-mirrored {
		transform: translateY(clamp(0%, 6.5%, 13%)) scale(0.48) !important;
		transform-origin: right;
	}
} */

.falling-leaves {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 1920px;
    max-height: 1080px;
    transform: translate(-50%, 0);
    background-size: cover;
    overflow: hidden;
    z-index: -1;
}
.leaf-scene {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    transform-style: preserve-3d;
}
.leaf-scene div {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    /*background: url(../../img/animation/leave.png) no-repeat;*/
    /*	background: url(../../img/animation/snowflake_2.png) no-repeat;*/
    background-size: 100%;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

.winter_animation{
    background: url(../../img/animation/snowflake_2.png) no-repeat;
}

.autumn_animation{
    background: url(../../img/animation/leave.png) no-repeat;
}

.register{

}
/*// -------------- DETAILS MODAL*/

.details-modal {
    background: #ffffff;
    border-radius: 0.5em;
    box-shadow: 0 10px 20px rgba(black, 0.2);
    left: 50%;
    max-width: 90%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30em;
    text-align: left;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    z-index: 300;



    .details-modal-title {
        color: #111827;
        padding: 1.5em 2em;
        pointer-events: all;
        position: relative;

        h1 {
            font-size: 1.25rem;
            font-weight: 600;
            line-height: normal;
        }
    }

    .details-modal-content {
        border-top: 1px solid #e0e0e0;
        padding: 2em;
        pointer-events: all;
        overflow: auto;
        text-align: justify;
    }
}

.details-modal-overlay {
    transition: opacity 0.2s ease-out;
    pointer-events: none;
    background: rgba(#0f172a, 0.8);
    position: fixed;
    opacity: 0;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;

    details[open] & {
        pointer-events: all;
        opacity: 0.5;
    }
}

details {
    summary {
        list-style: none;

        &:focus {
            outline: none;
        }
        &::-webkit-details-marker {
            display: none;
        }
    }
}

code {
    font-family: Monaco, monospace;
    line-height: 100%;
    background-color: #2d2d2c;
    padding: 0.1em 0.4em;
    letter-spacing: -0.05em;
    word-break: normal;
    border-radius: 7px;
    color: white;
    font-weight: normal;
    font-size: 1.75rem;
    position: relative;
    top: -2px;
}

.container {
    text-align: center;
    max-width: 40em;
    padding: 2em;

    > h1 {
        font-weight: 700;
        font-size: 2rem;
        line-height: normal;
        color: #111827;
    }

    > p {
        margin-top: 2em;
        margin-bottom: 2em;
    }

    sup {
        font-size: 1rem;
        margin-left: 0.25em;
        opacity: 0.5;
        position: relative;
    }
}

.modal-info_message{
    color: #6084cc !important;
}
.page-footer{
    position: absolute;
    bottom: 0;
    background-color: #ffffffa6;
    padding: 1em 1.2em 1em 2em;
    left: 0;
    right: 0;
    text-align: center;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .login_cont {
        width: 100%;
    }
}
