:root{
    --primary : #FCEFD2;
    --secondary : #642C99;
    --normalFontFamily: 'Cairo', sans-serif;
    --cakeFontFamily : 'DynaPuff', cursive;
}

*{
    margin: 0px;
    padding: 0px;
    font-family: var(--normalFontFamily);
    box-sizing: border-box;
}
.root{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 5px 10px;
    background: #642C99;
    color: #FCEFD2;
    width: 200px;
    height: 50px;
    border-radius: 10px;
    border: none;
}

.bgcolorprimary{
    background-color: var(--primary);
}

.container{
    display: flex;
    flex-direction: column;
    justify-content: start;
}
.headsection {
   padding: 25px 5%;
   position: relative;
}
nav {
    margin: 10px 0px;
    color: var(--secondary);
}
nav ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: start;
}
nav ul li{
    font-size: large;
    font-weight: 500px;
    margin: 0px 10px;
    vertical-align: baseline;
}

nav ul li:first-of-type{
    font-weight: bold;
    margin-left: 0px;
}

nav ul li:hover {
    text-decoration: underline;
    cursor: pointer;
}

button:hover{
    cursor: pointer;
    background-color: #70429c;
}
main section h1 {
    color: var(--secondary);
    font-size: 120px;
    line-height: 120px;
    font-family: var(--cakeFontFamily);
    font-weight: bold;
    margin: 100px 0px 50px 0px;
}
 main section p {
    font-size: 20px;
    font-weight: 500;
    color: var(--secondary);

 }


main  .twocake-holder{
    position: absolute;
    right: 2%;
    bottom:  -200px;
    z-index: 2;
}
main section .btn-shopNow{
    margin-top: 50px;
    font-size: 20px;
}


.header-divider {
    z-index: 1;
    position: absolute;
    bottom: -116px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg,180deg);
}

.header-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 116px;
    transform: rotateY(180deg);
}

.header-divider .shape-fill {
    fill: var(--primary)
}


.content {
    padding: 25px 5%;
    background-color: #642C99;
    position: relative;

}

.txtcontent{
    padding: 25px 5%;
}
h2 {
    color: var(--primary);
    font-size: 80px;
    line-height: 120px;
    font-family: var(--cakeFontFamily);
    margin: 200px 0px 50px 0px;
}

h3 {
    color: var(--primary);
    font-size: 32px;
    font-family: var(--cakeFontFamily);
}

.content section p {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 3px;
}

.img-holder{
    margin-top: 150px;
    width: 100%;
    position: relative;
    height: 200px;
}
.img-holder .img{
    background-image: url(../assets/img/cakeBg.png);
    background-size: cover;
    top: 0px;
    width: 100%;
    height: 496px;
    position: absolute;
    z-index: 3;
    border-radius: 10px;
}
.content-devider {
    position: absolute;
    bottom: -116px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.content-devider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 116px;
}

.content-devider .shape-fill {
    fill: var(--secondary)
}



.slogan-container{
    background-color: var(--primary);
    position: relative;
    padding: 20px 5%;
}

.slogan {
   
    position: relative;
    margin: 200px 0px;
}
.slogan h2{
    color: var(--secondary);
    font-size: 80px;
    line-height: 120px;
    font-family: var(--cakeFontFamily);
}
.slogan-container .slogan p {
    margin: 20px 0px ;
    font-size: 22px;
    color: var(--secondary);
    font-weight: 500;
}

.slogan-container .slogan .btn-whymc{
     margin-top: 25px;
     font-weight: 500;
     font-size: 18px;
     width: 250px;
}
.slogan .twocake-holder{
    position: absolute;
    right: 2%;
    bottom: -200px;
    z-index: 2;
}

.slogan-divider {
    position: absolute;
    bottom: -116px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.slogan-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 116px;
    transform: rotateY(180deg);
}

.slogan-divider .shape-fill {
    fill: var(--primary)
}
.contact h2{
    font-size: 80px;
    line-height: 120px;
    font-family: var(--cakeFontFamily);
}
.contact-container{
    background-color: var(--secondary);
    color :var(--primary);
    padding: 0px 5%;
}
.contact .map-holder{
    margin: 0px;
    margin-top: 50px;
    width: 100%;
    height: 649px;
    background-size: cover;
    background-image: url('../assets/img/map.png');
    z-index: 2;
    border-radius: 10px;
}

.form-section {
    margin-top: 100px;
    display: grid;
    grid-template-columns: 1fr 3fr;
}


.form-holder{
    display: flex;
    justify-content: start;
    flex-direction: row
}

.form-holder fieldset{
    display: flex;
    flex-direction: column;
    justify-content: end;
    border: none;
}

.form-holder fieldset:first-of-type{
 flex-grow: 3;
}

.form-holder fieldset:last-of-type{
 flex-grow: 2;
}

.form-holder fieldset:first-of-type label{
    font-size: 20px;
    font-weight: 500;
}

.form-holder fieldset:first-of-type input[type="email"]{
    font-size: 18px;
    width: 90%;
    margin-top: 25px;
    border-radius: 5px;
    border: 3px solid var(--primary);
    background-color: var(--secondary);
    color: var(--primary);
    padding: 7px 0px 7px 25px;
}

.form-holder fieldset:first-of-type input::placeholder{
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
}

.form-holder fieldset:first-of-type input:focus{
    outline-color: #642C99;
}

.form-holder fieldset:last-of-type input[type="submit"]{
    font-size: 20px;
    width: 120px;
    padding: 7px;
    background-color: var(--primary);
    border: none;
    border-radius: 5px;
    color: var(--secondary);
    font-weight: 500;
}
.form-holder fieldset:last-of-type input:hover{
    cursor: pointer;
}


.links {
    margin: 70px 0px;
    display: grid;
    grid-template-columns: 1fr 3fr;
}
.links ul{
    list-style: none;
}
.links ul li{
    padding: 10px;
    font-size: 20px;
    font-weight: 500;
}
.links ul a{
    text-decoration: none;
    color :var(--primary);
}

.copyright{
    font-size: 18px;
}

@media screen and (min-width:1201px) {
    .container{
        width: 1200px;
    }
    
}

@media screen and (max-width:1200px) {
    .container{
        width: 100%;
    }
}

@media screen and (max-width:992px) {
    main .twocake-holder , .slogan .twocake-holder {
        position: relative;
        bottom: -150px;
        display: flex;
        justify-content: center;
    }
    .slogan{
        margin-bottom: 0px;
    }

    .contact .map-holder{
        height: 500px;
    }

    .form-section{
        margin-top: 0px;
        grid-template-columns: 100%;
    }

    .form-section div{
        margin-top: 60px;
    }
    .links {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:576px) {

    main section h1{
        font-size: 60px;
        line-height: normal;
        margin: 70px 0px 50px 0px;
    }
    h2 , .contact h2{
        font-size: 50px;
    }
    .contact .map-holder{
        height: 400px;
    }

    .form-holder{
        flex-direction: column;
        justify-content: center;
    }
    .form-holder fieldset:first-of-type ,
     .form-holder fieldset:last-of-type {
        flex-grow: 1;
    }
    .form-holder fieldset:first-of-type input[type="email"]{
        width: 100%;
    }
    .form-holder fieldset:last-of-type input[type="submit"]{
        margin-top: 25px;
        width: 100%;
    }

}
