@import url('https://fonts.googleapis.com/css2?family=Kaisei+Tokumin&family=Poppins:ital,wght@0,400;0,500;1,300&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Bad+Script&family=Caveat+Brush&family=Explora&family=Hurricane&family=Kaisei+Tokumin&family=Kolker+Brush&family=Oooh+Baby&family=Over+the+Rainbow&family=Poppins:ital,wght@0,400;0,500;1,300&family=Splash&family=Vujahday+Script&family=Zilla+Slab+Highlight:wght@400;700&display=swap');


:root {
    --brand-font: 'Goudy Bookletter 1911', serif;
    --lg-font: 'Kaisei Tokumin', serif;
    --sm-font: 'Poppins', sans-serif;
    --pink: green;
}

body {
    font-family: var(--sm-font);
    
   
}
        

/* button */
.bg-primary {
    background-color: var(--pink) !important;
    color: white;
    border-color: var(--pink);
}

.btn:not(.nav-btns button) {
    background-color: var(--pink);
    color: white;
    padding: 10px 28px;
    border-radius: 28px;
    border-color: var(--pink);
    ;
}


.btn:not(.nav-btns button):hover {
    background-color: darkgreen;
    color: white;
    border-color: darkgreen;
}

/* text color*/
.text-primary {
    color: var(--pink) !important;
}



@media only screen and (max-width:1040px) and (min-width: 992px) {
    .navbar li {
        font-size: 18px;
    }

    .navbar .nav-btns span {
        font-size: 25px;
    }

    .navbar .navbar-brand span {
        font-size: 25px;
    }

    .navbar p {
        font-size: 12px;
    }
    .container .carousel-item h1{
        font-size: 38px;
    }
    .container .carousel-item h2{
        font-size: 20px;
    }
    .container .carousel-item h3{
        font-size: 20px;
    }
    

 

}

@media only screen and (max-width:991px) and (min-width: 559px) {
    .container .carousel-item h1{
        font-size: 38px;
    }
    .container .carousel-item h2{
        font-size: 20px;
    }
    .container .carousel-item h3{
        font-size: 20px;
    }
    .navbar .navbar-brand .logoimg {
        max-height: 50px;
    }
    .container-fluid h2 .logoimg{
        max-height: 50px;
    }
}

@media only screen and (max-width:600px) and (min-width: 320px) {
    body {
        background-image: none !important;
    }
    .navbar li {
        font-size: 11px;
    }

    .navbar .nav-btns i {
        font-size: 11px;
    }

    .navbar .nav-btns span {
        font-size: 10px;
    }

    .navbar .navbar-brand span {
        font-size: 25px;
    }
    .navbar .navbar-brand .logoimg {
        max-height: 38px;
    }
    .container-fluid h2 .logoimg{
        max-height: 38px;
    }
    .navbar p {
        font-size: 12px;
    }
    .container .carousel-item h1{
        font-size: 38px;
    }
    .container .carousel-item h2{
        font-size: 20px;
    }
    .container .carousel-item h3{
        font-size: 20px;
    }

    #collection .filter-button-group button {
        font-size: 10px;

    }

    #collection .filter-button-group {
        width: 100%;
    }

    .special-list p {
        font-size: 12px;
    }

    .special-list span {
        font-size: 12px;
    }

    .special-list a {
        font-size: 12px;
    }

    .container p {
        font-size: 14px;
    }

    .container h1 {
        font-size: 50px;
    }

    .container h2 {
        font-size: 20px;
    }

 .container-fluid h4 {
        font-size: 12px;
    }
     .container-fluid h5 {
        font-size: 12px;
    }
    .container a {
        font-size: 12px;

    }

    .container span {
        font-size: 12px;
    }

    .container li {
        font-size: 12px;
    }

    .container label {
        font-size: 12px;
    }

    .container small {
        font-size: 12px;
    }

    .container input {
        font-size: 12px;
    }

    .container button {
        font-size: 12px;
    }

    .btn {
        font-size: 12px;
    }

    .container tr {
        font-size: 11px;
    }

    footer .brand {
        font-size: 18px;
    }

    .trackBack ol li {
        font-size: 12px;
    }

    #announcementNews.ticker .news .newslist {
        font-size: 10px;
    }

    #announcementNews.ticker .news .newslist a {
        font-size: 10px;
    }

    .top-page .before-navbar {
        height: 40px;

    }

    .top-page .before-navbar .before-navbar-socials a {
        font-size: 10px;
    }

    #collection .container {
        width: 80%;
    }


    #guide .container {
        width: 95%;
    }
   


}

@media only screen and (min-width: 1219px) {
    .navbar .navbar-collapse {
        display: block;
    }

}


.navbar {
    width: 100%;
    
}


.navbarScroll {
    background-color: white;

}

.navbar-brand span {
    letter-spacing: 0.5px;
    font-size: 46px;
    font-family: var(--brand-font);
    color: green;
}

