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

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

:root {
    --primary: #ffffff;
    --secondary: #C90021;
    --accent: #040403;
    --light: #ffffff;
    --dark: #757575;
}

html {
    scroll-behavior: smooth;
}

/*GRAFICA */



.simbolo {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}



* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}



nav {
    margin-left: 50px;
    margin-right: 50px;
    background: var(--primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: flex-start;
}

nav .mainMenu {
    display: flex;
    list-style: none;
    font-family: 'Cormorant', serif;
    font-size: 70pt;
}

nav .mainMenu li a {
    display: inline-block;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--accent);
    font-size: 17pt;
    transition: 0.2s ease;
}

nav .mainMenu li a:hover {
    background: rgb(255, 94, 0);
    color: var(--light);
}

nav .openMenu {
    font-size: 2rem;
    margin: 20px;
    display: none;
    cursor: pointer;
    color: rgb(255, 94, 0);
}

nav .mainMenu .closeMenu,
.icons i {
    font-size: 2rem;
    display: none;
    cursor: pointer;
    margin-top: 25px;
    color: var(--primary);
}




.fa-facebook:hover {
    color: var(--primary);
}

.fa-twitter:hover {
    color: ;
}

.fa-instagram:hover {
    color: var(--primary);
}

.fa-wifi:hover {
    color: var(--primary);
}

.fa-github:hover {
    color: rgb(255, 123, 0);
}

nav .logo {
    margin-top: 25px;
    cursor: pointer;
    text-transform: uppercase;
}

.scrollbar {
    display: flex;
    align-items: center;
    margin-top: 100px;
    flex-direction: column;
    margin-top: 175px;

}

.scrolla {
    font-family: 'Cormorant', serif;
    font-size: 30px;
    color: var(--accent);

}

.scrolla:is(:hover) {
    color: rgb(255, 94, 0);
}

.linea {
    margin-top: 20px;
}

section.sinossi {
    background: rgb(255, 81, 0);
    height: 400px;
    margin: auto;
    height: 800px;
    margin-top: 200px;
    border-radius: 20px;
    max-width: 1200px;

}

.carosello {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    border-top: rgb(255, 81, 0);
    border-radius: 20px 20px 0px 0px;

}

p.descrizione {
    margin-top: 20px;
    text-align: center;
    font-family: 'Cormorant', serif;
    font-size: 20pt;
    margin-left: 50px;
    margin-right: 50px;
    line-height: 35px;
    color: var(--primary);
}

.angeli {
    border-radius: 20px 20px 0px 0px;
}

.titolo1 {
    font-family: 'DM Serif Display', serif;
    font-size: 60pt;
}

.interlinea {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
    margin-top: 200px;
    align-items: baseline;

}

.interlinea1 {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
    margin-top: 100px;
    align-items: baseline;

}

/*CARD-----------------------------------------------------*/

section.carte {

    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
    margin-top: 100px;

}

.card1 {
    width: 350px;
    height: 500px;
    border-radius: 20px;
    background: #f5f5f500;
    position: relative;
    border: 2px solid #c3c6ce;
    transition: 0.5s ease-out;
    overflow: visible;
}

.card-details {
    background: url(img/PaolaBarocchi.jpg)no-repeat center center;
    background-size: 700px;
    height: 100%;
    border-radius: 18px;
    display: grid;
    place-content: center;
}

.card-details1 {
    background: url(img/quadro.jpg)no-repeat center center;
    background-size: 700px;
    height: 100%;
    border-radius: 18px;
    display: grid;
    place-content: center;
}

.card-details2 {
    background: url(img/libri.jpg)no-repeat center center;
    background-size: 700px;
    height: 100%;
    border-radius: 18px;
    display: grid;
    place-content: center;

}

.card-button {
    transform: translate(-50%, 125%);
    width: 60%;
    border-radius: 1rem;
    border: none;
    background-color: rgb(255, 81, 0);
    color: #fff;
    font-size: 1rem;
    padding: .5rem 1rem;
    position: absolute;
    left: 50%;
    bottom: 0;
    opacity: 0;
    transition: 0.3s ease-out;
    font-family: 'DM Serif Display', serif;

}

.text-body {
    color: rgb(134, 134, 134);
}

/*Text*/
.text-title {
    font-size: 1.5em;
    font-weight: bold;
    color: rgb(255, 81, 0);
    text-align: center;
    background-color: var(--primary);
    border-radius: 5px;
    padding: 4px;

}

