/*
To be mostly seen on desktops => responsive but desktop-first
*/

/*
=== BLOCKS ===
*/

body {
    background-color: black;
    font-family:Georgia, 'Times New Roman', Times, serif;
}

.container {
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    background-color: bisque;
    box-sizing: border-box;
    min-height: 100vh;
    max-width: 1200px;
    font-size: large;
    margin : 0 auto;
    padding: 0 4rem;
}

footer {
    font-size: small;
}

.step {
    border: 5px solid maroon;
    border-radius: 15px;
    padding: 1rem;
    padding-left: 3rem;
    text-indent: -2.25rem;
    margin: .5rem 0;
    position: relative;
}

.stepResult {
    padding-left : 1rem;
    text-indent: 0;
}

/*
=== TEXTS ===
*/

.whisper-regular {
    font-family: "Whisper", cursive;
    font-weight: 400;
    font-style: normal;
  }
      
h1 {
    font-size: 4rem;
    margin: 1.5rem auto .2rem;
    text-align: center;
}

.step::first-letter {
    font-size: 2rem;
    color: maroon;
    font-weight: bold;
    margin-right: .8rem;
}

p {
    margin-bottom: 1rem;
}

p::first-letter {
    font-family:"Whisper", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-right: .25rem;
}

.cursive {
    font-size: 6rem;
    font-family:"Whisper", sans-serif;
}

.subtitle {
    display: block;
    transform: translateX(53%);
    font-size: 1rem;
    margin-bottom: 0;
}

a, a:visited {
    color: black;
    text-decoration:underline peru;
}

a:hover {
    color : maroon;
}

/*
=== FORM ===
*/

form {
    margin: 2rem 0;
}

.textList {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type=radio] {
    accent-color: maroon;
}

#selectNb {
    width: 4rem;
    margin-left: 5px;
}

button { 
    background-color: maroon;
    border: 2px solid bisque;
    color: bisque;
    font-size: 1.2rem;
    border-radius: 18px;
    cursor: pointer;
    padding: .1rem 3rem 0.1rem;
}

button:hover {
    border: 2px solid maroon;
}

.buttonCenter {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}


/*
=== RESULT ===
*/

.stepHidden {
    display: none;
}

#buttonCopy {
    display: inline;
    font-size: .8rem;
    padding: .1rem .5rem 0.1rem;
}

#result {
    margin-top: 1.5rem;
}

#result p::first-letter {
    font-size: 1.2rem;
}

/*
=== Responsive : tablet and smaller -> width < 769px ===
*/

@media only screen and (max-width: 768px) {

}

/*
=== Responsive : mobile -> width < 641px ===
*/

@media only screen and (max-width: 640px) {

    .container {
        padding: 0 2rem;
    }

    .subtitle {
        text-align:center;
        transform: none;
    }

}

/*
=== Responsive : slim mobile -> width < 481px ===
*/

@media only screen and (max-width: 480px) {

    .container {
        padding: 0 1.5rem;
    }

    .subtitle {
        text-align:center;
        transform: none;
        margin-top: 1rem;
    }

    button { 
        padding: .1rem 2rem 0.1rem;
    }
}

