/*--------------------------------------------Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;700&display=swap');

/*--------------------------------------------Colors*/
/* Define color variables for different sections */
.ui-menu-color-home {
    background-color: #4a5060;
}

.ui-menu-color-articles {
    background-color: #70AFE2;
}

.ui-menu-color-review {
    background-color: #926e5a;
}

.ui-menu-color-login {
    background-color: #929fb0;
}

/*--------------------------------------------Body*/
/* Set the default styles for the body */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*--------------------------------------------Headings*/
/* Set the font styles for headings */
h1,
h2,
h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    /* Bold */
}

/*--------------------------------------------Text Colors*/
/* Define text color classes */
.text-black {
    color: black;
}

.about-text {
    background-color: whitesmoke;
}

/*--------------------------------------------Buttons*/
/* Style for secondary buttons */
.btn-secondary {
    background-color: #70AFE2;
    /* Set the desired background color */
    color: #ffffff;
    /* Set the desired text color */
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #85bfee;
    /* Set the desired background color on hover/focus */
    color: #ffffff;
    /* Set the desired text color on hover/focus */
}

/*--------------------------------------------Layout*/
/* Set the layout styles */
.flex-grow-1 {
    flex-grow: 1;
    background-color: whitesmoke;
}

main {
    padding-top: 2px;
}

/*--------------------------------------------Containers*/
/* Style for different container sections */
.callout-container-reviews {
    height: 80vh;
    background: rgba(0, 0, 0, 0.1) url("../images/coffee.jpg") no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: -25px;
}

.opaque-overlay-reviews {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 60%;
}

.jumbotron-header-reviews {
    color: #f3f3f3;
    font-weight: bold;
    font-size: 30px;
    opacity: .9;
    text-align: center;
}

.callout-container-home {
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.1);
    background-image: url("../images/coffee-blue.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.opaque-overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 55%;
}