/*Hover*/
.card1:hover {
    border-color: rgb(255, 81, 0);
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.card1:hover .card-button {
    transform: translate(-50%, 50%);
    opacity: 1;
}



/*CARD FINE-----------------------------------------------------*/


/*PERSONAGGI-----------------------------------------------------*/

.card {
    max-width: 1200px;
    height: 400px;
    border-radius: 4px;
    background: var(--primary);
    display: flex;
    gap: 20px;
    padding: .4em;
    margin: auto;
    margin-top: 100px;

}

.persona1,
.persona2,
.persona3,
.persona4,
.persona5,
.persona6,
.persona7 {
    height: 100%;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    transition: all .5s;
    background: var(--primary);
    border: 3px solid rgb(255, 81, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.persona1:is(:hover) {
    background: url(img/francesco.jpeg)no-repeat center center;
    background-size: 500px;
    color: var(--primary);
}

.persona2:is(:hover) {
    background: url(img/filippo.jpeg)no-repeat center center;
    background-size: 500px;
}

.persona3:is(:hover) {
    background: url(img/diego.jpeg)no-repeat center center;
}

.persona4:is(:hover) {
    background: url(img/luigi.jpeg)no-repeat center center;
    background-size: 500px;
}

.persona5:is(:hover) {
    background: url(img/giuseppe.jpeg)no-repeat center center;
}

.persona6:is(:hover) {
    background: url(img/michelangelo.jpeg)no-repeat center center;
    background-size: 500px;
}

.persona7:is(:hover) {
    background: url(img/giorgio.jpeg)no-repeat center center;
    background-size: 600px;
}

.persona1:hover {
    flex: 4;
}

.persona2:hover {
    flex: 4;
}

.persona3:hover {
    flex: 4;
}

.persona4:hover {
    flex: 4;
}

.persona5:hover {
    flex: 4;
}

.persona6:hover {
    flex: 4;
}

.persona7:hover {
    flex: 4;
}

.card span {
    min-width: 14em;
    padding: .5em;
    text-align: center;
    transform: rotate(-90deg);
    transition: all .5s;
    text-transform: uppercase;
    color: rgb(255, 81, 0);
    letter-spacing: .1em;
    font-family: 'DM Serif Display', serif;
    font-size: 20pt;
}



.persona1:hover span {
    transform: rotate(0);
    color: var(--primary);
}


.persona2:hover span {
    transform: rotate(0);
    color: var(--primary);

}

.persona3:hover span {
    transform: rotate(0);
    color: var(--primary);
}

.persona4:hover span {
    transform: rotate(0);
    color: var(--primary);
}

.persona5:hover span {
    transform: rotate(0);
    color: var(--primary);
}

.persona6:hover span {
    transform: rotate(0);
    color: var(--primary);
}

.persona7:hover span {
    transform: rotate(0);
    color: var(--primary);
}

/*PERSONAGGI FINE-----------------------------------------------------*/

/*RIVISTE ONLINE-----------------------------------------------------*/

.rivista {
    --border-radius: 0.75rem;
    --primary-color: rgb(255, 81, 0);
    --secondary-color: #000000;
    max-width: 1200px;
    margin: auto;
    width: 1200px;
    height: 400px;
    padding: 1rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    background: #f1f1f3;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 3%);
    position: relative;
    margin-top: 100px;

}

.rivista>*+* {
    margin-top: 1.1em;
}

.rivista .rivista__content {
    color: var(--secondary-color);
    font-size: 17pt;
    font-family: 'Cormorant', serif;
}

.rivista .rivista__title {
    padding: 0;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'DM Serif Display', serif;
    color: #f1f1f3;
    transition: all .7s;
}

.rivista .rivista__date {
    color: var(--accent);
    font-size: 0.8rem;
}

.rivista .rivista__arrow {
    position: absolute;
    background: var(--primary-color);
    padding: 0.4rem;
    border-top-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    bottom: 0;
    right: 0;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;


}

.fa-right-long {
    font-size: 40px;
    color: var(--primary);
}

/* hover */
.rivista:hover h3 {
    color: rgb(255, 81, 0);
    font-size: 35pt;

}

.rivista:hover .rivista__arrow {
    background: #111;
    font-size: 40px;

}

.rivista:hover .rivista__arrow svg {
    transform: translateX(3px);
}

/*RIVISTE ONLINE FINE-----------------------------------------------------*/

/*COPERTINE-----------------------------------------------------*/

.copertine {
    display: flex;
    flex-direction: row;
    margin-top: 100px;
}

.copertina {
    margin: auto;
    width: 1200px;
    width: 350px;
    height: 500px;
    position: relative;
    background: #f5f5f5;
    transition: box-shadow .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    align-items: baseline;
    border-radius: 10px;
}

.copertina-img,
.copertina-img1 {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 10px;

}

.copertina-img {
    background: url(img/studimemo.png)no-repeat center center;
    background-size: 600px;
}

.copertina-img1 {
    background: url(img/contesti\ arte.png)no-repeat center center;
    background-size: 400px;
}

.copertina-info {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.copertina-icon {
    opacity: 0;
    transform: translateX(-20%);
    width: 2em;
    height: 2em;
    transition: all .3s ease-in-out;
}

svg {
    --size: 30px;
    width: var(--size);
    height: var(--size);
    color: rgb(255, 81, 0);
}

/*Text*/
p {
    line-height: 140%;
}

.titolino {
    font-weight: 900;
    font-size: 18pt;
    font-family: 'DM Serif Display', serif;
    color: rgb(255, 81, 0);
    background: var(--primary);
    border-radius: 5px 5px 0px 0px;
    padding: 5px;
}

.sub {
    color: rgb(255, 81, 0);
    font-weight: 500;
    font-size: 16pt;
    font-family: 'Cormorant', serif;
    background: var(--primary);
    border-radius: 0px 0px 5px 5px;
    padding: 5px;
}

/*Hover*/
.copertina:hover {
    box-shadow: 0 10px 20px 4px rgb(255, 81, 0);
}

.copertina:hover .copertina-icon {
    opacity: 1;
    transform: translateX(20%);
    color: rgb(255, 81, 0);
}

.fa-chevron-right {
    font-size: 35px;
    background: var(--primary);
    border-radius: 5px;
    padding: 5px;
}

/*FOOTER-----------------------------------------------------*/



:root {

    --dark: #000;
}

.h4 {
    background: rgb(255, 81, 0);
}


h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.3rem;
    font-weight: 300;
    text-align: center;
}

a {

    color: var(--dark);
    font-weight: 500;
    transition: 0.3s ease-in;
    border-bottom: 1px solid transparent;
    margin-bottom: 0.5rem;
    display: inline-flex;
}


ul {
    list-style-type: none;
    padding: 0;
}

button {
    appearance: none;
    border: 0;
    background: transparent;
}

.flex {
    display: flex;
    justify-content: end;
    font-size: 35px;
    margin-top: 40px;
    color: var(--primary);
}



.footer_inner {
    background: rgb(255, 81, 0);
    backdrop-filter: blur(50px);
    border: 0.1px solid rgba(233, 232, 232, 0.208);
    border-radius: 5px;
    padding: 2rem;
    margin-left: 50px;
    margin-right: 50px;
}


.container {

    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    margin-top: 200px;
}

form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 400px);
    border-bottom: 1px solid var(--dark);
    margin-top: 40px;
}

input {
    padding: 0.75rem 0;
    border: none;
    background: none;
    font-weight: 500;
    transition: border 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 0;
    width: 100%;
    font-size: 1.05rem;
    font-weight: bolder;
}

input:focus {
    outline: none;
}

input::placeholder {
    color: var(--dark);
}

.c-nav-tool {
    background: rgb(255, 81, 0);
}

.fa-circle-arrow-up {
    font-size: 50px;
    justify-content: center;
}

.layout_itemw-25 {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;

}



.fa-rss:hover {
    color: var(--primary);
}

.fa-facebook {
    margin-right: 25px;
}

.fa-instagram {
    margin-right: 35px;
}

.sium {
    font-family: 'DM Serif Display', serif;
}

.fa-circle-arrow-up:hover {
    color: var(--primary);
}

@media (min-width: 675px) {
    .layout {
        display: flex;
        flex-wrap: nowrap;
        column-gap: 2rem;
        justify-content: space-around;
    }

    .w-50 {
        width: 50%;
    }

    .w-25 {
        font-size: 15pt;
    }
}

form {
    position: relative;
}

svg {
    margin: 0.5rem;
}

.c-2 {
    margin-top: 3.5rem;
}

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




@media (max-width: 800px) {
    nav .mainMenu {
        height: 100vh;
        position: fixed;
        top: 0px;
        right: 0px;
        left: 0px;
        z-index: 10;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgb(0, 0, 0);
        transition: top 1s ease 0s;
        display: none;
    }

    nav .mainMenu .closeMenu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    nav .openMenu {
        display: block;
    }

    nav .mainMenu li a:hover {
        background: none;
        color: rgb(255, 123, 0);
    }

    .icons i {
        display: inline-block;
        padding: 12px;
    }

    ul.mainMenu li a {
        color: var(--primary);
    }

    .fa-bars {
        margin-top: 35px;
        margin-left: 20px;
    }

    .angeli {
        width: 425px;
    }

    .carosello {
        display: flex;
        justify-content: center;
        margin-top: 100px;
        border-top: rgb(255, 81, 0);


    }

    section.sinossi {
        background: rgb(255, 81, 0);
        height: 400px;
        margin: auto;
        height: 725px;
        margin-top: 200px;

        max-width: 1200px;

    }

    p.descrizione {
        margin-top: 20px;
        text-align: center;
        font-family: 'Cormorant', serif;
        font-size: 15pt;
        margin-left: 25px;
        margin-right: 25px;

        color: var(--primary);
    }

    .text-title {
        font-size: 10pt;
        font-weight: bold;
        color: rgb(255, 81, 0);
        text-align: center;
        background-color: var(--primary);
        border-radius: 5px;
        padding: 4px;

    }

    .titolo1 {
        font-family: 'DM Serif Display', serif;
        font-size: 30pt;
    }

    .barlunga {
        width: 50px;
    }

    .barlunga1 {
        width: 50px;
    }

    .card span {
        min-width: 14em;
        padding: .5em;
        text-align: center;
        transform: rotate(-90deg);
        transition: all .5s;
        text-transform: uppercase;
        color: rgb(255, 81, 0);
        letter-spacing: .1em;
        font-family: 'DM Serif Display', serif;
        font-size: 12pt;
    }

    .persona1:hover span {
        transform: rotate(-90deg);
        color: var(--primary);
    }


    .persona2:hover span {
        transform: rotate(-90deg);
        color: var(--primary);

    }

    .persona3:hover span {
        transform: rotate(-90deg);
        color: var(--primary);
    }

    .persona4:hover span {
        transform: rotate(-90deg);
        color: var(--primary);
    }

    .persona5:hover span {
        transform: rotate(-90deg);
        color: var(--primary);
    }

    .persona6:hover span {
        transform: rotate(-90deg);
        color: var(--primary);
    }

    .persona7:hover span {
        transform: rotate(-90deg);
        color: var(--primary);

    }

    .rivista {
        --border-radius: 0.75rem;
        --primary-color: rgb(255, 81, 0);
        --secondary-color: #000000;
        max-width: 1200px;
        margin: auto;
        width: 400px;
        height: 425px;
        padding: 1rem;
        cursor: pointer;
        border-radius: var(--border-radius);
        background: #f1f1f3;
        box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 3%);
        position: relative;
        margin-top: 100px;

    }

    .rivista .rivista__content {
        color: var(--secondary-color);
        font-size: 12pt;
        font-family: 'Cormorant', serif;
    }

    .copertine {
        display: flex;
        flex-direction: row;
        margin-top: 100px;
        flex-direction: column;
    }

    .barmedia {
        display: flex;
        margin-left: 225px;
        transform: rotate(-90deg);

    }

    .footer_inner {
        background: rgb(255, 81, 0);
        backdrop-filter: blur(50px);
        border: 0.1px solid rgba(233, 232, 232, 0.208);
        border-radius: 5px;
        padding: 2rem;
        margin-left: 5px;
        margin-right: 5px;
    }

    a {

        color: var(--dark);
        font-weight: 500;
        transition: 0.3s ease-in;
        border-bottom: 1px solid transparent;
        margin-bottom: 0.5rem;
        display: inline-flex;
        margin-top: 20px;
    }

    .flex {
        display: flex;
        justify-content: center;
        font-size: 35px;
        margin-top: 40px;
        color: var(--primary);
    }

    .footer_copyright {
        color: var(--light);
        margin-top: 20px;
    }

    .fa-circle-arrow-up {
        font-size: 50px;
        justify-content: center;
        margin-top: 20px;
    }
}