/* REBOOT CSS */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* COLORS */

:root {
    --pink: #F2475E;
    --green: #71BF71;
    --blue: #71BFA7;
    --white: #FFF9F9;
    --black: #1F0E0D;
}

@media screen and (prefers-color-scheme: light) {
    body {
        background-color: var(--white);
        color: var(--black);
    }
    .dark-mode {
        display: none;
    }
}

@media screen and (prefers-color-scheme: dark) {
    body {
        background-color: var(--black);
        color: var(--white);
    }
    .light-mode {
        display: none;
    }
}

/* FONTS */

@font-face {
    font-family: "Cougette";
    src: url(../font/Courgette.ttf) format("truetype");
}

@font-face {
    font-family: "Halant";
    src: url(../font/Halant.ttf) format("truetype");
}

@font-face {
    font-family: "Heebo";
    src: url(../font/Heebo.ttf) format("truetype");
}

body {
    font-family: "Heebo", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

h1 {
    font-family: "Cougette", serif;
    margin: 10px 0;
    color: var(--pink);
    text-align: center;
}

h2{
    font-family: "Halant", serif;
    margin: 10px 0;
    color: var(--pink);
}

h3,
h4,
h5,
h6 {
    font-family: "Halant", serif;
    margin: 10px 0;
}

p {
    margin: 10px 0;
}

a{
    color: var(--pink);
    font-weight: 500;
    text-decoration: none;
}

.justify {
    text-align: justify;
}

/* RESPONSIVE */

header,
main,
footer {
    margin: auto;
}

@media screen and (min-width: 900px) {
    header,
    main,
    footer {
        width: 900px;
    }
}

/* FORM */

label {
    display: block;
    margin-bottom: 5px;
}

input:not([type="submit"]),
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: var(--pink);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* HEADER */

header{
    text-align: center;
}

/* FOOTER */

footer {
    menu {
        list-style: none;
        padding: 0;
    }
    p {
        text-align: center;
    }
}