@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

html::-webkit-scrollbar {
    width: 0.5rem;
}

section {
    padding: 3rem 9%;
}

body {
    min-height: 100vh;
    background-color: white;
}

nav {
    background: #f0fff7;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
    position: fixed;
    min-width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-weight: bolder;
    height: 6rem;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav li {
    height: 6rem;
    font-size: 1.65rem;
    font-weight: lighter;
}

nav li:first-child {
    font-size: 2.5rem;
    font-weight: bolder;
}

nav a {
    height: 100%;
    padding: 0px 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}

nav a:hover {
    background-color: #29d978;
}

nav li:first-child a {
    color: #29d978;
}
nav li:first-child a:hover {
    background-color: #fff;
}
nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 40vh;
    width: 250px;
    background-color: rgba(240, 255, 247, 0.9); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
}

.menu-button {
    display: none;
}

.si {
    padding: 1rem 3rem;
    border: .1rem solid #29d978;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: .5rem;
    cursor: pointer;
    font-size: 2rem;
    color: #29d978;
}


.heading {
    text-align: center;
    color: #29d978;
    text-transform: uppercase;
    margin-bottom: 4rem;
    margin-top: 2rem;
    font-size: 4rem;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    border: .1rem solid #29d978;
    border-radius: .5rem;
    cursor: pointer;
    font-size: 2rem;
    color: #29d978;
}


.btn:hover {
    background: #29d978;
    color: #fff;
}

/* Home */

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(img/nature_leaves.jpg) no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.home .content {
    max-width: 60rem;
    text-align: center;
}

.home .content h3 {
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: white;
    padding-top: 22rem;
    padding-bottom: 3.5rem;
}


/* end */

.about .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about .row .content {
    flex: 1 1 40rem;
}

.about .row .content h3 {
    font-size: 3.5rem;
    color: black;
    text-transform: uppercase;
}

.about .row .content ul {
    margin-top: 2rem;
    padding-left: 1.5rem;
}

.about .row .content ul li {
    font-size: 1.8rem;
    color: black;
    line-height: 2;
}

.about .row .image {
    flex: 1 1 40rem;
}

.about .row .image img {
    width: 100%;
}


.newsletter {
    background: url(img/newsletter.jpg) no-repeat;
    background-position: center;
    background-size: cover;
}

.newsletter .content {
    font-size: 2rem;
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
}

.newsletter .content p {
    font-size: 1.8rem;
    line-height: 2;
    color: black;
}

#clock {
    color: black;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 0 auto;
}

#clock p {
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
}

#clock p span {
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    color: brown;
}

.mySlides{
    display: none;
}
img{
    vertical-align: middle;
}
.slideshow-container{
    max-width: 60%;
    position: relative;
    margin: auto;
}
.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;
}
.next{
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover,.next:hover{
    background-color: rgba(0,0,0,0.8);

}
.text{
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}
.numbertext{
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot{
    cursor: pointer;
    height: 9px;
    width: 9px;
    margin: 8px 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover{
    background-color: #717171;
}

.fade{
    -webkit-animation-name:fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

.diet .controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;
    list-style: none;
}
.buttons:hover{
    scale: 1.1;
    background-color: #29d978;
}

.diet .controls .buttons {
    padding: 3rem 2rem;
    background: white;
    cursor: pointer;
    margin-bottom: 3rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 1rem;
}

.diet .controls .buttons img {
    height: 6rem;
}

.diet .controls .buttons h3 {
    font-size: 1.7rem;
    padding-top: 1rem;
    color: black;
}

.diet .controls .buttons.active {
    background: white;
}

.diet .image-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.diet .image-container .box {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.diet .image-container .box:hover .image img {
    transform: scale(1.1);
}

.diet .image-container .box .image {
    height: 25rem;
    overflow: hidden;
    width: 100%;
}

.diet .image-container .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.diet .image-container .box .content {
    padding: 2rem;
}

.diet .image-container .box .content .link {
    font-size: 2rem;
    color: #29d978;
}

.diet .image-container .box .content p {
    padding: 1rem 0;
    font-size: 1.4rem;
    color: black;
    line-height: 2;
}

.diet .image-container .box .content .icon {
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.diet .image-container .box .content .icon a {
    font-size: 1.4rem;
    color: black;
}

.diet .image-container .box .content .icon a:hover {
    color: #29d978;
}

.diet .image-container .box .content .icon a i {
    padding-right: .5rem;
    color: #29d978;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;
    background-color:#f0fff7;
}

.footer .box-container .box h3 {
    font-size: 2rem;
    padding: 1.5rem 0;
    color: #29d978;
}

.footer .box-container .box a {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    color: black;
    padding: 1rem 0;
}

.footer .box-container .box a i {
    margin-right: .5rem;
}

.footer .box-container .box a:hover i {
    margin-right: 2rem;
}

.footer .credit {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    background-color: #f0fff7;
}

.footer span {
    color: #29d978;
}


@media screen and (max-width: 800px) {

    nav li {
        height: 6rem;
        font-size: 2rem;
        font-weight: lighter;
        font-family: 'Poppins', sans-serif;
    }

    nav li:first-child {
        font-size: 2.5rem;
        font-weight: bolder;
    }

    .hideOnMobile {
        display: none;
    }

    .home {
        min-height: 75vh;
    }

    .menu-button {
        display: block;
    }

    html {
        font-size: 55%;
        overflow-x: hidden;
        scroll-behavior: smooth;
        scroll-padding-top: 6rem;
    }

    html::-webkit-scrollbar {
        width: 0.5rem;
    }

    #clock {
        font-weight: bold;
        color: black;
        padding: 1rem;
        border-radius: 0.5rem;
        margin: 0 auto;
    }

    #clock p {
        text-align: center;
    }

    #clock p span {
        font-size: 1.8rem;
        margin-top: 10px;
        margin-right: 10px;
        color: #29d978;
        font-weight: bold;
    }

    .slideshow-container{
        max-width: 90%;
        position: relative;
        margin: auto;
    }

}

@media screen and (max-width:400px) {
    .sidebar {
        width: 100%;
    }

    .home {
        min-height: 75vh;
    }

    html {
        font-size: 45%;
        overflow-x: hidden;
        scroll-behavior: smooth;
        scroll-padding-top: 6rem;
    }

    html::-webkit-scrollbar {
        width: 0.25rem;
    }

    #clock {
        font-weight: bold;
        color: black;
        padding: 1rem;
        border-radius: 0.5rem;
        margin: 0 auto;
    }

    #clock p {
        text-align: center;
    }

    #clock p span {
        font-size: 1.8rem;
        margin-top: 10px;
        margin-right: 10px;
        color: #29d978;
        font-weight: bold;
    }
    .prev,.next,.text {
        font-size: 0.80rem;
    }
    .dot {
        height: 6px;
        width: 6px;
    }

}