@import url("https://fonts.googleapis.com/css2?family=AR+One+Sans:wght@400;600&family=Lato:wght@400;700&family=Quicksand:wght@300;400;600&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: transparent;
    scroll-behavior: smooth;
    scroll-padding-top: 9vh;
}

/* :root{
    --primary-color:rgb(63, 220, 231);
} */
@keyframes text {
    from {
        text-shadow: 0px 0px 10px rgb(255, 0, 0);
    }

    to {
        box-shadow: 5px 10px 10px rgb(118, 115, 126);
    }
}

.body-div {
    font-size: 16px;
    font-family: "AR One Sans", sans-serif;
    width: 100%;
    min-height: 100vh;
    /* padding-top: 7%; */
    /* font-family: 'Lato', sans-serif; */
    /* font-family: 'Quicksand', sans-serif;*/
}

.head {
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 9999999;
    background-color: rgb(255, 255, 255);
}

.head div {
    font-size: 14px;
    display: flex;
    justify-content: left;
    align-items: center;
    background-color: transparent;
    height: 5vh;
}

.head h2 {
    display: none;
}

.head div img {
    margin: 0px 10px 0px 5px;
    width: 120px;
    height: 36.46px;
}

.nav {
    background-color: rgb(9, 9, 9);
    font-size: 23px;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    padding: 2px;
    margin: 1px 5px;
    border-radius: 35px;
}

.nav ul {
    background-color: inherit;
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-flow: row wrap;
    border-radius: 90px;
    padding: 0 40px;
}

.navigator li a {
    color: white;
    text-decoration: none;
    transition: 0.5s;
}

.navigator a:hover,
a:active {
    color: rgb(0, 255, 255);
    text-decoration: underline;
    position: relative;
    bottom: 2px;
}

.home-box {
    min-height: 92vh;
    margin-top: 9vh;
}

