* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
img {
    width: 100%;
    max-width: 10rem;
    margin: auto;
}
body {
    background-color: #17313e;
    font-family: Arial, Helvetica, sans-serif;
    padding: 2vh 5vw;
    color: #ffffff8d;
    text-align: center;
}

main {
    color: #17313e;
    box-shadow: 0.5rem 0px 2rem #7b6e6e90;
    display: flex;
    gap: 1rem;
    padding: 2rem;
    flex-direction: column;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    max-height: calc (70vh - 5rem);
}
main,
.touche,
button,
#cond p,
input {
    border-radius: 2rem;
    background-color: #ffffff8d;
    box-shadow: 0px 0px 0.8rem #00000080;
}
.touche,
button,
input,
form {
    padding: 2rem;
    border: none;
    display: flex;
    width: 100%;
}
form {
    flex-direction: column;
    display: flex;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}
input {
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    gap: 0;
}
input:focus,
input:active {
    border-color: #ffffff;
    font-weight: bold;
}
input[type="text"]:focus {
    outline: 3px solid #17313e;
}
button {
    color: #17313e;
    padding: 0.6rem 1rem;
    width: fit-content;
    display: flex;
    align-items: center;
}
div {
    display: flex;
    gap: 1rem;
}

button:active {
    background-color: #ffffff75;
    box-shadow: 0px 0px 0.8rem #00000040;
}

.none {
    display: none;
}
label {
    padding: 0;
    margin: 0;
}

.popUp {
    box-shadow: 0px 0px 2rem #00000090;
    padding: 2rem;
    border-radius: 2rem;
    background-color: #17313e;
    position: absolute;
    height: fit-content;
    min-height: 50vh;
    width: 80vw;
    top: calc(2rem + 10vh);
    left: calc(10vw);
    color: #ffffff;
    flex-direction: column;
    justify-content: space-around;
    z-index: 100;
}

.none {
    display: none;
}
.hidden {
    visibility: hidden;
}

input[type="radio"] {
    scale: 150%;
    accent-color: #17313e;
    box-shadow: none;
    margin-left: -10px;
}

hr {
    background-color: #ffffff6f;
    border: none;
    height: 4px;
    border-radius: 2rem;
}

#parent,
#img {
    flex-direction: column;
    width: 100%;
    max-width: 30rem;
}

#cond,
#city {
    display: flex;
    justify-content: space-around;
    text-align: center;
    justify-content: center;
}

#cond div {
    flex: 1;
    text-align: center;
    justify-content: center;
    width: fit-content;
}
