* {
    box-sizing: border-box;
}

html {
    background-color: black;
    color: white;
}

body {
    background-image: url("../img/background-mob-angelica.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    font-family: 'Times New Roman', Times, serif;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    place-content: flex-end;
    padding: 1rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.error_message {
    background-color: rgb(255, 7, 7);
    color: whitesmoke;
    padding: 0.5rem;
}

.logo {
    max-width: 60%;
    align-self: flex-end;
}

.title {
    color: white;
    text-shadow: 0 0 0.5rem rgba(0, 0, 0, 50%);
    text-align: center;
    font-size: 0.8em;
    font-family: Arial, Helvetica, sans-serif;
}

main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    place-content: center;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.slogan {
    color: white;
    text-shadow: 0 0 0.5rem rgba(0, 0, 0, 85%);
    text-align: center;
    font-size: 1.25em;
    margin-top: 1rem;
    font-style: italic;
}

.slogan span {
    color: rgb(235, 23, 164);
    text-decoration: underline;
}

form {
    width: 100%;
}

form .step-1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

form .step-1 label,
form .step-1 .fake-label {
    font-size: 0.95em;
}

form .step-2,
#thank-message {
    width: 90%;
    max-width: 1440px;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    color: black;
    background-color: white;
    border: 1px solid rgb(235, 23, 164);
    border-radius: 5px;
    box-shadow: 0 0 4rem rgba(235, 23, 164, 100%);
    padding: 2rem;
    text-align: center;
    font-size: 1.3em;
}

.step-2-title {
    color: rgb(235, 23, 164);
    font-size: 2em;
    text-decoration: underline;
    margin-top: 0.2rem;
    text-transform: uppercase;
}

form .step-2 h4,
#thank-message h4 {
    font-size: 1.2em;
    margin-bottom: 0;
}

#thank-message span {
    font-size: 1.2em;
    text-transform: uppercase;
    text-decoration: underline;
    font-weight: bold;
}

.grid-signs {
    display: grid;
    grid-template-columns: repeat(3, 0.5fr); 
    grid-template-rows: repeat(4, 0.5fr); 
    gap: 0px 0px; 
    grid-template-areas: 
      ". . ."
      ". . ."
      ". . ."
      ". . .";
}

.sign {
    text-align: center;
}

.sign input[type="radio"] {
    display: none;
}

.sign input + label {
    display: inline-block;
    width: 100px;
    height: 125px;
    cursor: pointer;
    transition: background-image 150ms linear;
    background-size: 100px;
}

/* Belier */
.sign #belier + label {
    background-image: url("../img/belier-hover.png");
}

.sign #belier:hover + label,
.sign #belier:checked + label {
    background-image: url("../img/belier.png");
}

/* Taureau */
.sign #taureau + label {
    background-image: url("../img/taureau-hover.png");
}

.sign #taureau:hover + label,
.sign #taureau:checked + label {
    background-image: url("../img/taureau.png");
}

/* Gemeaux */
.sign #gemeaux + label {
    background-image: url("../img/gemeaux-hover.png");
}

.sign #gemeaux:hover + label,
.sign #gemeaux:checked + label {
    background-image: url("../img/gemeaux.png");
}

/* Cancer */
.sign #cancer + label {
    background-image: url("../img/cancer-hover.png");
}

.sign #cancer:hover + label,
.sign #cancer:checked + label {
    background-image: url("../img/cancer.png");
}

/* Lion */
.sign #lion + label {
    background-image: url("../img/lion-hover.png");
}

.sign #lion:hover + label,
.sign #lion:checked + label {
    background-image: url("../img/lion.png");
}

/* Vierge */
.sign #vierge + label {
    background-image: url("../img/vierge-hover.png");
}

.sign #vierge:hover + label,
.sign #vierge:checked + label {
    background-image: url("../img/vierge.png");
}

/* Balance */
.sign #balance + label {
    background-image: url("../img/balance-hover.png");
}

.sign #balance:hover + label,
.sign #balance:checked + label {
    background-image: url("../img/balance.png");
}

/* Scorpion */
.sign #scorpion + label {
    background-image: url("../img/scorpion-hover.png");
}

.sign #scorpion:hover + label,
.sign #scorpion:checked + label {
    background-image: url("../img/scorpion.png");
}

/* Sagittaire */
.sign #sagittaire + label {
    background-image: url("../img/sagittaire-hover.png");
}

.sign #sagittaire:hover + label,
.sign #sagittaire:checked + label {
    background-image: url("../img/sagittaire.png");
}

/* Capricorne */
.sign #capricorne + label {
    background-image: url("../img/capricorne-hover.png");
}

.sign #capricorne:hover + label,
.sign #capricorne:checked + label {
    background-image: url("../img/capricorne.png");
}

/* Verseau */
.sign #verseau + label {
    background-image: url("../img/verseau-hover.png");
}

.sign #verseau:hover + label,
.sign #verseau:checked + label {
    background-image: url("../img/verseau.png");
}