#home {
    background-image: url(images/home-bg.jpg);
    background-size: contain;
    background-position: center;
    background-blend-mode: luminosity;
    background-color: rgba(35, 155, 157, 0.79);
    min-height: 92vh;
    filter: brightness(80%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-box marquee {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgba(0, 0, 0, 0.566);
    backdrop-filter: blur(2px);
    color: white;
    font-size: 45px;
    position: absolute;
    top: 36vh;
    font-weight: bolder;
    color: rgb(255, 255, 255);
    /* border: 2px solid rgb(255, 255, 255); */
    box-shadow: 0px 5px 10px rgb(67, 255, 255);
    text-shadow: 0px -2px 10px rgb(67, 255, 255);
    animation: text 1s ease-in-out 0.1s infinite alternate-reverse;
}

.event-box {
    /* border: 5px solid; */
    display: flex;
    justify-content: left;
    flex-flow: row nowrap;
    position: relative;
    height: auto;
}

.event-box aside {
    /* border: 2px solid green; */
    background-color: rgb(0, 0, 0);
    min-height: 95vh;
    max-height: 95vh;
    width: auto;
    padding: 20px;
    position: sticky;
    top: 9%;
}

.event-box aside ul {
    display: flex;
    flex-flow: column nowrap;
    list-style: none;
    justify-content: center;
    align-items: flex-start;
}

.event-box aside li {
    font-size: 20px;
    margin: 30px 40px 2px 5px;
    padding: 4px;
    width: 100%;
    height: 5vh;
    box-shadow: 0px 0px 10px rgb(18, 146, 146);
    border-radius: 10%;
    transition: ease-in-out 0.2s;
    cursor: pointer;
}

.event-box aside li:hover {
    background-color: rgb(55, 55, 55);
}

.event-section {
    min-height: 200vh;
    width: 100%;
    position: relative;
    background: linear-gradient(0deg,
            rgb(0, 200, 255),
            rgb(111, 213, 247),
            rgb(98, 246, 246),
            rgb(103, 252, 247),
            rgb(98, 246, 246),
            rgb(111, 213, 247),
            rgb(0, 200, 255));
    box-shadow: 0px 0px 5px black;
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
    padding-top: 8vh;
}

.event-head h2 {
    font-size: 44px;
}

.event-container {
    margin: 40px 0px;
}

.event-container>h2 {
    text-decoration: none;
    font-size: 40px;
    text-align: center;
}

.card-box {
    width: 90%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 10px;
    margin: auto;
}

.card-box a {
    text-decoration: none;
    color: black;
}

.card {
    background-color: rgba(252, 252, 252, 0.81);
    /* border: 1px solid black; */
    border-radius: 20px;
    width: 21vw;
    height: 28vh;
    margin: 20px;
    padding: 10px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
    font-size: 26px;
    box-shadow: 0px 0px 5px rgba(181, 176, 175, 0.762);
    transition: all ease-in-out 0.5s 0.1s;
    cursor: pointer;
}

.card h3 {
    border-radius: 20px;
    padding-left: 10px;
}

.card:hover {
    background-color: rgba(181, 179, 179, 0.384);
    box-shadow: 0px 0px 10px black;
    transition: all ease-in-out 0.3s 0s;
    transform: scale(110%);
}

.card:active {
    background-color: rgb(73, 71, 71);
    box-shadow: 0px 0px 0px black;
    transition: all ease-in-out 0.2s 0s;
    transform: scale(100%);
}

.card:hover h3 {
    transition: all ease-in-out 0.6s 0.1s;
    font-size: 38px;
    color: white;
    background-color: black;
}

.card:hover div {
    transition: all ease-in-out 0.5s 0.1s;
    font-size: 20px;
}

.card:hover::after {
    color: rgb(255, 0, 0);
    content: "Click to register";
}

.registration-outer-box {
    /* border: 5px solid; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(0deg,
            rgb(0, 200, 255),
            rgb(111, 213, 247),
            rgb(98, 246, 246),
            rgb(103, 252, 247),
            rgb(98, 246, 246),
            rgb(111, 213, 247),
            rgb(0, 200, 255));
}

.registration-inner-box {
    width: 60vw;
    padding: 3% 0;
    border-radius: 40px;
    background-color: rgba(255, 255, 255, 0.515);
    transition: 0.2s;
}

.registration-inner-box:hover {
    box-shadow: 0px 5px 30px rgb(45, 45, 45);
}

.registration-top {
    background-color: rgb(215, 235, 254);
    border-radius: 30px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    align-items: center;
}

.registration-top img {
    width: 25%;
}

.registration-top span,
h2 {
    font-size: 25px;
    text-decoration: underline;
    background-color: transparent;
}

.registration-main {
    border-radius: 30px;
    padding: 40px 30px 10px;
}

.registration-main form {
    display: flex;
    justify-content: space-evenly;
    flex-flow: column nowrap;
    align-items: center;
}

.form-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}
.form-flex div{
    height: 11vh;
}

.form-label {
    display: block;
    font-weight: bold;
    font-size: 22px;
    margin-top: 6px;
}

.form-input {
    font-size: 20px;
    width: 380px;
    padding: 6px;
    border-radius: 5px;
}

.registration-main form input:hover,
select:hover,
button:hover {
    border-color: rgb(241, 65, 65);
}

.button {
    width: 180px;
    margin: 40px 0px 0px 0px;
    padding: 6px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bolder;
    color: rgb(0, 0, 0);
    background-color: rgba(0, 242, 255, 0.688);
    transition: all ease-in-out 0.1s;
}

.error{
    color: rgb(249, 31, 31);
}

.button:active {
    transform: scale(90%);
}
.info{
    padding-top: 10px;
    align-self: flex-start;
}

.footer-box {
    background-color: rgb(0, 0, 0);
    height: 40vh;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-flow: column nowrap;
}

.footer-content {
    font-size: 16px;
    background-color: transparent;
    color: white;
}

.footer-icon {
    /* border: 2px solid red; */
    font-size: 50px;
    color: aliceblue;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60vw;
}

.footer-icon a,
span {
    background-color: transparent;
}

.footer-icon img {
    background-color: transparent;
    width: 40px;
    height: 40px;
}

.footer-icon img:hover {
    width: 45px;
    height: 45px;
    transform: rotate(360deg);
    transition: all ease-in-out 0.4s 0.1s;
}

.footer-icon img:active {
    width: 35px;
    height: 35px;
    transition: all ease-in-out 0.2s;
    transform: rotate(-360deg);
}

.footer-logo a {
    /* border: 2px solid red; */
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 0px 4px 15px aqua;
}

.footer-logo:hover {
    transition: all ease-in-out 0.3s;
    transform: scale(110%);
}

@media only screen and (max-width: 800px) {
    .head div {
        margin-left: 4px;
        font-size: 3px;
        height: 3.5vh;
    }

    .head div img {
        width: 90px !important;
        height: 26.46px !important;
    }

    .head h1 {
        display: none;
    }

    .head h2 {
        display: inline-block !important;
        text-decoration: none;
        font-size: 24px;
    }

    .nav {
        font-size: 14px !important;
        margin: 1px 0px !important;
        border-radius: 0;
    }

    #hide {
        display: none;
    }

    .nav ul {
        justify-content: space-around;
        padding: 0px !important;
    }

    #home {
        background-image: url(images/home-bg_mobile.jpg) !important;
        background-size: contain !important;
    }

    .home-box {
        margin-top: 5vh;
    }

    .home-box marquee {
        font-size: 35px;
    }

    .event-head h2 {
        font-size: 28px;
    }

    .event-container {
        margin: 20px 0px;
    }

    .event-container>h2 {
        text-decoration: none;
        font-size: 26px;
        text-align: center;
    }

    .event-box aside {
        display: none;
    }

    .registration-inner-box {
        margin: 20px 0px;
        width: 98% !important;
    }
    .form-input {
        width: 300px;
    }

    .card-box {
        width: 100vw !important;
        padding-left: 1vw;
    }

    .card {
        width: 45vw !important;
        height: 20vh !important;
        line-height: 32px;
        margin-right: 0;
        margin-left: 10px;
    }

    .card h3 {
        font-size: 26px;
        margin-bottom: 10px;
        padding: 5px;
    }

    .card:hover {
        background-color: rgba(181, 179, 179, 0.384);
        box-shadow: 0px 0px 10px black;
        transition: all ease-in-out 0.3s 0.1s;
        transform: scale(105%);
    }

    .card:active {
        background-color: rgb(73, 71, 71);
        box-shadow: 0px 0px 0px black;
        transition: all ease-in-out 0.2s 0s;
        transform: scale(100%);
    }

    .card:hover h3 {
        transition: all ease-in-out 0.6s 0.1s;
        font-size: 26px;
        color: white;
        background-color: black;
        line-height: 25px;
        overflow: hidden;
    }

    .card:hover div {
        transition: all ease-in-out 0.5s 0.1s;
        font-size: 20px;
    }

    .card:hover::after {
        content: none;
    }

    .footer-icon {
        width: 90vw !important;
    }
}