@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@100;300;400;500;700;800;900&display=swap");

body {
    margin: 0;
    padding: 0;
    background-color: rgb(15, 3, 36);
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    justify-content: space-between;
    align-items: center;
    /* font-family: "Trebuchet MS", sans-serif; */
    overflow-x: hidden;

}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-thumb {
    background: #6902a5;
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

header {
    position: absolute;
    top: 5%;
    left: -1%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px;
    background-color: rgb(15, 3, 36);
    /* z-index: 9999; */
}

.web-logo {
    position: fixed;
    top: 5%;
    left: 2%;
    width: 250px;
}

header ul {
    position: relative;
    display: flex;
}

header li {
    list-style: none;
}

header label {
    position: relative;
}

header input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 80px;
    width: 80px;
    z-index: 100;
}

header div {
    position: relative;
    height: 50px;
    width: 50px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 46px;
    cursor: pointer;
    margin: 0 4px;
    border-radius: 20px;
    box-shadow: 0 0 7px #fff, 0 0 7px #6902a5, 0 0 7px #fff, 0 0 7px #6902a5, 0 0 7px #fff;
}

header input[type="checkbox"]:checked~div {
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.05),
        inset 4px 4px 6px rgba(0, 0, 0, 0.2);
    color: yellow;
    text-shadow: 0 0 15px yellow, 0 0 25px yellow;
    animation: glow 1.5s linear infinite;
}

@keyframes glow {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.info {
    position: fixed;
    top: 1.5%;
    left: 95%;
    background-color: #6902a5;
    padding: 5px;
    border-radius: 15%;
    cursor: pointer;
}

.info img {
    width: 2.5rem;
    height: 2.5rem;
}

.wrapper1 {
    position: absolute;
    top: 37%;
    left: 38%;
    transform: translate(-50%, -50%);
}

.link_wrapper1 {
    position: relative;
}

.link_wrapper1 a {
    display: block;
    width: 250px;
    height: 50px;
    line-height: 50px;
    font-weight: bold;
    text-decoration: none;
    background: #000;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid #000;
    transition: all .35s;
}

.icon1 {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    position: absolute;
    transform: rotate(45deg);
    right: 0;
    top: 0;
    z-index: -1;
    transition: all .35s;
}

.icon1 img {
    width: 30px;
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 15px);
    transform: rotate(-45deg);
    fill: #6902a5;
    transition: all .35s;
}

.link_wrapper1 a:hover {
    width: 200px;
    border: 3px solid #6902a5;
    background: transparent;
    color: #fff;
}

.link_wrapper1 a:hover+.icon1 {
    border: 3px solid #6902a5;
    right: -25%;
}

.wrapper2 {
    position: absolute;
    top: 37%;
    left: 62%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.link_wrapper2 {
    position: relative;
}

.link_wrapper2 a {
    display: block;
    width: 250px;
    height: 50px;
    line-height: 50px;
    font-weight: bold;
    text-decoration: none;
    background: #000;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid #000;
    transition: all .35s;
}

.icon2 {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    position: absolute;
    transform: rotate(45deg);
    right: 0;
    top: 0;
    z-index: -1;
    transition: all .35s;
}

.icon2 img {
    width: 30px;
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 15px);
    transform: rotate(-45deg);
    fill: #6902a5;
    transition: all .35s;
}

.link_wrapper2 a:hover {
    width: 200px;
    border: 3px solid #6902a5;
    background: transparent;
    color: #fff;
}

.link_wrapper2 a:hover+.icon2 {
    border: 3px solid #6902a5;
    right: -25%;
}

.bottom-section {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 150px;
}