/* Poissons */
.sign #poissons + label {
    background-image: url("../img/poissons-hover.png");
}

.sign #poissons:hover + label,
.sign #poissons:checked + label {
    background-image: url("../img/poissons.png");
}

.inputs-box {
    margin-top: 1rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    background-color:rgba(59, 0, 99, 0.514);
    border: 2px solid rgb(161, 0, 161);
    border-radius: 5px;
    padding: 1rem;
    font-family: Arial, Helvetica, sans-serif;
}

.input-row-sex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-transform: uppercase;
}

.input-row-sex input:first-of-type {
    margin-left: 1rem;
}

.input-row-text,
.input-row-birthday,
.input-row-cgu {
    margin-top: 1rem;
}

.input-row-text,
.input-row-birthday {
    text-transform: uppercase;
}

.input-row-text input, 
.input-row-birthday input {
    width: 100%;
    height: 30px;
    border-radius: 5px;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.step-2 input {
    padding-bottom: 1rem;
    padding-top: 1rem;
    min-height: 30px;
    max-width: 100%;
    border-radius: 5px;
    border: 1px solid black;
    padding: 0.5rem 1rem;
}

.input-row-birthday {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.input-row-birthday .fake-label {
    width: 100%;
}

.input-birthday {
    width: 30%;
}

.input-birthday input {
    text-align: center;
}

.step-1 button[type=submit],
.step-2 button[type=submit] {
    margin-top: 1rem;
    border: 2px solid white;
    border-radius: 5px;
    color: white;
    font-size: 1.3em;
    height: 50px;
    background-color:#ff0088;
    cursor: pointer;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
}


.step-1 button[type=submit] {
    width: 100%;
}

.step-2 button[type=submit] {
    width: 300px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;

}


#call-informations {
    width: 90%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.call-information {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    place-content: center;
    margin-bottom: 2rem;
    text-align: center;
}

.information-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color:rgba(46, 8, 71, 0.726);
    border: 2px solid purple;
    border-radius: 5px;
    padding: 1rem;
    line-height: 34px;
}

.information-title {
    margin-bottom: 0;
    font-size: 1.3em;
}

.audiotel-conversation .information-title {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.private-number {
    color:rgb(235, 23, 164);
    font-size: 1.7em;
    margin-bottom: 0;
    margin-top: 0.5rem;
    font-weight: 700;
}

.offer {
    margin-top: 0.5rem;
    font-size: 1em;
    margin-bottom: 0;
}

.offer span {
    color:rgb(235, 23, 164);
}

.sms-number {
    font-size: 1.7em;
    margin-top: 0.5rem;
    font-weight: 700;
}

.information-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    font-size: 0.8em;
}

.information-text img {
    margin-right: 1rem;
}

footer {
    max-width: 1440px;
    margin-top: 5rem;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    font-family: Arial, Helvetica, sans-serif;
}

footer a {
    color: white;
}

footer .copyright {
    text-align: center;
}

@media screen and (min-width: 750px) {

    .logo {
        max-width: 50%;
    }

    .slogan {
        font-size: 1.5rem;
        margin-left: 150px;
    }
    
    form .step-1 {
        flex-direction: row;
        justify-content: space-evenly;
    }


    .grid-signs {
        width: 50%;
        grid-template-columns: repeat(3, 0.5fr); 
        grid-template-rows: repeat(4, 0.5fr); 
        grid-template-areas: 
        ". . ."
        ". . ."
        ". . ."
        ". . .";
    }

    .inputs-box {
        width: 45%;
    }

    .step-1 button[type=submit],
    .step-2 button[type=submit] {
        font-size: 1.6em;
    }

    footer ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
        list-style-type: none;
    }

    #call-informations {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: flex-start;
    }
    
    .call-information {
        width: 30%;
        height: 100%;
    }

    .information-box {
        height: 250px;
    }
}

@media screen and (min-width: 1100px) {

    body {
        background-image: url("../img/background-angelica-copie.jpg");
        background-size: cover;
    }

    .private-number {
        font-size: 2.3em;
    }

    .offer {
        font-size: 1.4em;
    }

    .title {
        font-size: 1.4em;
    }

    .slogan {
        font-size: 2.25rem;
        align-self: flex-end;
        margin-right: 150px;
    }

    .grid-signs {
        width: 600px;
        grid-template-columns: repeat(4, 0.5fr); 
        grid-template-rows: repeat(4, 0.5fr); 
        grid-template-areas: 
        ". . . ."
        ". . . ."
        ". . . .";
    }

    .inputs-box {
        margin-left: initial;
        margin-right: initial;
        width: 400px;
    }

    .information-box {
        height: 220px;
    }

    footer {
        font-size: 1em;
        margin-top: 30vh;
    }

}

@media screen and (min-width: 1400px) {
    
    body {
        background-size: contain;
    }

    footer {
        font-size: 1em;
        margin-top: 30vh;
        padding: 0.5rem;
    }

    
}