*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Outfit', sans-serif;
    width: 100%;
}

/*Header*/
nav{
    background: white;
    height: 6rem;
    line-height: 6rem;
    padding: 0 2rem;
    border-radius: 0.1em;
    box-shadow: 3px 3px 8px -6px  #f7e6d4;
}

nav ul{
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
}

nav ul li{
    list-style-type: none;
}

.appName{
    font-family: 'Comforter Brush', cursive;
    font-size: 2.5em;
    align-self: center;
}

.profile{
    border-radius: 50%;
    box-shadow: 3px 3px 8px -4px #f7e6d4;
}

.logo, .profile{
    align-self: center;
    margin-top: 0.7em;
}

/*Main*/
main{
    padding: 0 1.5rem;
    background: url(./assets/Animated\ Shape.svg);
}

.intro{
    font-size: 32px;
    line-height: 36.77px;
    margin:0.5em 0;
}

.introDiv p{
    margin-bottom: 2em;
}

h2{
    margin-top: 1em;
}

/*Slide*/
.slideContainer{
    margin: auto;
    max-width: 500px;
    position: relative;
}

.slides{
    display: none;
}

.slideImage{
    border-radius: 1em;
}

/*Animation*/
.fade{
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    animation-name: fade;
    animation-duration: 2s;
}

@-webkit-keyframes fade{
    from{ opacity: .4}
    to{opacity: 1}
}

@keyframes fade{
    from{ opacity: .4}
    to{opacity: 1}
}

/*Items form and list*/
.itemsContainer{
    width:100%;
    background-color:#fed3aa3d;
    padding: 1.5em 0 2em 0;
    border-radius: 1em;
    margin:2em auto 3em auto;
    text-align: center;
}

.formTitle{
    margin-bottom: 0.3em;
}

#itemForm input{
    height: 2.3rem;
    text-align: center;
    border-radius: 10px;
    margin: 2.5em auto;
    display: block;
    border: none;
    font-size: 1em;
    width: 80%;
}

#itemForm fieldset{
    border: none;
}

#itemForm{
    margin-bottom: 3rem;
}

#addItemButton, #updateItemButton, #clearItemsButton{
    border:none;
    background:#54cddd;
    font-size: 1em;
    color:#fff;
    padding:0.6rem 2rem;
    border-radius: 20px;
    margin-right: 1em;
}

#clearItemsButton{
    margin-top: 1em;
}

#addItemButton:hover, #clearItemsButton:hover, #updateItemButton:hover {
    background-color: #82e1eed0;
}

#itemsDiv{
    margin: 5rem auto;
    width: 80%;
    height: 2.3rem;
    font-size: 1.05em;
    display: unset;
}

.item{
    display: grid;
    grid-template-columns: 1fr 27fr 1fr 1fr;
    margin-bottom: 0.5rem;
    border: none;
    background-color: #ffffff;
}

.checkbox{
    height:100%;
    width: 1.9rem;
    float: left;
}

.item .itemInfo{
    border: none;
}

.deleteButton, .editButton{
    margin: 0 0 0 auto;
    border: unset;
    color: #fff;
    font-size: 0.8rem;
    width: 2.5rem;
    height: 100%;
}

.deleteButton:active{
    margin-top: 3px;
}

.deleteButton:hover, .editButton:hover{
    background-color: #bfbfbf;
}

.purchased{
    background: #bfbfbfe1;
}

.purchased p{
    text-decoration: line-through;
}

/*Footer*/
footer{
    background: white;
    height: 6rem;
    line-height: 6rem;
    padding: 0 2rem;
    border-radius: 0.1em;
    box-shadow: 3px 3px 8px -6px  #f7e6d4;
    text-align: center;
}

footer ol li{
    list-style-type: none;
}

/*Media queries for responsiveness*/
@media screen and (min-width: 768px){}


@media screen and (min-width: 992px){
    .slideContainer{
        display: none;
    }

    .homeContainer{
        width: 100%;
        height: 80vh;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 4em;
    }

    .homeImage{
        background: url(./assets/pexels-edu-carvalho-2295201.jpg);
        background-size: contain;
        background-repeat: no-repeat;
        width: 2000px;
        margin: 3.5em 4.5em 0 1em;
    }

    .introDiv{
        margin:11em 0 0 4em;
        text-align: justify;
        padding-right: 7em;
    }

    .itemsContainer{
        width: 90%;
    }
}


@media screen and (min-width: 1200px){
    .productFlexbox{
        display: none;
    }
}