* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #ffff;
    font-family: 'Montserrat', sans-serif;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html,
body {
    height: 100vh;
    width: 100%;
    /* perspective: 800px; */
}

#nav {
    height: 100px;
    width: 100%;
    /* background-color: rgba(9, 85, 63, 0.397); */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    position: fixed;
    padding: 0px 62px;
    flex-wrap: wrap;
    z-index: 90;
}

#nav>a {
    text-transform: uppercase;
    /* border: 2px solid red; */
}

a:hover {
    text-decoration: none;
    color: rgb(27, 68, 68);

}

#nav img {
    height: 70px;
    border-radius: 50%;
}

video {
    height: 120%;
    width: 100%;
    object-fit: cover;
    position: fixed;
    z-index: -1;
}

#main {
    position: relative;
    background-color: rgba(0, 0, 0, 0.37);

}

#page1 {
    height: 100vh;
    width: 100%;
    /* background-color: aquamarine; */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

#page1 h1 {
    font-size: 90px;
    font-weight: 900;
    position: relative;

}

#page1 h1::before {
    content: "LEARN. CODE. REPEAT.";
    position: absolute;
    color: black;
    top: -5px;
    left: -5px;
    -webkit-text-stroke: 2px #0cf6c7;
    z-index: -1;
}

#page1 h2 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 15px;
}

#page1>p {
    width: 40%;
    color: #0cf6c7ee
}

#page2 {
    min-height: 100vh;
    width: 100%;
    z-index: 10;
}

#cursor {
    height: 15px;
    width: 15px;
    background-color: #26eac3cd;
    border-radius: 50%;
    position: fixed;
    z-index: 990;
}

#cursor-blur {
    height: 400px;
    width: 400px;
    background-color: #26eac343;
    border-radius: 50%;
    position: fixed;
    filter: blur(50px);
    z-index: 9;
}

marquee {
    font-weight: 1000;
    font-size: 90px;
    word-spacing: 1.5em;
    /* color: #0cf6c7; */
}

#scroller {
    /* background-color: #0cf6c7; */
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: inherit;
}

#scroller::-webkit-scrollbar {
    display: none;
}

#scroller-in {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 25s linear infinite;

    /* animation-name: scroll;
    animation-timing-function: linear;
    animation-duration: 30s;
    animation-iteration-count: infinite; */
}

#scroller h4 {
    display: inline-block;
    font-size: 100px;
    font-weight: 900;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-right: 3rem;
    transition: all linear 0.4s;
    color: transparent;
    -webkit-text-stroke: 2px #26eac3;
}

#scroller h4:hover {
    color: #4cfcd9;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

#about-us {
    margin: 60px auto;
    height: 40vh;
    width: 100%;
    /* background-color: blueviolet; */
    position: relative;
    z-index: 10;
    display: flex;
    padding: 0 50px;
    align-items: center;
    justify-content: center;
}

#about-us img {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    object-fit: cover;
}

#about-us-in {
    width: 50%;
    text-align: center;
    padding: 0 50px;
}

#about-us-in h3 {
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 30px;
}

.cards-container {
    /* background-color: greenyellow; */
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* margin: 2px 10px; */
}

.cards {
    height: 80%;
    width: 22%;
    background-color: blueviolet;
    border-radius: 10px;
    /* overflow: hidden; */
    z-index: 10;
    overflow: hidden;
    transition: all ease 0.6s;
}

#card1 {
    background-image: url(img/Hacking\ 2.jpg);
    background-size: cover;
    background-position: center;

}

#card2 {
    background-image: url(img/code.jpg);
    background-size: cover;
    background-position: center;
}

#card3 {
    background-image: url(img/pexels-cottonbro-studio-8721318.jpg);
    background-size: cover;
    background-position: center;
}

.overlay {
    height: 100%;
    width: 100%;
    background-color: #26eac3;
    padding: 8px;
    padding-top: 100px;
    opacity: 0;
    transition: all ease 0.6s;
}

.overlay h4 {
    color: #000;
    font-size: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 20px;
    font-weight: 800;
}

.overlay p {
    color: #000;
    font-size: 12px;
}

.cards :hover {
    opacity: 1;
    transform: rotate3d(-1, 1, 0, 20deg);
}
