@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

* {
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

#cm-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    transition: all 0.25s;
}

#home {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-image: url(../resources/homepage.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: calc(100px + 20vh);
}

#cm-home-title {
    color: #FFF;
    font-family: 'Allura',sans-serif;
    font-size: 5rem;
    text-align: center;
}

#cm-home-text {
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 2vh;
    text-align: center;
    background-color: rgba(0,0,0,0.5);
}

.cm-button {

    color: #1A391F;
    font-family:'Roboto', sans-serif;
    font-weight: 500;
    text-decoration: none;
    padding-left: 20px;
    padding-right: 20px;
    --width: 250px;
    width: var(--width);
    height: calc(var(--width)/4);
    background-color: #FFF;
    border-radius: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.cm-button img {
    width: 25px;
}

#story {
    margin: 50px 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

#cm-story-container{
    margin: 20px 0;
    width: 30vw;
    align-self: end;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#cm-story-title {
    width: 100%;
    font-family: 'Allura',sans-serif;
    font-weight: 300;
    font-size: 4rem;
    color: #295C32;
}
#cm-story-content{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-bottom: 2.5vh;
}
#cm-story-learn-more {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: #1A391F;
}
#cm-story-learn-more img{
    width: 40px;
    margin-left: 20px;
}

#cm-story-image{
    width: 30vw;
    height: 60vh;
    background-image: url(../resources/storyImg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    font-family: 'Roboto',sans-serif;
}

#cm-food-menu-container {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    width: 60%;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#cm-food-menu-container p{
    color: #707070;
    font-weight: 400;
    margin-bottom: 20px;
}

.cm-food-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 200px;
    height: 40px;
    border-radius: 100px;
    background-color: #1A391F;
}

.cm-food-menu p {
    color: #FFF !important;
    height: 0;
}

.cm-food-menu-button-container{
    width: 450px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cm-light-green{
    background-color: #799A09!important;
}

#team {
    margin-top: 100px;
    width: 100%;
    background-image: url(../resources/pattern.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#cm-team-title {
    margin-top: 100px;
    font-family: 'Allura',sans-serif;
    color: #1A391F;
    width: 60%;
    font-size: 4.5rem;
    text-align: center;
}

#cm-team-content {
    width: 60%;
    font-family: 'Roboto', sans-serif;
    
}

#cm-team-button-container {
    display: flex;
    width: 450px;
    height: 40px;
    align-items: center;
    justify-content: space-between;
    font-family: 'Roboto',sans-serif;
    cursor: pointer;
}
#cm-team-button-meet {
    width: 200px;
    height: 40px;
    background-color: #1A391F;
    border-radius: 100px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
#cm-team-button-meet p{
    color: #FFF;
}

#cm-team-button-history {
    width: 200px;
    height: 40px;
    background-color: #799A09;
    border-radius: 100px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
#cm-team-button-history p{
    color: #FFF;
}

#cm-team-chef-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 70%;
    margin-top: 20px;
    font-family: 'Roboto',sans-serif;
}

.cm-team-chef {
    width: 45%;
}

.cm-team-chef-img {
    height: 70vh;
    background-image: url("../resources/kiran.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

}

.cm-chef-karma{
    background-image: url("../resources/karma.png");
}

.cm-team-chef-name {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    color: #1A391F;
}

.cm-team-chef-designation {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    color: #707070;
}

.cm-team-chef-socials {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.cm-team-chef-socials-link {
    margin-top: 10px;
}

.cm-separator {
    height: 25px;
    width: 2.5px;
    background-color: #707070;
}

#footer {
    margin-top: 100px;
    width: 100%;
}

#cm-footer-reservation {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
}

#cm-footer-reservation-title {
    width: 60%;
    text-align: center;
    font-family: 'Allura',sans-serif;
    font-size: 4rem;
    color: #1A391F;
}

#cm-footer-reservation-desc {
    font-family: 'Roboto',sans-serif;
    width: 60%;
    color: #707070;
}

.cm-footer-reservation-links {
    text-decoration: none;
    color: #295C32;
    cursor: pointer;
}

#cm-footer-top-container {
    background-color: #202B22;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 10px;
}

#cm-footer-top-desc {
    font-family: 'Roboto',sans-serif;
    font-weight: 300;
    color: #FFF;
    width: 40%;
    margin: 0 auto 0 auto;
}

#cm-footer-top-contact-container {
    margin: 100px auto 0 auto;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#cm-footer-top-contact-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
}

