*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-family: Lato;
    font-size: 11px;
    box-sizing: border-box;
    background-color: #d7c9b8;
}

h1 {
    padding: 15px;
    color: white;
    font-size: 35px;
}

head {
    width: 100%;
    max-width: 788px;
    display: flex;
    justify-content: flex-end;
    padding: 5px;
    margin-top: 5px;
}

section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.accordion-item {
    background-color: #ffffff;
    border-radius: .4rem;
    margin-bottom: 1rem;
    padding: 1rem;
}

.accordion-link {
    font-size: 1.6rem;
    color: black;
    text-decoration: none;
    background-color: #ffffff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.accordion-link i {
    color: black;
    padding: .5rem;
}

.accordion-link .ion-md-remove {
    display: none;
}

.answer {
    max-height: 0;
    overflow: hidden;
    position: relative;
    background-color: white;
    transition: max-height 650ms;
}

.answer::before {
    content: "";
    position: absolute;
    width: .6rem;
    height: 90%;
    background-color: #876559;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.answer p {
    color: black;
    font-size: 1.4rem;
    padding: 2rem;
}

.accordion-item:target .answer {
    max-height: 20rem;
}

.accordion-item:target .accordion-link .ion-md-add {
    display: none;
}

.accordion-item:target .accordion-link .ion-md-remove {
    display: block;
}

/* BACK TO HOME */

.back-to-home {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #7d5a44;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.2s ease-out;
}

.back-to-home span {
    color: #ffffff;
    font-size: 3.5rem;
}

.back-to-home:hover {
    transition: cubic-bezier(.07, 1.51, .82, 1.51) 0.2s;
    transform: scale(1.1);
}