.nav-item {
    width: auto;
    
}

.nav-link:hover {
    color: darkgreen !important;
}

.nav-item {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);

}

#navMenu {
    font-size: 20.5px;
    
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}
.nav-active{
    background-color: green;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
}


/* Useful Links */
 .useful-links a {
                    color: darkgreen;
                    text-decoration: none;
                    font-weight: 500; /* Make links slightly bold */
                    transition: color 0.3s ease; /* Smooth transition for hover */
                  }
                  .useful-links a:hover {
                    color: #004d00; /* Darker green for hover effect */
                    text-decoration: underline; /* Underline on hover */
                  }



/* header */
#header {
    background-image: url(../assets/BUAECSite.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}
#header2 {
    background-image: url(../assets/nature.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 300px;

}
#header3 {
    background-image: url(../assets/piggery.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 300px;

}
#header4 {
    background-image: url(../assets/shortlistedcandidates2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 300px;

}



.transbox {
    margin: 10px;
    background-color: #ffffff;
    opacity: 0.6;
    border-radius: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.carousel-inner h1 {
    font-size: 60px;
    font-family: var(--lg-font);

}

.carousel-inner h3 {
    color: darkgreen;
}

.carousel-item .btn {
    border-color: darkgreen !important;
}

.carousel-item .btn:hover {
    border-color: darkgreen !important;
}

/* website intro */

/* title */
.title h2::before {
    position: absolute;
    content: "";
    width: 4px;
    height: 50px;
    background-color: var(--pink);
    left: -20px;
    top: 50%;
    transform: translateY(-50%)
}

/* collection */

.btn-filter {
    background: none;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    display: inline-block;
    margin: 10px 28px;
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.2s ease-in-out;

}

.active-filter-btn {
    background-color: var(--pink) !important;
    color: black !important;
    border-color: var(--pink) !important;
}

.filter-button-group .btn:hover {
    color: #fff !important;
}

.collection-img span {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    max-width: 100%;
    height: 100%;
}


/* Special*/


.overlay-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.special-img span {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
}

.special-list .btn {
    padding: 8px 20px !important;
}

.special-img img {
    height: 300px;
    transition: all 0.3s ease;
}

.special-img:hover img {
    transform: scale(1.1);
}

.special-img:hover .overlay-1 {
    width: 100%;
}


/* offers */
#offers {
    background: url(../assets/demo-image.jpg) center/cover no-repeat;
}

#offers .row {
    min-height: 30vh;
}

.offers-content span {
    font-size: 28px;
}

.offers-content h2 {
    font-size: 60px;
    font-family: var(--lg-font);
}

.offers-content btn {
    border-color: transparent !important;
}


/* About */

#about p {
    font-family: var(--sm-font);
}

/* articles */
#blogs .view:hover {
    color: #CD5C5C !important;

}


.card .articleimg .img {
    height: 15vw;
    object-fit: cover;

}





/*footer*/
footer .brand {
    font-family: var(--brand-font);
    font-size: 20px;

}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    
}



#welcome

/* modal in welcome section */
#popular img {
    height: 85px;
}

/* modal right */

.modal-right {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}



.card img {
    max-width: 100%;
    height: auto;
}



.product {
    background-color: #fff;

}

.brand {
    font-size: 13px
}

.color {
    margin-bottom: 10px
}



.btn-danger {
    background-color: #ff0000 !important;
    border-color: #ff0000 !important
}

.btn-danger:hover {
    background-color: #da0606 !important;
    border-color: #da0606 !important
}

.btn-danger:focus {
    box-shadow: none
}

.cart i {
    margin-right: 10px
}

.mycard .btn {
    border-color: #fff;
}

.mycard .btn:hover {
    color: #CD5C5C !important;
}


/* media queries */
@media(min-width: 992px) {
    .nav-item {
        border-bottom: none;
    }
}

/* article page */

.article {
    font-family: var(--lg-font);
    text-align: start;
}

.article img {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;

}




.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%)
}


.button {
    cursor: pointer;
    font-weight: 500;
    left: 3px;
    line-height: inherit;
    position: relative;
    text-decoration: none;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-radius: 1px;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
}

.button--small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.button--green {
    outline: none;
    background-color: #64d18a;
    border-color: #64d18a;
    color: white;
    transition: all 200ms ease;
}

.button--green:hover {
    background-color: #8bdda8;
    color: white;
}


.column {
    padding: 30px;
    text-align: center;
    font-size: 25px;
    cursor: pointer;

}


.containerTab {
    padding: 20px;

}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Closable button inside the container tab */
.closebtn {
    float: right;
    color: black;
    font-size: 35px;
    cursor: pointer;
}


/* Popup */        

/* Popup container - can be centered on screen */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
}

/* Popup content */
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 70%;
    max-width: 350px;
    font-family: var(--sm-font);
}

/* Close button */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--pink);
}

/* Show popup */
.show-popup {
    visibility: visible;
    opacity: 1;
}
