@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&family=Share+Tech&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --bg-color: #222222;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
}

body {
    text-align: center;
    color: white;
    min-height: 100vh;
    min-width: 100vw;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}


iframe {
    border: none;
}

.load-container {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.load-container {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--bg-color);
    z-index: 100;
    flex-direction: column;
    font-family: "Share Tech", sans-serif;
    font-weight: 400;
    font-style: normal;
    transition: all 0.3s ease-in-out;
}

.page-container {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #232323;
    position: relative;
}

input {
    width: 200px;
    padding: 5px;
    background-color: darkgrey;
    font-size: 18px;
    border-radius: 7px;
    color: #fff;
    outline: none;
    border: none;
    color: #1a1a1a;
    box-shadow: 0 0 50px -9px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease-in-out;
}

input:focus {
    background-color: white;

    box-shadow: 0 0 50px -9px rgba(255, 255, 255, 0.9);
}

form label {
    font-size: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.enter-form,
.load-animation {
    background-color: var(--bg-color);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 50;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.load-animation {
    z-index: 40;
}

form {
    border: 1px solid #fff;
    border-style: dashed;
    /* border-radius: 5px; */
    padding: 20px;
}

#submit {
    cursor: pointer;
    margin-top: 10px;
    padding: 5px;
    font-size: 15px;
    border-radius: 7px;
    border: none;
    background-color: rgb(229, 173, 83);
    box-shadow: 0 0 25px -9px rgba(255, 255, 254, 0.9);
    transition: all 0.3s ease-in-out;
}

#submit:hover {
    background-color: rgb(255, 157, 0);
    box-shadow: 0 0 25px -9px rgba(237, 178, 51, 0.9);
}

#note {
    margin-top: 25px;
    max-width: 80vw;
    text-align: justify;
    font-size: small;
}


.main-container h1 {
    font-family: "Satisfy", cursive;
    font-weight: 400;
    font-style: normal;
    transform: translateX(-100px);
    display: none;
}

.main-container h1 span {
    display: inline-block;
    font-family: "Satisfy", cursive;
    font-weight: 400;
    font-style: normal;
    transform: translateX(200px);


}

.main-container h1,
.main-container span {
    font-size: 50px;
    opacity: 0;
    color: orange;

}


.main-container {
    background-color: var(--bg-color);
    position: relative;
    top: 0;
    right: 0;
    /* z-index: 50; */
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.main-container #crackers {
    width: 100vw;
    height: 100vh;
    opacity: 0.2;
    position: fixed;
    top: -40vh;
}

.main-container #lamp {
    opacity: 0;
    /* animation: fade-lamp 4s ease 0.5s 1 normal forwards; */
}

@keyframes slide-right {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

.ani-slide-right {
    animation: slide-right 3s ease 0.5s 1 normal forwards;
}




@keyframes slide-left {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

.ani-slide-left {
    animation: slide-left 3s ease 0.5s 1 normal forwards;
}



@keyframes fade-lamp {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.ani-fade {
    animation: fade-lamp 3s ease 0.5s 1 normal forwards;
}

#msg h2 {
    font-family: "Satisfy", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 35px;
    opacity: 0;
    color: orange;
}


#msg div,
.thank-msg {
    width: 50vw;
    text-align: start;
    padding: 5px;
    border: 1px solid white;
    border-style: dotted;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;
    margin-top: 10px;
    border-radius: 3px;
    opacity: 0;
    color: orange;
}

.thank-msg {
    border: none;
    margin-bottom: 10px;
}




@media screen and (max-width: 600px) {
    #msg h2 {
        font-size: 25px;
    }

    .main-container h1,
    .main-container span {
        font-size: 35px;
    }

    #msg div,
    .thank-msg {
        width: 80vw;
        font-size: 13px;
    }

    #lamp {
        margin-top: 200px;
    }

    .page-container {
        width: 100vw;
        min-width: 100vw;
        border-radius: 0;
    }

    .page-container,
    .main-container,
    .enter-form,
    .load-animation,
    .load-container,
    body {
        min-height: 100dvh;
    }

}

.hidden {
    display: none;
}

#footer a::after {
    content: "";
    height: 15px;
    width: 15px;
    background-image: url("/assets/min.png");
    background-size: 15px 15px;
    display: inline-block;
    position: absolute;
    right: -20px;
    top: 4px;


}

#footer a {
    text-decoration: underline;
    color: orange;
}

#footer {
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: white;
    text-align: center;
    margin: auto;
    /* width: 50vw; */
}