* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: linear-gradient(#b7b9db, #76d1bd);
}

/* ENABLING DARK MODE(USING A BUTTON) */
.dark-mode {
    background-image: linear-gradient(black, black);
    color: white;
}

/* STYLING THE LOGO (ID) */
#logo {
    margin-left: -300px;
    font-size: larger;
    color: black;
}

/* STYLING THE NAVIGATION BAR (ID) */
#navbar {
    display: flex;
    justify-content: center;
    overflow: hidden;
    background-color: fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

/* ENABLING DARK MODE(USING A BUTTON)-for the navbar */
.dark-mode-bar {
    display: flex;
    justify-content: center;
    overflow: hidden;
    background-color: black;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

.nav-ul {
    display: flex;
    list-style: none;
    margin: 20px 0px;
}

.nav-ul li {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
}

.nav-ul li a {
    text-decoration: none;
    color: black;
    padding: 8px 25px;
    transition: all .5s ease;
}

.nav-ul li a:hover {
    background-color: rgb(247, 241, 241);
    box-shadow: 0 0 10px #a7a7af;
}

/* MAKING THE NAVIGATION BAR FIXED AND ACTIVE (ON CLICK) */
.active,
.navlinks:hover {
    background-color: rgba(255, 244, 244, 0.493);
    color: white;
}

/* MAKING THE NAVIGATION BAR STICKY */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.sticky+.content {
    padding-top: 60px;
}


/* MOBILE NAVBAR */
.hamburger {
    border: none;
    background-color: transparent;
    color: transparent;
    cursor: pointer;
    display: none;
}

.hamburger:focus {
    outline: none;
}

#hamburger-image {
    width: 65%;
}

/* STYLING THE HOME SECTION */
.home-section {
    display: flex;
    align-items: center;
    margin-top: 7%;
}

#home-button {
    margin-left: 1%;
    margin-top: 2%;
}

.home-details {
    font-family: 'Andika', sans-serif;
    font-size: 3.2rem;
    text-align: left;
    margin-left: 15%;
    margin-top: 33%;
    color: rgb(10, 44, 85);
    width: 70%;
}

/* ENABLING DARK MODE(USING A BUTTON)-for the home-details */
.dark-mode-home {
    font-family: 'Andika', sans-serif;
    font-size: 3.2rem;
    text-align: left;
    margin-left: 15%;
    margin-top: 33%;
    color: rgb(201, 192, 192);
    width: 70%;
}

.smallhome-heading {
    font-family: 'Andika', sans-serif;
    font-size: large;
    margin-left: 15%;
    color: rgb(91, 52, 109);
    letter-spacing: 2px;
}

/* ENABLING DARK MODE(USING A BUTTON)-for the smallhome-heading */
.dark-mode-home-small {
    font-family: 'Andika', sans-serif;
    font-size: large;
    margin-left: 15%;
    color: rgb(209, 195, 195);
    letter-spacing: 2px;
}

/* styling the contact button(home section) */
#contact-button {
    border: none;
    background: none;
}

/* styling the contact image(home section) */
#contact-image {
    width: 150px;
    height: 60px;
    margin-left: 350%;
    margin-top: -5%;
}

.home-image {
    height: 430px;
    width: 840px;
    margin-top: 10%;
    margin-right: 3%;
}

.instruction{
    font-family: 'Andika', sans-serif;
    font-size: medium;
    color: black;
    letter-spacing: 1px;
}
/* styling the image swiper(home section) */
.container {
    width: 50%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6%;
    margin-top: 12%;
}

.swiper {
    width: 280px;
    height: 320px;
    display: block;
 }

/* 
.swiper {
    width: 80%;
    height: fit-content;
} */

.swiper-img{
    width: 200px;
    height: 250px;
}

/* STYLING THE ABOUT SECTION */
#about-section {
    display: flex;
    background-image: linear-gradient(#b7b9db, #9bd6ce);
}

#about-paragraph {
    font-family: 'Andika', sans-serif;
    margin-left: 6%;
    margin-right: 6%;
    margin-top: 8%;
    margin-bottom: 20%;
    font-size: x-large;
    text-align: left;
    letter-spacing: 3px;
    color: #4f4a8e;
    line-height: 3;
}

#about-image {
    width: 30%;
    height: 20%;
    margin-top: 15%;
    margin-right: 4%;
    border: white solid;
}

/* STYLING THE PROJECTS SECTION */
#project-section {
    display: flex;
    background-image: linear-gradient(#b7b9db, #9bd6ce);
}

.projects-header{
    font-family: 'Andika', sans-serif;
    font-size: large;
    letter-spacing: 3px;
    color: #4f4a8e;
    line-height: 3;
}

#projecct-div{
    padding: 1rem;
    border-radius: 5px;
    margin-left: 35%;
    margin-top: 10%;
}

