
/* elements */
body {
    background: linear-gradient(0.25turn,#EAC7C7, #A0C3D2);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Montserrat Alternates', sans-serif;
    margin: 0px;
    min-height: 100%;
    overflow-x: hidden;
}

input[type=checkbox] {
    bottom: -4px;
    height: 20px;
    margin-right: 15px;
    position: relative;
    width: 20px;
}

label {
    padding: 2%;
}

a {
    font-size: 1em;
}

nav {
    background-color: rgb(66, 63, 63);
    display: inline-table;
    position: fixed;
    width: 100%;
    z-index: 1;
}

nav ul {
    align-items: center;
    display: flex;
    list-style-type: none;
    margin: 0.5%;
    padding: 0.2% 3%;
}

nav ul li a{
    color: whitesmoke;
    text-decoration: none;
    padding: 10px;
}

nav ul li:first-of-type {
    margin-right: auto;
}

header img {
    display: block;
    height: auto;
    margin: 0 auto;
    padding-top: 10%;
    padding-bottom: 0%;
    width: 40%;
}

textarea {
    resize: none;
}

form input[type=email], textarea {
    background-color: rgba(82, 69, 69, 0.134);
    border: 1px solid gray;
    width: 26.3vw;
}

form input[type=email]:focus, textarea:focus {
    box-shadow: 0 0 10px #719ECE;
    outline: none;
}

button {
    background-color: transparent;
    cursor: pointer;
    border: 0.2px solid black;
    font-weight: 600;
    padding: 1em 2em;
}

button:hover {
    background-color: rgba(53, 53, 53, 0.199);
}

button:active {
    background-color: rgba(18, 17, 17, 0.211);
}
/* classes */
.ingred-list {
    display: block;
}

.dish-container {
    background-color: #f7f5eb46;
    display: flex;
    /* margin: 5em; */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
    width: 100%;
}

.ingredients {
    width: 40%;
    padding: 50px;
}

.steps {
    width: 60%;
    padding: 50px 40px;
}

.text-content {
    margin: 2% 15%;
    text-align: center;
}

.scroll-page {
    min-height: 100%;
    scroll-snap-align: start;
    width: 100%;
}

.collapse-item {
    background-color: #EAE0DA;
    border: none;
    border-radius: 2px;
    display: block;
    font-weight: 600;
    text-align: left;
    padding: 10%;
    width: 100%;
}

.collapse-item:hover{
    opacity: .7;
}

.active {
    background-color: #413f3f6b !important;
    color: whitesmoke;
    font-size: 2em;
    opacity: 1 !important;
}

/* id's */
#one-page-scroll {
    height: 100vh;
    scroll-snap-type: y proximity;
    overflow-y: scroll;
    overflow-anchor: none;
    scroll-behavior: smooth !important;
    width: 100vw;
}

#list-recipe, #contact-us {
    margin: 0 auto;
    padding: 8.5% 2%;
    width: 75%;
}

.collapse-item:first-of-type {
    border-radius: 20px 20px 0 0;
}

.collapse-item:last-of-type {
    border-radius: 0 0 20px 20px;
}

.collapse-item {
    box-shadow: 10px 0 #EAC7C7;

}

@media screen and (max-width: 590px) {
    .dish-container {
        display: inherit;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-in-out;
    }

    .ingredients {
        width: 80%;
    }

    .steps {
        width: 80%;
    }

    .scroll-page {
        min-height: 70%;
    }

    header {
        display: inline-block;
    }

    header img {
        margin: 40% auto;
    }

    /* #list-recipe, #contact-us  {
        padding: 5.5% 2%;
    } */
}
