@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');

*{
    box-sizing: border-box;
}

::selection {
    background-color: black;
    color: #92F6DE;
}

body {
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    background: hsl(166, 84%, 96%);
}

section {
    width: 100vw;
    height: 100vh;
}

h1{
    margin: 0;
    text-align: center;
    font-size: 3rem;
    padding: 3rem 0 1rem 0;
}

.container {
    width: 70vw;
    height: 75vh;
    border: .15rem black solid;
    border-radius: 3rem;
    margin: 0 auto;
    background: white;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.container-half {
    width: calc(50% - 2.5rem);
    height: 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.container-both {
    border: .15rem black solid;
    border-radius: 3rem;
}


.input-both {
    border: .15rem black solid;
    border-radius: 1.5rem;
    width: 100%;
    padding: 1rem;
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    transition: ease-in-out .1s;
}

.input-both:focus-visible {
    outline: #92F6DE .3rem solid;
    background-color: #b8f5e6;
}

.input-both:hover {
    background-color: #b8f5e6;
    cursor: pointer;
}

.input-save {
    background-color: #92F6DE;
}

h3 {
    font-size: 1.2rem;
    margin: 2rem 1rem 1rem 2rem;
}

.container-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.choices {
    width: 6rem;
    aspect-ratio: 3 / 2;
    border: .15rem black solid;
    border-radius: 1rem;
    background-color: white;
    transition: ease-in-out .1s;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.choices img {
    width: 100%;
}

.choices:focus-visible {
    outline: #92F6DE .3rem solid;
    background-color: #b8f5e6;
}

.choices:hover {
    background-color: #b8f5e6;
    cursor: pointer;
}

.actif {
    outline: #92F6DE .3rem solid;
    background-color: #b8f5e6;
}

.container-choices{
    height: calc( 100% - 82px);
}

.choices-scroll {
    overflow-y: scroll;
    white-space: nowrap;
    height: 90%;
    width: 90%;
    margin: 1rem auto;
    overflow-x: hidden;
}

.choices-scroll:focus-visible {
    border-radius: 2rem;
    outline: #92F6DE .3rem solid;
    background-color: #b8f5e6;
}

.container-avatar {
    height: 100%;
    width: 100%;
    background-color: white;
}

.sous-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.sous-container img {
    max-height: 123%;
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translateX(-50%) translateY(-50%);
}

#hair {
    z-index: 9;
}

#showImg {
    z-index: -10;
    width: 10rem;
    position: absolute;
}

.container-img {
    position: relative;
}