.cm-footer-top-contact-item {
    display: flex;
    text-decoration: none;
    align-items: center;
    cursor: pointer;
}

.cm-footer-top-contact-item p{
    margin-left: 5px;
    color: #FFF;
    font-family: "Roboto",sans-serif;
    font-weight: 300;
    font-size: 1rem;
}

#cm-footer-top-contact-socials a{
    margin: 0 5px 0 5px;
    cursor: pointer;
}

#cm-footer-working-times{
    width: 80vw;
    border: solid #202B22 12px;
    margin: 12px auto;
}

.cm-center-text{
    width: 80%;
    display: flex; 
    justify-items: center;
    margin: auto;
}


.cm-footer-top-working-container{
    position: relative;
    display: flex;
    height: 50px;
    width: 35%;
    background-color: #FFF;
    justify-items: center;
    margin: auto;
    top: -25px;
}

#cm-footer-operating-hours-text{
    width: 100%;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: bolder;
    color: #202B22;
}

.cm-footer-reservation-second-box{
    position: relative;
    top: -24px;
}

#cm-footer-operating-hours-description{
    width: 100%;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: regular;
    color: #202B22;
}

.cm-footer-operating-hours-splitbox{
    position: relative;
    top: -30px;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:12px auto;
}

.cm-footer-operating-hours-split-text{
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: regular;
    color: #202B22;
}

#cm-giftcard{
    margin-top: 15px;
    background-color: #1A391F;
    color: #FFF;
}

/* Phones */

@media  screen and (max-width: 767px) {
    #story {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center ;
        padding: 0;
        margin: 40px 0;
    }
    #cm-story-title {
        text-align: center;
    }
    #cm-story-container {
        width: 90vw;
    }
    #cm-story-image {
        height: 55vh;
        width: 90vw;
    }
    #cm-food-menu-container {
        margin-top: 40px;
        width: 80%;
    }
    
    .cm-food-menu-button-container{
        flex-direction: column;
        height: 100px;
    }

    #cm-team-title {
        width: 90%;
        font-size: 3rem;
        margin-bottom: 20px;
    }
    #cm-team-content {
        width: 90%;
        margin-bottom: 20px;
    }
   #cm-team-button-container {
    flex-direction: column;
    height: 100px;
   }

   #cm-team-chef-container {
    flex-direction: column;
    width: 90%;
   }

   .cm-team-chef {
    width: 100%;
   }

   #cm-footer-reservation-title {
    width: 90%;
   }
   #cm-footer-reservation-desc {
    width: 90%;
    font-weight: 300;
    font-size: 1.5rem;
    text-align: center;
   }
   #cm-footer-top-desc {
    width: 90%;
    font-size: 1.5rem;
    text-align: center;
   }
   #cm-footer-top-contact-container {
    flex-direction: column;
   }
   #cm-footer-top-contact-items {
    flex-direction: column;
    text-align: center;
   }
   .cm-footer-top-contact-item{
    margin-top: 40px;
    flex-direction: column;
   }
   .cm-footer-top-contact-item img{
    margin-bottom: 10px;
   }
   #cm-footer-top-contact-socials {
    margin-top: 40px;
    margin-bottom: 40px;
   }
   
   .cm-footer-top-working-container{
    width: 90%;
   }
   
   .cm-footer-operating-hours-splitbox{
       width: 95%;
   }
   .cm-footer-expanding-box{
       width: 90%;
   }
}

/* Tablet */

@media screen 
  and (min-width: 767px) 
  and (max-width: 1024px){
    #story {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center ;
        padding: 0;
    }
    #cm-story-container {
        width: 90vw;
    }
    #cm-story-image {
        height: 55vh;
        width: 90vw;
    }
     #cm-footer-top-desc {
    width: 90%;
    font-size: 1.5rem;
    text-align: center;
   }
   #cm-footer-top-contact-container {
    flex-direction: column;
   }
   #cm-footer-top-contact-items {
    flex-direction: column;
    text-align: center;
   }
   .cm-footer-top-contact-item{
    margin-top: 40px;
    flex-direction: column;
   }
   .cm-footer-top-contact-item img{
    margin-bottom: 10px;
   }
   #cm-footer-top-contact-socials {
    margin-top: 40px;
    margin-bottom: 40px;
   }
   .cm-footer-operating-hours-splitbox{
       width: 90%;
   }
   .cm-footer-top-working-container{
    width: 50%;
   }
}