.input-container {
    position: absolute;
    top: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.input-container textarea {
    width: 650px;
    max-width: 100%;
    max-height: 200px;
    padding: 10px;
    font-weight: normal;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
    line-height: 30px;
    outline: none;
    font-size: 1rem;
    text-rendering: auto;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    line-height: 2.5rem;
    letter-spacing: normal;
    word-spacing: normal;
    text-align: start;
    writing-mode: horizontal-tb !important;
    cursor: text;
    resize: none;
    --tw-shadow: 0 0 transparent;
    -webkit-appearance: none;
    appearance: none;
    -webkit-rtl-ordering: logical;
    overflow-wrap: break-word;
    column-count: initial !important;
    box-sizing: border-box;
}

.input-container textarea::placeholder {
    color: #000;
}

.submit-btn {
    position: absolute;
    top: 8%;
    left: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit {
    cursor: pointer;
    position: relative;
    font-size: 16px;
    height: 45px;
    width: 200px;
    border-radius: 4px;
    background: transparent;
    color: white;
    border: 2px solid;
    transition: width 0.5s;
}

.process {
    width: 200px;
    box-shadow:
        0px 1px 10px #0a990a,
        0px 2px 15px #990a0a,
        0px 3px 20px #0a0a99,
        -1px 1px 25px #0a990a,
        -1px 2px 30px #990a0a,
        -1px 3px 35px #0a0a99;
}

.process::before {
    content: ' ';
    position: absolute;
    background-color: #3bb78f;
    background-image: linear-gradient(315deg, #3bb78f 0%, #0bab64 74%);
    height: 100%;
    top: 0;
    left: 0;
    width: 0%;
    animation: processing 5s;
    border-radius: 4px;
    z-index: -1;
}

.tick {
    position: absolute;
    left: 10px;
    top: 10px;
    opacity: 1;
    transition: left 2s;
}

.submitted {
    padding-left: 40px;
    animation: tick 0.6s;
    background-image: linear-gradient(315deg, #3bb78f 0%, #0bab64 74%);
    box-shadow:
        0px 1px 10px #0a990a,
        0px 2px 15px #990a0a,
        0px 3px 20px #0a0a99,
        -1px 1px 25px #0a990a,
        -1px 2px 30px #990a0a,
        -1px 3px 35px #0a0a99;
}


@keyframes processing {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes tick {
    0% {
        transform: scale(0.1);
    }

    75% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.images-section {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 10px;
    margin-top: 23rem;
}

.image-container {
    width: calc(50% - 1rem);
    border-radius: 15px;
    box-shadow: rgb(38, 57, 77) 0 20px 30px -10px;
    position: relative;
    margin-bottom: 2rem;
}

.image-container .opaque-blur {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    filter: blur(8px);
    position: absolute;
    top: 0;
    bottom: 0;
    opacity: 0;
    transition: all 300ms linear;
}

.image-container:hover .opaque-blur {
    opacity: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Styling The Loading Bar */

:root {
    --effect: hover 1s linear infinite;
}

.loading-container {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading {
    display: none;
    text-align: center;
}

.loading p {
    display: inline-block;
    text-transform: uppercase;
    text-align: center;
    font-size: 4em;
    font-family: arial;
    font-weight: 600;
    transform: scale(.5);
    color: #121212;
    -webkit-text-stroke: 2px gray;
}

.loading p:nth-child(1) {
    animation: var(--effect);
}

.loading p:nth-child(2) {
    animation: var(--effect) .125s;
}

.loading p:nth-child(3) {
    animation: var(--effect) .25s;
}

.loading p:nth-child(4) {
    animation: var(--effect) .375s;
}

.loading p:nth-child(5) {
    animation: var(--effect) .5s;
}

.loading p:nth-child(6) {
    animation: var(--effect) .675s;
}

.loading p:nth-child(7) {
    animation: var(--effect) .75s;
}

@keyframes hover {
    0% {
        transform: scale(.5);
        color: #121212;
        -webkit-text-stroke: 2px gray;
    }

    20% {
        transform: scale(1);
        color: pink;
        -webkit-text-stroke: 3px red;
        filter: drop-shadow(0 0 1px black)drop-shadow(0 0 1px black)drop-shadow(0 0 3px red)drop-shadow(0 0 5px red)hue-rotate(10turn);
    }

    50% {
        transform: scale(.5);
        color: #121212;
        -webkit-text-stroke: 2px gray;
    }

}

/* Styling The Loading Bar */

.scroll-icon {
    position: fixed;
    bottom: 15%;
    right: 20px;
    background: #000;
    border-radius: 50%;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-icon img {
    width: 20px;
    height: 20px;
}