/* STYLING THE GALLERY SECTION */
.gallery {
    overflow: hidden;
    padding: 20px;
}

.gallery-title {
    margin-top: 2%;
    margin-left: 10%;
    font-size: 30px;
    font-weight: 500;
    text-transform: capitalize;
    font-family: 'Andika', sans-serif;
    font-size: 3.0rem;
    text-align: left;
    color: #1a2e3f;
}

.gallery-container {
    padding: 0 10px;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 70%;
    height: 800px;
    margin-left: 16%;
}

.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-card {
    flex: 0 0 auto;
    width: 250px;
    height: 450px;
    margin-right: 40px;
    margin-top: 2%;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.group-image {
    width: 90%;
    height: 80%;
    object-fit: cover;
}

.card-btn {
    position: absolute;
    bottom: 80px;
    left: 45%;
    transform: translateX(-50%);
    padding: 10px;
    width: 70%;
    text-transform: capitalize;
    border: none;
    outline: none;
    background: rgb(217, 239, 240);
    border-radius: 5px;
    transition: 0.5s;
    cursor: pointer;
    opacity: 0;
}

.gallery-card:hover .card-btn {
    opacity: 1;
}

.card-btn:hover {
    background: #4da5ad;
    color: #fff;
}

.info {
    font-family: 'Andika', sans-serif;
    font-size: medium;
    color: #1a2e3f;
    margin-top: -15%;
    margin-left: 5%;
    letter-spacing: 1.1px;
}

/* STYLING THE NEXT & PREVIOUS BUTTONS */
.pre-btn,
.nxt-btn {
    border: none;
    width: 10vw;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
    cursor: pointer;
    z-index: 8;
}

.pre-btn {
    left: 0;
    transform: rotate(180deg);
    /* margin-top: 10%; */
}

.nxt-btn {
    right: 0;
    /* margin-left: 80%; */
}

.pre-btn img,
.nxt-btn img {
    opacity: 0.2;
}

.pre-btn:hover img,
.nxt-btn:hover img {
    opacity: 1;
}


/* STYLING THE CONTACTS SECTION */
.contact-section {
    margin-top: 10%;
    display: flex;
    justify-content: space-around;
}

.contact-image {
    width: 44px;
    margin-left: 17%;
}

.contact-name {
    font-family: 'Andika', sans-serif;
    font-size: large;
    letter-spacing: 2px;
    white-space: nowrap;
    line-height: 30px;
    margin-left: 1%;
    color: #4f4a8e;
}

/* STYLING THE COPYRIGHT SECTION */
#copyright {
    font-family: 'Andika', sans-serif;
    font-size: medium;
    letter-spacing: 2px;
    color: #214252;
    margin-top: 10%;
    margin-left: 31%;
}


/* MEDIA SCREEN STYLINGS(MOBILE DEVICES) */
@media only screen and (max-width: 767px) {
    #logo {
        display: none;
    }
    /* Navbar edits(mobile) */
    #navbar {
        justify-content: space-between;
    }

    .nav-ul {
        display: none;
        width: 30%;
        flex-direction: column;
        line-height: 3;
    }

    .nav-ul li {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }

    .nav-ul.show {
        display: flex;
    }

    .nav-ul li a {
        text-decoration: none;
        color: black;
        padding: 8px 25px;
        transition: all .5s ease;
        font-size: 12px;
        margin-right: -490%;
        margin-top: -6%;
    }

    .hamburger {
        display: block;
        position: fixed;
    }

    #home-button {
        display: none;
    }

    .home-details {
        font-size: 3rem;
    }

    #contact-image {
        width: 150px;
        height: 60px;
        margin-left: 190%;
    }

    /* ABOUT US EDITS(mobile) */
    #about-paragraph {
        margin-top: 30%;
        font-size: large;
        letter-spacing: 1px;
        line-height: 2;
    }

    #about-image {
        margin-top: 35%;
    }

    #about-section {
        margin-top: 12%;
    }

    /* GALLERY EDITS (mobile) */
    .gallery-container {
        padding: 0 10px;
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        width: 70%;
        height: 800px;
        margin-left: 16%;
        margin-top: 10%;
    }

    .gallery-card {
        flex: 0 0 auto;
        width: 280px;
        height: 450px;
        margin-right: 40px;
        margin-top: 2%;

    }

    .pre-btn,
    .nxt-btn {
        border: none;
        width: 10vw;
        height: 100%;
        position: sticky;
        top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
        cursor: pointer;
        z-index: 8;
    }

    .pre-btn {
        left: 0;
        transform: rotate(180deg);
        margin-bottom: -8%;
    }

    .nxt-btn {
        right: 0;
        margin-left: 90%;
    }

    /* CONTACT US EDITS(mobile) */
    .contact-section {
        display: inline-block;
        margin-left: 50%;
    }

    #copyright {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-top: 10%;
        margin-left: 6%;
    }

}