*{
    padding: 0px;
    margin: 0px;
}
body{
    background-color: rgb(238, 238, 238);
    overflow-x: hidden;
}
.container{
    max-width: 1000px;
    margin: 10px auto;
    text-align: center;
}
.logo{
    width: 30%;
    height: 30%;
    align-self: center;
}
.logo-container{
    max-width: 90vw;
    width: 100%;
    border: 2px solid grey;
    margin: auto;
}
.logo-container-new{
    max-width: 90vw;
    width: 100%;
    border: 2px solid grey;
    margin: auto;
}
.nav-bar{
    margin: 15px auto;
    max-width: 80%;
}
.nav-bar-new{
    margin: 15px auto;
    max-width: 80%;
}
.nav-items{
    display: flex;
    justify-content: space-between;
    font-family: cursive;
}
.nav-items li{
    list-style: none;
    border: 1.5px solid grey;
    border-radius: 5px;
    padding: 2px;
    color: black;
    margin-left: 5px;
    white-space: nowrap;
}
.nav-items li:hover,.nav-items li:active{
    background-color: #F25C45;
    color: white;
}
.fas:hover{
    background-color: black;
}
.nav-items a{
    text-decoration: none;
}
.search .fas{
    background-color: #F25C45;
    color: white;
    padding: 3px;
    border-radius: 2px;
    position: relative;
    top: 2px;
    font-size: 20px;
}
input[type="search"]:focus{
    border: 1px solid #F25C45;
    border-radius: 2px 2px 0 0;
}
#keyword{
    width: 40%;
    margin: -4px;
    height: 26px;
    border: 1px solid grey;
    border-left: none;
    padding-left: 5px;
    font-family: cursive;
}
.search-bar{
    margin-bottom: 30px;
}
.catalogue{
    max-width: 90vw;
    margin: 30px auto;
    display: grid;
    grid-template-rows: auto auto auto auto;
}
.cakes-catalogue,.cupcakes-catalogue,.doughnuts-catalogue,.small-chops-catalogue{
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    grid-gap: 10px;
}
.card{
    width: 100%;
    border-radius: 5px;
    margin-bottom: 40px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.picture{
    width: 300px;
    height: 300px;
    overflow: hidden;
    position: relative;
}
.picture img{
    height: fit-content;
    width: fit-content;
    transition: 0.8s ease-in-out;
}
.picture img:hover{
    transform: scale(1.2);
}
.cart{
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 0px;
    display: none;
}
.picture img:hover + .cart{
    display: block;
}
.cart:hover{
    display: block;
}
.fa-cart-plus{
    color: black;
    background-color: #FAE394;
    padding: 10px;
    border-radius: 10px 0px 0px 0px;
}
.fa-cart-plus:hover{
    background-color: #FAE394;
    color: white;
}
.description{
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    padding: 0px 15px;
    font-family: cursive;
    font-weight: bold;
}
.name{
    justify-content: start;
    white-space: nowrap;
}
.price{
    justify-content: flex-end;
}
.card:hover{
    position: relative;
    bottom: 2px;
    left: 2px;
}
.responsive-nav{
    display: none;
}
footer{
    background-color: rgba(0,0,0,0.4);
    margin-bottom: 0px;
    display: flex;
    padding: 10px;
    width: 100vw;
    justify-content: space-around;
}
.section{
    display: flex;
    flex-direction: column;
}
.section h3{
    margin: 10px 0;
    font-family: cursive;
}
.section li{
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 4px;
    list-style:circle;
    list-style: none;
}
.section ul li::before{
    content: "\2022";
    color: #F25C45;
    font-size: 1.5em;
    margin-right: 4px;
}
.one span{
    display: flex;
    margin: 10px 0 20px 0;
}
.one span .fas{
    margin-right: 10px;
    color: #F25C45;
    font-size: 20px;
}
.one span p{
    margin-top: 3px;
    font-weight: 600;
}
.fab{
    margin-bottom: 10px;
    font-size: 20px;
}
.instagram{
    color: #8a3ab9 ;
}
.facebook{
    color: #3b5998;
}
.whatsapp{
    color: #075e54;
}
.responsive-nav-items{
    background-color: white;
    padding: 10px;
}
.hide{
    display: none;
}
.responsive-nav-items a{
    text-decoration: none;
    color: #F25C45;
}
.responsive-nav-items a:hover{
    color: white;
    background-color: black;    
    border-radius: 15%;
    padding: 5px;
}
.responsive-nav-items li{
    list-style: none;
    margin-bottom: 10px;
    font-family: cursive;
    font-size: 20px;
}
.hamburger .fas:hover{
    cursor: pointer;
    background-color: white;
}
.modal-container{
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.modal-wrapper{
    display: flex;
    justify-content: center;
    align-self: center;
    min-height: 100vh;
    max-width: 700px;
    margin: auto;
}
.prev{
    justify-content: left;
    font-size: 40px;
    align-self: center;
    background-color: white;
    padding: 0px 5px;
    position: relative;
    left: 50px;
    top: -30px;
}
.next{
    justify-content: right;
    font-size: 40px;
    align-self: center;
    background-color: white;
    padding: 0px 5px;
    position: relative;
    right: 70px;
    top: -30px;
}
.prev:hover,.next:hover{
    color: #F25C45;
    cursor: pointer;
}
.modal{
    display: block;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    width: 80%;
    max-width: 700px;
    margin: auto;
}
.modal-image{
    width: 70%;
    height: 70%;
}
.close{
    font-size: 40px;
    float: right;
    position: relative;
    top: -45px;
    background-color: white;
    height: 40px;
    padding-bottom: 3px;
    padding-right: 5px;
    padding-left: 5px;
}
.close:hover{
    cursor: pointer;
    color: red;
}
.caption{
    margin: 20px auto;
    align-self: center;
    justify-content: center;
    width: 68.5%;
    padding: 5px;
    font-family: cursive;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    left: -15px;
    color: white;
    background-color: black;
}
.welcome{
    text-align: center;
    height: 550px;
    margin-top: 0px;
    background: url(images/cupcake\ centered.jpg) center/cover fixed no-repeat;
    display: none;
}
.center{
    align-self: center;
    height: 600px;
    position: relative;
    top: 30%;
    margin:auto;
}
.welcome-new{
    text-align: center;
    height: 550px;
    margin-top: 0px;
    background: url(images/cupcake\ centered.jpg) center/cover fixed no-repeat;
}
.about-us-new{
    width: 70%;
    margin: 40px 10px;
    text-align: left;
    font-size: 1.5em;
}
.about-us-new h2{
    margin-bottom: 20px;
}
.about-us-new h2 span{
    color: #F25C45;
}
.line-one{
    font-size: 30px;
    font-family: cursive;
    color: white;
    font-weight: bold;
}
.line-two{
    font-size: 40px;
    font-family: cursive;
    font-weight: bold;
    margin-bottom: 10px;
}
.line-two span{
    color: #F25C45;
}
.explore{
    background: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding: 10px;
    border: 2px solid white;
    color: white;
}
.explore:hover{
    cursor: pointer;
    background-color: #F25C45;
    color: black;
    border: 2px solid black;
}
.About-us{
    width: 70%;
    margin: 20px 40px;
    display: none;
}
.About-us h2{
    font-size: 30px;
    font-family: cursive;
    margin-bottom: 10px;
}
.About-us h2 span{
    color: #F25C45;
}
.fa-glass-cheers{
    color: #F25C45;
    margin-right: 5px;
}
.learn-more{
    background: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    padding: 5px;
    border: 1.5px solid black;
    border-radius: 4px;
    color: black;
    margin-top: 10px;
}
.learn-more:hover{
    background-color: #F25C45;
    color: white;
    border: 2px solid white;
}
.yellow-cake{
    display: none;
    margin: 50px 40px;
    border: 6px solid #F25C45;
    width: fit-content;
    position: absolute;
}
.yellow-cake img{
    width: 70vw;
    height: 70vw;
    position: relative;
    bottom: -30px;
    right: -30px;
    transition: 1s ease-in-out;
}
.yellow-cake img:hover,.yellow-cake img:active{
    position: relative;
    bottom: 0px;
    right: 0px;
}
.mobile-products{
    display: none;
    margin-bottom:20px;
}

.text-logo{
    display: none;
}
.text-logo-new{
    font-family: cursive;
}
.text-logo-new span{
    color: #F25C45;
}
.mobile-products-new ul{
    display: inline-block;
    width: 35vw;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
.mobile-products-new li{
    padding: 5px;
    border: 2px solid black;
    align-self: center;
    border-radius: 10px;
    list-style: none;
    margin: 10px 10px;
}
.mobile-products-new li:hover{
    background-color: #F25C45;
    border: 2px solid white;
}
.mobile-products-new a{
    text-decoration: none;
    color: black;
}
.mobile-products-new a:hover{
    color: white;
}
@media screen and (max-width:1000px){
    .picture{
        width: 250px;
        height: 250px;
    }
    .picture img{
        width: 250px;
        height: 250px;
    }
}
@media screen and (max-width:850px){
    .picture,.picture img{
        max-width: 220px;
        max-height: 220px;
    }
    .description{
        font-size: 12px;
    }
}
@media screen and (max-width:753px){
    .picture{
        max-width: 200px;
        max-height: 200px;
    }
}
@media screen and (max-width:683px){
    .picture{
        max-width: 185px;
        max-height: 185px;
    }
    .description{
        font-size: 10px;
        padding: 0px 6px;
    }
}
@media screen and (max-width:635px){
    .picture{
        max-width: 175px;
        max-height: 175px;
    }
}
@media screen and (max-width:600px){
    .prev{
        left: 38px;
    }
    .new-section{
        display: none;
    }
    .mobile-products{
        display: block;
    }
    .text-logo{
        font-family: cursive;
    }
    .text-logo span{
        color: #F25C45;
    }
    .mobile-products ul{
        display: inline-block;
        width: 35vw;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
    }
    .mobile-products li{
        padding: 5px;
        border: 2px solid black;
        align-self: center;
        border-radius: 10px;
        list-style: none;
        margin: 10px 10px;
    }
    .mobile-products li:hover,.mobile-products li:active{
        background-color: #F25C45;
        border: 2px solid white;
    }
    .mobile-products a{
        text-decoration: none;
        color: black;
    }
    .mobile-products a:hover{
        color: white;
    }
    body{
        background-color: white;
        overflow-x: hidden;
    }
    .container{
        background-color: rgb(238, 238, 238);
        padding-top: 40px;
        width: 100vw;
        margin-top: 100%;
    }
    .About-us{
        display: block;
    }
    .yellow-cake{
        display: block;
    }
    .welcome{
        display: block;
        width: 100vw;
    }
    .logo-container{
        display: none;
    }
    .search-bar{
        width: 100%;
    }
    .cakes-catalogue,.cupcakes-catalogue,.doughnuts-catalogue,.small-chops-catalogue{
        display: flex;
        flex-direction: column;
        margin: auto;
    }
    .catalogue{
        width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }
    .nav-bar{
        width: 100%;
        display: none;
    }
    .nav-items{
        width: 40%;
        margin: 10px auto;
    }
    .responsive-nav{
        display: flex;
        padding: 5px 5px;
        background-color: white;
        margin: 0px;
        height: 40px;
        max-width: 600px;
        width: 93vw;
        justify-content: space-between;
    }
    .responsive-logo{
        margin: 0px;
        width: 100%;
    }
    .small-logo{
        height: 80px;
        width: 80px;
        position: relative;
        top: -25px;
        left: -15px;
        align-self: center;
    }
    .brand-name{
        justify-content: center;
        position: relative;
        align-self: center;
        font-family: cursive;
        font-weight: bold;
        left: -45%;
    }
    .brand-name span{
        color: #F25C45;
    }
    .hamburger{
        color: #F25C45;
        font-size: 20px;
        position: relative;
        align-self: center;
    }
    .card{
        max-width: fit-content;
    }
    .picture,.picture img{
        max-width: 70vw;
        max-height: 70vw;
    }
    .description{
        font-size: 12px;
    }
    .section{
        font-size: 0.6em;
    }
    .one span{
        margin-bottom: 8px;
    }
    .one span .fas{
        margin-right: 4px;
        font-size: 15px;
    }
    .fab{
        font-size: 15px;
    }
    footer{
        margin-top: -30px;
        width: 95vw;
    }
    .text-logo{
        display: block;
    }
}
@media  screen and (max-width:350px) {
    .mobile-products ul{
        font-size: 10px;
    }    
}
@media screen and (max-width:235px){
    .description{
        font-size: 10px;
    }
    .mobile-products li{
        font-size: 5px;
    }
}
@media screen and (max-width:300px){
    .brand-name{
        left:-37% ;
    }
    .mobile-products ul{
        font-size: 8px;
    }
}
@media screen and (max-width:200px){
    .description{
        font-size: 8px;
    }
    .cart{
        font-size: 8px;
    }
}
@media screen and (max-width:165px){
    .description{
        font-size: 6px;
    }
    .responsive-nav{
        width: 107vw;
    }
}