/* tavolozza colore */
:root {
    --primary: #A60808;
    --secondary: #400101;
    --accente: #F0A818;
    --light: #F2F2F2;
    --dark: #000;
}

/* reset */
* {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

a,
a:visited {
    text-decoration: none;
    color: var(--light);
}

.mainmenu {
    color: var(--light);
}

a,
img,
button,
.fa-solid {
    display: block;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    color: var(--light);
    cursor: pointer;
    size: 30px;
}

html {
    scroll-behavior: smooth;
}

.mainmenu {
    text-decoration: none;
    color: var(--light);
    display: flex;
    flex-direction: row;
    gap: 80px;
}

.res {
    width: 100%;
    max-width: 350px;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: poppins;
    color: var(--secondary);
}

p {
    font-family: poppins;
}

header {
    background: var(--secondary);
    color: var(--light);
    display: flex;
    justify-content: space-between;
    height: 50px;
    font-family: 'Righteous', display;
    padding: 15px;
    text-decoration: none;
}



.cover__logo {
    font-size: 1.6em;
}

.active {
    height: 480px;
}

section {
    background: var(--light);
    padding: 15px;
    margin: 20px 0;
}

.content__autore {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Hero */
.hero {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;

}

.cta-group {
    font-size: 1em;
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta__primary,
.cta__secondary {
    font-family: poppins;
    font-weight: 300;
    padding: 10px 25px;
    border-radius: 6px;
}

.cta__primary {
    background: var(--secondary);
    color: var(--accente);
    border: 2px solid var(--secondary);
}

.cta__primary:is(:hover, :focus) {
    background: var(--accente);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.cta__secondary {
    background: var(--secondary);
    color: var(--accente);
    border: 2px solid var(--secondary);
}

.cta__secondary:is(:hover, :focus) {
    background: var(--accente);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

/* media query medium */
@media (min-width: 767px) {
    .hero {
        flex-direction: row;
    }

    .hero__text {
        width: 60%;
    }

    .hero__cover {
        width: 40%;
    }

    .hero__cover img {
        margin: 5px auto;
    }
}

@media (max-width: 600px) {
    .cover {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        height: 180px;
    }

    .final {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        height: 250px;
        padding: 15px;
        margin-bottom: 15px;
    }
}

/* media query large */

@media (min-width: 992px) {
    .container {
        display: flex;
    }

    .content__sinossi {
        width: 60%;
    }

    .content__autore {
        width: 40%;
    }
}

footer {
    background: var(--secondary);
    color: var(--light);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 90px;
    font-family: 'Righteous', display;
    padding: 15px;
    text-decoration: none;
}

.social {
    display: flex;
    flex-direction: row;
    color: var(--light);
}

.email {
    clear: left;
    font-family: poppins;
    font-size: 14px;
    width: 400px;
    padding-bottom: 20px;
}

.button {
    background: none;
    border: none;
    color: var(--light);
    cursor: pointer;
    font-family: poppins;
}