@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content {
    width: 70%;
    margin: 5em 0;
}

@media screen and (orientation: portrait) {
    .content {
        width: 85%;
        margin: 2em 0;
    }
}

a {
    color: orange;
    transition: .3s;
}

a:hover,
a:visited {
    color: rgb(185, 83, 0);
}

h1 {
    padding-bottom: 1em;
    font-size: 3em;
}

h2,
h3 {
    padding: 1em 0;
}

p,
li {
    padding-bottom: 8px;
}

ul {
    padding: 10px 0 10px 20px;
}

span {
    font-weight: bolder;
}

.retour {
    display: block;
    padding-top: 20px;
}

/* DESABONNEMENT */

input#email {
    padding: 15px;
    font-weight: 600;
    border-radius: 15px;
    text-align: center;
    border: 2px rgb(211, 211, 211) solid;
    outline: none;
    margin: 20px 0;
    width: 400px;
    transition: .3s;
}

input#email:hover,
input#email:focus {
    border: 2px rgb(255, 145, 0) solid;
}

input#submitbutton {
    padding: 15px;
    background: #fff;
    border: 2px rgb(211, 211, 211) solid;
    border-radius: 15px;
    transition: .3s;
}

input#submitbutton:hover {
    cursor: pointer;
    border: 2px rgb(255, 145, 0) solid;
}

input#submitbutton:active {
    background: #ffe4b8;
}

/* CASE A COCHER */

.acocher {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-bottom: 20px;
}

.acocher:before {
    content: '';
    position: absolute;
    height: 1px;
    width: 50%;
    top: -1%;
    left: 25%;
    background: #ffffff1c;
}

.acocher .consent {
    appearance: none;
    background-color: #b3b3b3;
    border-radius: 72px;
    border-style: none;
    flex-shrink: 0;
    height: 20px;
    margin: 0;
    position: relative;
    width: 30px;
    cursor: pointer;
}

.acocher .consent::before {
    bottom: -6px;
    content: "";
    left: -6px;
    position: absolute;
    right: -6px;
    top: -6px;
}

.acocher .consent,
.acocher .consent:after {
    transition: all 200ms ease-out;
}

.acocher .consent:after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 14px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 14px;
}

.acocher .consent:hover {
    background-color: #c9cbcd;
    transition-duration: 0s;
}

.acocher .consent:checked {
    background-color: #8fd66e;
}

.acocher .consent:checked:after {
    background-color: #fff;
    left: 13px;
}

.acocher :focus:not(.focus-visible) {
    outline: 0;
}

.acocher .consent:checked:hover {
    background-color: #66b353;
}

.acocher-link {
    text-decoration: underline;
    color: #ffffff85;
    transition: .2s;
}

.acocher-link:hover {
    color: #ffffffb9;
}

.acocher-link:active {
    color: #ffffffe8;
}

/* POP UP */

.popup {
    border-radius: 5px;
    height: 50px;
    width: 80%;
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

.popup-text {
    padding: 15px;
    background: rgba(178, 255, 178, 0.473);
    border-radius: 0 10px 10px 0;
    font-size: 0.9em;
}

.close-popup {
    background: rgba(45, 170, 45, 0.822);
    color: #ffffff80;
    height: 100%;
    border-radius: 10px 0 0 10px;
    width: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}