body{
    margin: auto;
    max-width: 80%;
    font-family: "Limelight", sans-serif;
    background-color: #e5e4e2;
    color: #704241;
    
    /*-border: 2px solid #592720;*/ /*for checking of overflow issue/s*/
}
.limelight-regular {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  font-style: normal;
}
#btn-dropdown{
    display: none;
    margin: 0;
    top: 0;
    left: 0;
    width: 150px;
    padding: 5px;
    font-family: "Limelight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: #704241;
    text-align: center;
    cursor: pointer;
    border: 3px solid #592720;
    border-top: none;
}
#btn-dropdown:hover{
    color: #d2691e;
    text-shadow: 1px 1px #7b3f00;
}
#header{
    margin: 0;
    padding: 30px;
    display: flex;
    justify-content: center;
    font-size: 30px; 
}
#header h1{
    margin: 0;
    padding: 0;
    flex: 1;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 2px 2px #592720;
}
#navbar{
    margin: 0;
    padding: 15px;
    display: flex;
    justify-content: center;
    border-bottom: 3px solid #592720;
}
#navbar ul{
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    justify-content: center;
    text-align: center;
    list-style: none;
    gap: 15px;
}
#navbar li a{
    padding: 15px;
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #704241;
    font-size: 25px;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px #592720;
}
#navbar a:hover{
    color: #d2691e;
    text-shadow: 1px 1px #7b3f00;
}
.main-flex-container{
    margin: 0;
    padding: 15px 0 15px 0;
    display: flex;
    flex-wrap: nowrap;
    border-left: 3px solid #592720;
}
#aside{
    display: block;
    margin: 0;
    top: 0;
    bottom: 0;
    flex-basis: 20%;
    justify-content: center;
}
#aside div{
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.aside-flex-container img{
    width: 100%;
    min-height: 260px;
    max-height: 260px;
    flex: 1;
}
.aside-flex-container p{
    flex: 1;
    font-size: 20px;
    padding: 5px;
}
#section{
    margin: 0;
    flex-basis: 80%;
}
#section > div{
    flex: 1;
}
#sect-welcome{
    margin: 0;
    padding: 30px 35px 30px 35px;
    background-color: #592720;
    color: white;
}
#sect-welcome h2{
    font-size: 35px;
}
#sect-welcome h3{
    font-size: 25px;
}
#sect-coffee{
    margin: 0;
    flex: 1;
}
#sect-coffee h2{
    padding: 30px 0 30px 0;
    font-size: 35px;
    text-align: center;
}
#sect-coffee > div{
    display: flex;
    gap: 20px;
}
.flexwrap-coffeelist > div {
    flex: 1;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
}
.flexwrap-coffeelist > div{
    border: 3px solid #592720;
    border-radius: 30px;
    text-align: center;
}
.flex-coffee-img > img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}
.flex-coffee-details{
    margin: 0;
    padding: 10px 0 10px 0;
    flex: 1;
    font-size: 20px;
    border-top: 3px solid #592720; 
}
.flexwrap-coffeelist .btn-refill{
    width: 100%;
    padding: 15px 0 15px 0;
    flex: 1;
    background-color: #592720;
    font-family: "Limelight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    justify-content: center;
    letter-spacing: 2px;
    color: white;
    cursor: pointer;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
.flexwrap-coffeelist button:hover{
    color: #d2691e;
    text-shadow: 1px 1px #7b3f00;    
}
.modal-refill-container{
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    position: fixed;
    display: none;
}
.modal-refill-details{
    position: relative;
    text-align: center;
    animation: pop-out 0.5s ease-out forwards;
}
.modal-refill-details img{
    object-fit: contain;
    max-width: 100vw;
    max-height: 100vh;
}
@keyframes pop-out{
    0%{
        /*shrink & invisible*/
        transform: scale(0.5); 
        opacity: 0;
    }
    80%{
        /*enlarge and slightly visible*/
        transform: scale(1.05);
        opacity: 0.5;
    }
    100%{
        /*normal and fully visible*/
        transform: scale(1);
        opacity: 1;
    }
}

#sect-contact{
    margin: 0;
}
#sect-contact h2{
    padding: 30px 0 30px 0;
    font-size: 35px;
    text-align: center;
}
#sect-contact > div{
    padding: 30px;
    display: flex;
    justify-content: center;
    background-color: #592720;
}
.flex-contact-container > form > div{
    flex: 1;
    font-size: 25px;
}
.flex-contact-container .form-label, .flex-contact-container .form-control{
    width: 100%;
}
.flex-contact-container .form-label{
    color: white;
    padding: 10px 0 10px 0;
    font-size: 25px;
}
.flex-contact-container .form-control{
    font-size: 20px;
}
.flex-contact-container button{
    margin: 10px 0 10px 0;
    width: 100%;
    padding: 5px 0 5px 0;
    font-family: "Limelight", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    letter-spacing: 2px;
    color: #592720;
    cursor: pointer;
    border: 2px solid #592720;
    border-radius: 30px;
}
.flex-contact-container button:hover{
    color: #d2691e;
    text-shadow: 1px 1px #7b3f00;
}

#footer{
    display: flex;
    flex: 1;
    justify-content: center;
    font-size: 20px;
    border-top: 3px solid #592720;  
}


@media only screen and (max-height: 600px) {
    .modal-refill-details{
        padding-block: 5vh;
    }
    .modal-refill-details img{
        max-height: 70vh;
    }
}

@media only screen and (min-height: 650px) {
    .modal-refill-details{
        padding-block: 5vh;
    }
}

@media only screen and (max-width: 450px) {
    #navbar li a{
        padding: 0;
        flex: 1;
    }
}

@media only screen and (max-width: 720px) {
    body{
        margin: 0;
        max-width: 100%;
    }
    #navbar{
        padding: 15px 5px 15px 5px;
    }
    #navbar li a{
        font-size: 20px;
    }
    #sect-coffee h2{
        padding: 30px 15px 30px 15px;
    }
    #sect-coffee > div{
        padding: 0 30px 0 30px;
        flex-direction: column;
        gap: 20px;
    }
    .flexwrap-coffeelist > div{
        border: none;
    }
    .flex-coffee-img > img {
        width: 100%;
        height: 250px;
    }
    #sect-contact h2{
        padding: 30px 15px 30px 15px;
    }
}

@media only screen and (max-width: 1013px) {
    #btn-dropdown{
        display: block;
    }
    .main-flex-container{
        flex-wrap: wrap;
        border: none;
    }
    #aside{
        display: none;
        flex-basis: 100%;
        flex-direction: row;
    }
    .aside-flex-container img{
        object-fit: contain;
        flex: 1;
    }
    .aside-flex-container p{
        flex: 1;
        text-align: center;
    }
    #section{
        flex-basis: 100%;
    }
}

@media only screen and (min-width: 2000px){
    #aside{
        display: block;
    }
}

@media only screen and (min-width: 3000px){
    html, body{
        width: 50%;
        margin: auto;
    }
    #aside{
        flex-basis: 25%;
    }
    #section{
        flex-basis: 75%;
    }
    #sect-coffee > div{
        flex-direction: column;
        gap: 30px;
    }
    .flex-coffee-img{
        margin: auto;
        width: 70%;
        justify-content: center;
    }
    .modal-refill-details img{
        max-width: 50vw;
        max-height: 50vh;
    }
}

