* {
    Margin: 0;
    Padding: 0;
    Font-family: “Josefin Sans”, sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

Header {
    Height: 100%;
    Background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.15)),
        url("contents/comp.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

header::before {
    position: absolute;
    bottom: 0px;
    content: "";
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.613), transparent, transparent, rgba(0, 0, 0, 0.695));
}

Nav {
    Width: 100%;
    Height: 12vh;
    /* Background: rgba(0, 0, 0, 0.5); */
    Color: white;
    Display: flex;
    Justify-content: space-between;
    Align-items: center;
    Text-transform: uppercase;
    position: absolute;
}

.logo {
    margin-left: 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu {
    float: right;
    justify-content: space-evenly;
    width: 70%;
    max-width: 800px;
    display: none;
}

.menu a {
    font-size: 18px;
    Text-decoration: none;
    Color: #ffffff;
    Font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 4px solid transparent;
    transition-duration: .2s;
}

.sidebar-btn {
    font-size: 25px;
    margin-right: 30px;
    cursor: pointer;
    z-index: 5;
    user-select: none;
    position: fixed;
    right: 0px;
}

/* side menu area starts here ----------------------------- */

.side-menu {
    position: fixed;
    right: -200px;
    background-color: rgb(24, 0, 47);
    height: 100vh;
    width: 300px;
    max-width: 100vw;
    right: 0px;
    display: flex !important;
    flex-direction: column;
    transition-duration: .3s;
    transition-timing-function: ease-out;
    right: -300px;
    z-index: 4;
}

#side-menu-img {
    margin: 20px auto;
}

.side-menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-bottom: 3px solid rgb(0, 0, 0);
    margin-inline: 30px;
    margin-top: 10px;
    padding: 20px;
    transition-duration: .2s;
}

/* main introduction content starts here --------------------- */


.head-box {
    Width: 100%;
    Height: 85vh;
    Display: flex;
    Justify-content: center;
    Align-items: center;
    Text-align: center;
    Color: rgb(215, 237, 237);
}

.container h3 {
    font-size: 5.3vw;
    Font-weight: 200;
    Letter-spacing: 3px;
    Text-shadow: 1px 1px 2px black;
    margin-top: 25%;
}

.container h1 {
    Margin: 30px 0 20px 0;
    font-size: 8vw;
    Font-weight: 700;
    Text-shadow: 2px 1px 5px black;
    Text-transform: uppercase;
}

.container p {
    Font-size: 3.7vw;
    Word-spacing: 2px;
    Margin-bottom: 25px;
    Text-shadow: 1px 1px 1px black;
}

/* conatiner 2 starts here---------------------- */

.container2 {
    padding: 10px;
    display: flex;
    justify-content: center;
    background-position: cover;
    align-items: center;
    flex-direction: column;
    background-image: url("./contents/bg2.avif");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    height: 100%;
    width: 100%;
    position: relative;
}

.container2::before {
    position: absolute;
    z-index: 2;
    bottom: 0px;
    content: "";
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.754), transparent, rgba(0, 0, 0, 0.656));
}

.p1-text {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.who-we-are {
    position: relative;
    z-index: 2;
    background-color: rgb(155, 0, 163);
    padding: 10px;
    border-radius: 4px;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    width: 60vw;
    text-align: center;
    margin-top: 30px;
    max-width: 400px;
    transition-duration: .2s;
}


/* footer ----------------------------------------------------- */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 400px;
    background-color: rgb(0, 0, 0);
    color: rgb(189, 189, 189);
}

.social {
    display: flex;
    justify-content: space-around;
    padding-inline: 15%;
    margin-top: 30px;
}

.social a {
    text-decoration: none;
}

.connect i {
    height: 35px;
    width: 35px;
    font-size: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition-duration: .2s;
}


/* black effect div  */
.black-effect {
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    background-color: rgb(0, 0, 0, .5);
    z-index: 2;
    top: 0;

}

/* hover effects ------------------------------------- */

.menu a:hover {
    border-bottom: 4px solid rgb(242, 0, 255);
}

.side-menu a:hover {
    border-bottom: 3px solid rgb(242, 0, 255);
    padding-left: 26px;
}

.who-we-are:hover {
    background-color: rgb(101, 0, 107);
}

.connect i:hover {
    color: rgb(242, 0, 255) !important;
    cursor: pointer;
}

/* aminations -------------------------------------- */

.change_content:after {
    Content: "";
    animation: changetext 12s infinite linear;
    color: rgb(226, 37, 255);
    font-size: 7.5vw;
}

@keyframes changetext {
    0% {
        content: "Web Development";
    }

    15% {
        content: "Responsive Design";
    }

    30% {
        content: "Data Science";
    }

    44% {
        content: "Machine Learning";
    }

    60% {
        content: "Data Analytics";
    }

    75% {
        content: "Campus Ambassador";
    }

    90% {
        content: "Digital Forensics";
    }

    100% {
        content: "Machine Learning";
    }
}





/* media queries / responsiveness--------------------------  */

@media (min-width: 700px) {

    .sidebar-btn {
        display: none;
    }

    .logo {
        font-size: 14px;
    }

    .container h1 {
        font-size: 55px;
    }

    .container h3 {
        font-size: 35px;
    }

    .container p {
        font-size: 25px;
    }

    .menu {
        display: flex;
    }

    .side-menu {
        display: none;
    }

    .change_content:after {
        font-size: 45px;
    }

}