/*--------------------------------------------Grid Items*/
/* Style for grid items */
.grid-item {
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.grid-item:hover {
    background-color: #d41818;
}

.grid-item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/*--------------------------------------------Branding*/
/* Style for branding elements */
.brand {
    font-family: Lato, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

/*--------------------------------------------Navbar*/
/* Style for the navigation bar */
.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.navbar {
    margin-bottom: 0;
    width: 100%;
    border: 0;
    font-size: 20px;
    padding-right: 10px;
    position: relative;
    z-index: 2;
}

/* Navbar active state */
.navbar .nav-link.active {
    background-color: transparent !important;

}

/* Logo active state */
.navbar-brand.active {
    background-color: transparent !important;
}

.navbar-container-home {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(112, 175, 226);
    padding-top: 15px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.navbar-container {
    position: relative;
    background-color: #000000;
    color: rgba(112, 175, 226);
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.navbar .navbar-toggler {
    border: 0;
}

.navbar .navbar-brand {
    font-weight: bold;
    margin-left: 16px;
    color: white;
    font-size: 35px;
    letter-spacing: 2px;
}

.nav-link {
    margin-left: 15px;
    letter-spacing: 2px;
    color: #fff;
}

.nav-link:hover {
    color: #926e5a;
}

/*--------------------------------------------Jumbotron*/
/* Style for jumbotron sections */
.jumbotron {
    background-color: transparent;
}

.jumbotron-header-home {
    color: #f3f3f3;
    font-size: 45px;
    opacity: .9;
    text-align: center;
}

.jumbotron .lead {
    color: #f3f3f3;
    opacity: .9;
    text-align: center;
}

.lead {
    font-size: 1.7rem;
    font-weight: 300;
    padding-bottom: 20px;
}

.lead a {
    color: rgba(112, 175, 226);
}

/*--------------------------------------------Block Dividers*/
/* Style for block dividers */
.block-divider-home {
    height: 5px !important;
    border: 0 !important;
    background-color: #70AFE2 !important;
}

/*--------------------------------------------Page Headers*/
/* Style for page headers */
.page-header {
    margin-bottom: 0;
    border-bottom: 0;
    text-align: center;
}

.page-header h2 {
    margin-top: 0;
}

.title {
    text-align: center;
}

/*--------------------------------------------Branding Colors*/
/* Define branding colors */
.blue-o {
    color: #70AFE2;
}

.thin {
    font-weight: 300;
}

/*--------------------------------------------Background Colors*/
/* Define background color classes */
.light-bg {
    background-color: #fff;
}

.dark-bg {
    background-color: #445261;
}

.main-bg {
    background-color: whitesmoke;
}

/*--------------------------------------------Cards*/
/* Style for cards */
.card {
    border: none;
    background-color: transparent;
}

.card-title {
    padding-top: 15px;
}

/*--------------------------------------------Image Container*/
/* Style for image containers */
.image-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*--------------------------------------------Container*/
/* Style for containers */
.container {
    margin-bottom: 0;
}

.image-flash {
    position: absolute;
    bottom: 5%;
    min-width: 30%;
    right: -2px;
    background-color: #ffffff;
}

/*--------------------------------------------Scaling*/
/* Style for scaling elements */
.scale {
    width: 100%;
    height: auto;
}

/*--------------------------------------------Author*/
/* Style for author information */
.author {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    color: #000000;
    margin: 2px;
}

/*--------------------------------------------Masthead*/
/* Style for mastheads */
.masthead {
    margin-top: 10px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    height: 39vh;
    width: 100%;
}

.masthead-text {
    background-color: rgba(112, 175, 226);
    color: white;
    position: relative;
}

.masthead-image {
    position: relative;
    overflow: hidden;
}

.masthead-image:after {
    position: absolute;
    top: 0;
    right: 90%;
    height: 100%;
    width: 150%;
    background: rgba(112, 175, 226);
    z-index: 100;
}

.profile-image {
    width: 75%;
}

/*--------------------------------------------Post Links*/
/* Style for post links */
.post-link {
    text-decoration: none;
    color: #445261;
}

.post-link:hover,
.page-link {
    color: #926e5a;
}

.post-title {
    margin-top: 5%;
    margin-left: 2%;
    font-size: 45px;
}

.post-subtitle {
    margin-left: 2%;
    color: black;
}

.post-likes-comment {
    color: black;
}

/*--------------------------------------------Buttons*/
/* Style for buttons */
.btn-signup,
.btn-edit {
    background-color: rgba(112, 175, 226);
    color: #ffffff;
}

.btn-signup:hover,
.btn-signup:active {
    background-color: rgb(133, 191, 238);
    color: #ffffff;
}

/*--------------------------------------------Links*/
/* Style for links */
.link {
    color: rgba(112, 175, 226);
    text-decoration: none;
}

.link:hover,
.link:active {
    color: #926e5a;
    text-decoration: underline;
}

.mr-3 {
    margin-right: 0.75rem;
    /* Adjust the value as needed */
}

/*--------------------------------------------Like Button*/
/* Style for like buttons */
.btn-like {
    color: #E84610;
    border: none;
    background: transparent;
}

.btn-like:hover,
.btn-like:active {
    color: #E84610;
    background: transparent;
    border: none;
}

/*--------------------------------------------Delete Button*/
/* Style for delete buttons */
.btn-delete {
    color: #fff;
    background: #E84610;
}

/*--------------------------------------------Faded Text*/
/* Style for faded text */
.faded {
    color: rgb(172, 175, 175);
}

/*--------------------------------------------Approval Text*/
/* Style for approval text */
.approval {
    color: rgb(222, 146, 168);
}

/*--------------------------------------------Navigation Grid*/
/* Style for navigation grid */
.nav-grid {
    margin: 0;
}

.nav-grid-li {
    padding: 0;
}

.menuitem {
    height: 120px;
    text-align: center;
    padding: 0;
}

.menuitem a {
    width: 100%;
    text-decoration: none;
    color: #ffffff;
    height: 120px;
}

.menuitem a i {
    padding-top: 22px;
    display: block;
    color: #fafafa;
    font-size: 26px;
}

.menuitem span {
    display: block;
    width: 100%;
    padding-top: 5px;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
}

/*--------------------------------------------Hover Effects*/
/* Style for hover effects */
.hvr-sweep-to-bottom:before {
    background: rgba(112, 175, 226, 0.8);
    height: 120px;
}

/*--------------------------------------------Favourite Posts*/
/* Style for favorite posts */
a {
    text-decoration: none;
    color: #000000;
}

a:hover {
    color: #926e5a;
}

a.text-dark:hover {
    color: #926e5a !important;
}

.btn-outline-primary {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #dc3545;
}

#fav-red {
    color: #E84610;
}

/*--------------------------------------------Add Review*/
/* Style for adding reviews */
.form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    /* Adjust the value as needed */
    margin-bottom: 5rem;
}

/*--------------------------------------------Footer*/
/* Style for the footer */
footer {
    width: 100%;
    padding-top: 5px;
    color: rgba(112, 175, 226);
    background-color: rgba(0, 0, 0, 0.1);
}

.container-wrapper {
    padding-top: 20px;
}

.footer-container {
    position: relative;
    background-color: rgba(0, 0, 0);
    bottom: 10px;
    left: 0;
    width: 100%;
    z-index: 3;
    /* Increase the z-index value */
}

.footer-container-home {
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    z-index: 3;
    /* Increase the z-index value */
}

.copyright-text {
    text-align: center;
    margin-top: 20px;
}

.content-container {
    padding-bottom: 15px;
    border-radius: 8%;
}

.centralize-content {
    text-align: center;
}

h3 {
    font-family: Lato, sans-serif;
    font-size: 1.2rem;
}

/*--------------------------------------------Social Links*/
/* Style for social media icons within list items */
.social-links li a i {
    width: 32px;
    height: 32px;
    padding: 12px 0;
    border-radius: 50%;
    font-size: 13px;
    line-height: 7px;
    text-align: center;
    color: #fafafa;
    background: rgba(112, 175, 226);
    transition: all 0.35s ease-in-out;
}

.social-links li a i:hover {
    background: #926e5a;
}

/*--------------------------------------------Slideshow*/
/* Style for individual slides */
.mySlides {
    display: none;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

img {
    vertical-align: middle;
}

.hide {
    display: none;
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Slideshow dots */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot:hover,
.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
    /* Change the duration to 1s */
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Media query (min-width:767.98px - max-width:1023px) */

@media (max-width: 767.98px) {

    .mySlides img {
        height: 100%;
    }

    .contain-likes {
        padding-left: 0;
    }

    .navbar-container-home {
        position: relative;
    }

    .navbar {
        background-color: rgba(0, 0, 0);
    }

    h1.jumbotron-header-home {
        font-size: 45px;
        margin-top: 10px;
    }

    .masthead {
        height: 25vh;
    }

    .content-container {
        padding-bottom: 15px;
        border-radius: 8%;
    }

    .centralize-content {
        text-align: center;
    }

    .lead {
        font-size: 1.2rem;
        font-weight: 300;
    }

    .justify-content-start,
    .justify-content-end,
    .justify-content-center {
        justify-content: center !important;
    }

    footer {
        /* position: absolute; */
        /* bottom: 0; */
        /* left: 0; */
        width: 100%;
        color: #fafafa;
        padding-top: 20px;
        background-color: rgba(0, 0, 0);

    }

    .footer-container-home {
        position: relative;
    }

    .callout-container-home {
        height: 150vh;

    }
   
}
