/* reset */
* {
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
}

section .riviste {
    box-sizing: border-box;
}

/* Tavolozza colori*/
:root {
    --primary: #853334;
    --secondary: #fda576;
    --light: #fffaf0;
    --accent: #353115;
    --dark: #431000;
}

/* Tipografia */
body {
    font-family: 'Bitter';
    background: var(--light);
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 69px;
}

.title,
.subtitle,
.headline {
    font-family: 'Playfair Display';
}

.title {
    font-size: 100px;
}

.subtitle {
    font-size: 30px;
}

.headline {
    font-size: 18px;
}

p {
    font-size: 1.3em;
    line-height: 1.3em;
}

/* HEADER */


.search-box {
    width: fit-content;
    height: fit-content;
    position: relative;
    margin-left: 60px;
}

.input-search {
    border-style: none;
    padding: 10px;
    padding-bottom: 15px;
    font-size: 18px;
    letter-spacing: 2px;
    outline: none;
    border-radius: 25px;
    transition: all .5s ease-in-out;
    background-color: var(--light);
    padding-right: 20px;
    color: var(--accent);
}

.input-search::placeholder {
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 100;
    font-family: 'Playfair Display';
}

.btn-search {
    width: 50px;
    height: 50px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 40%;
    position: absolute;
    right: 0px;
    color: #ffffff;
    background-color: transparent;
    pointer-events: painted;
    text-align: center;
}

/*parentesi button newsletter */

.btn-newsletter {
    position: relative;
    border-style: none;
    background-color: transparent;
    display: flex;
    text-align: center;
    margin-left: 50px;
}

.btn-newsletter a {
    color: var(--secondary);
    font-size: 25px;
    text-align: center;
}

/*fine parentesi button newsletter */

.btn-search:focus~.input-search {
    width: 300px;
    border-radius: 0px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}

.input-search:focus {
    width: 300px;
    color: white;
    font-family: 'Bitter';
    border-radius: 0px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}

.fa-magnifying-glass {
    color: var(--secondary);
    text-align: center;
}

.header {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: large;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary);
}

.header__menu {
    width: auto;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: large;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 70px 0 70px;
}

.header__logo {
    margin-left: 20px;
}

.logo {
    color: #DDDDDD;
    width: 130px;
}

.site-nav li {
    display: inline-block;
    padding: 20px;
}

.site-nav a {
    color: white;
}

/* cover */

.cover {
    background: url(img/signorini_veduta-dell_arno.jpg) no-repeat center;
    height: 100vh;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover::before {
    content: '';
    width: 100%;
    height: 100%;
    background: var(--accent);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    z-index: 2;
}

.cover__content {
    position: relative;
    color: white;
    z-index: 3;
    margin-left: 10px;
}

/* -------------------------------------------------------------------------------- */
/* ! GRID SYSTEM */
/* -------------------------------------------------------------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.sectionbox1,
.sectionbox2 {
    max-width: 1200px;
    margin: 30px;
    grid-column: 1/9;
}

.autori {
    max-width: 1200px;
    margin: 30px;
    grid-column: 1/9;
}

.autori p {
    margin-top: 10px;
    font-size: 20px;
}

.sectionbox p {
    margin-top: 10px;
    font-size: 20px;
}

.grid h1 {
    font-family: 'Prata';
    font-weight: 700;
    color: var(--accent);
    font-size: 40px;
}

/* ----- */

.list__items {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.card__body1,
.card__body2,
.card__body3 {
    padding: 40px;
    margin-top: 20px;
    width: 100%;
    height: 180px;
    display: grid;
    border-radius: 1%;
}

.card__body1 {
    background: url(img/Paola_Barocchi.jpg) no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

.card__body2 {
    background: url(img/firenze_5_ml.jpg) no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

.card__body3 {
    background: url(img/foto\ 2.jpg) no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

.card__text1,
.card__text2,
.card__text3 {
    font-family: 'Bitter';
    color: white;
    width: 200px;
}

.fa-arrow-right-long {
    color: white;
}

/* cards autori */

.list__carte {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
}

.carta {
    position: relative;
    width: 80%;
    height: 250px;
    background-color: #000;
    overflow: hidden;
}

.carta__image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    scale: 1.15;
    transition: opacity 0.25s, scale 0.35s;
}

/* CTA */
.CTA:hover {
    transform: translateY(-5px);
    transition: .2s;
}

/* HOVER EFFECTS carta */

.carta:hover .carta__image {
    opacity: 0.5;
    scale: 1;
}

.carta__body {
    position: absolute;
    inset: 0;
    padding: 50px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
    justify-content: center;
    border-radius: 1%;
}

.carta__body:hover {
    box-shadow: inset 0 0 0 1000px rgba(158, 42, 43, .3);
}

.carta__body::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 2px solid #fff;
    opacity: 0;
    scale: 1.25;
    transition: opacity 0.25s, scale 0.25s;
}

/* HOVER EFFECTS carta */

.carta:hover .carta__body::before {
    opacity: 1;
    scale: 1;
}

.carta__titolo1,
.carta__titolo2,
.carta__titolo3,
.carta__titolo4,
.carta__titolo5 {
    letter-spacing: 1px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, .5);
}

/* HOVER EFFECTS carta */

.carta__body:hover .carta__titolo1 {
    box-shadow: inset 214px 0 0 0 var(--light);
    color: #585123;
}

.carta__body:hover .carta__titolo2 {
    box-shadow: inset 169px 0 0 0 var(--light);
    color: #585123;
}

.carta__body:hover .carta__titolo3 {
    box-shadow: inset 163px 0 0 0 var(--light);
    color: #585123;
}

.carta__body:hover .carta__titolo4 {
    box-shadow: inset 414px 0 0 0 var(--light);
    color: #585123;
}

.carta__body:hover .carta__titolo5 {
    box-shadow: inset 414px 0 0 0 var(--light);
    color: #585123;
}

.carta__titolo1,
.carta__titolo2,
.carta__titolo3,
.carta__titolo4,
.carta__titolo5 {
    box-shadow: inset 0 0 0 0 var(--light);
    margin: 0 - 1rem;
    transition: color .3s ease-in-out, .3s ease-in-out;
}

.carta__description {
    font-size: 14px;
    text-align: center;
    opacity: 0;
    translate: -5px;
    transition: opacity 0.25s, translate 0.25s;
}

.carta__description2 {
    display: none;
}

/* HOVER EFFECTS carta */

.carta:hover .carta__description {
    opacity: 1;
    translate: 1;
}

/* HOVER EFFECTS HEADER */
.prec:hover,
.succ:hover {
    background-color: #DDDDDD;
    color: black;
}

.fondazione:hover,
.ricerche:hover,
.riviste:hover,
.didattica:hover,
.notizie:hover,
.contatti:hover {
    box-shadow: inset 100px 0 0 0 var(--light);
    color: #585123;
}

.fondazione,
.ricerche,
.riviste,
.didattica,
.notizie,
.contatti {
    box-shadow: inset 0 0 0 0 var(--light);
    margin: 0 -.25rem;
    padding: 0 .25rem;
    transition: color .3s ease-in-out, .3s ease-in-out;
}


/* HOVER EFFECTS LIST ITEMS */
.card__body1:hover {
    background: url(img/Paola_Barocchi.jpg) no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(158, 42, 43, .4);
    transform: translateY(-5px);
    transition: .3s;
}

.card__body2:hover {
    background: url(img/firenze_5_ml.jpg) no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(158, 42, 43, .4);
    transform: translateY(-5px);
    transition: .3s;
}

.card__body3:hover {
    background: url(img/foto\ 2.jpg) no-repeat center;
    box-shadow: inset 0 0 0 1000px rgba(158, 42, 43, .4);
    transform: translateY(-5px);
    transition: .3s;
}

.card__body1:hover .card__text1 {
    box-shadow: inset 162px 0 0 0 var(--light);
    color: #585123;
}

.card__text1 {
    box-shadow: inset 0 0 0 0 var(--light);
    margin: 0 - 1rem;
    transition: color .3s ease-in-out, .3s ease-in-out;
}

.card__body2:hover .card__text2 {
    box-shadow: inset 172px 0 0 0 var(--light);
    color: #585123;
}

.card__text2 {
    box-shadow: inset 0 0 0 0 var(--light);
    margin: 0 - 1rem;
    transition: color .3s ease-in-out, .3s ease-in-out;
}

.card__body3:hover .card__text3 {
    box-shadow: inset 72px 0 0 0 var(--light);
    color: #585123;
}

.card__text3 {
    box-shadow: inset 0 0 0 0 var(--light);
    margin: 0 - 1rem;
    transition: color .3s ease-in-out, .3s ease-in-out;
}

/* sezione delle riviste*/

.sectionbox2 {
    display: grid;
    grid-template-columns: (8, 1fr);
    margin-bottom: 100px;
}

.rivistememofonte {
    grid-column: 1/9;
}

.magazine__box {
    display: flex;
    align-items: center;
    margin: auto;
    margin-top: 20px;
    width: 75vw;
    max-width: 450px;
    padding: 50px 30px 50px 20px;
    background: var(--dark);
    border-radius: 24px;
    grid-column: 1/5;
}

.magazine__box img {
    max-width: 280px;
    width: 28vw;
    height: 300px;
    object-fit: cover;
    margin-left: -60px;
    margin-right: 30px;
    border-radius: inherit;
    box-shadow: 0 60px rgb(0, 0, 0 / 8%);
}

.magazine__box img:hover {
    transform: translateY(-5px);
    transition: .2s;
}

.magazine__box h2 {
    margin-bottom: 10px;
    font-size: 20px;
    color: white;
}

.magazine__box p {
    font-size: 16px;
    color: white;
}

.magazine__box2 {
    display: flex;
    align-items: center;
    margin: auto;
    margin-top: 20px;
    width: 75vw;
    max-width: 450px;
    padding: 50px 30px 50px 20px;
    background: var(--dark);
    border-radius: 24px;
    grid-column: 5/9;
}


.magazine__box2 img {
    max-width: 280px;
    width: 28vw;
    height: 300px;
    object-fit: cover;
    margin-left: -60px;
    margin-right: 30px;
    border-radius: inherit;
    box-shadow: 0 60px rgb(0, 0, 0 / 8%);
}

.magazine__box2 img:hover {
    transform: translateY(-5px);
    transition: .2s;
}

.magazine__box2 h2 {
    margin-bottom: 10px;
    font-size: 20px;
    color: white;
}

.magazine__box2 p {
    font-size: 16px;
    color: white;
}

.rivista__button {
    box-shadow: inset 0 0 0 0 var(--primary);
    margin: 0 - 1rem;
    transition: color .3s ease-in-out, .3s ease-in-out;
}

.rivista__button:hover {
    box-shadow: inset 17px 0 0 0 var(--primary);
    color: var(--accent);
}

.testoebutton {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* MAILCHIMP */
/*! Questa parte è relativa a mailchimp */
#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    padding: 10px 0 10px 3%
}

.content__newsletter {
    display: grid;
    grid-template-columns: (8, 1fr);
    margin-bottom: 60px;
    max-width: 1200px;
    margin: 30px;
    grid-column: 1/9;
    justify-content: center;
    padding: 10px;
}

.content__newsletter h1 {
    grid-column: 1/9;
    font-family: 'Prata';
    font-weight: 700;
    color: var(--accent);
    font-size: 40px;
}

#mc_embed_signup h1 {
    font-weight: bold;
    padding: 0;
    margin: 15px 0;
    font-size: 16PX
}

#mc_embed_signup input {
    border: 1px solid #ABB0B2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#mc_embed_signup input[type=checkbox] {
    -webkit-appearance: checkbox;
}

#mc_embed_signup input[type=radio] {
    -webkit-appearance: radio;
}

#mc_embed_signup input:focus {
    border-color: #333;
}

#mc_embed_signup .button {
    clear: both;
    background-color: var(--primary);
    border: 0 none;
    border-radius: 4px;
    transition: all 0.23s ease-in-out 0s;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: auto;
}

#mc_embed_signup .button:hover {
    background-color: var(--dark);
}

#mc_embed_signup .small-meta {
    font-size: 11px;
}

#mc_embed_signup .nowrap {
    white-space: nowrap;
}

#mc_embed_signup .mc-field-group {
    clear: left;
    position: relative;
    width: 96%;
    padding-bottom: 3%;
    min-height: 50px;
}

#mc_embed_signup .size1of2 {
    clear: none;
    display: inline-block;
    width: 46%;
    margin-right: 4%;
}

* html #mc_embed_signup .size1of2 {
    margin-right: 2%;
    /* Fix for IE6 double margins. */
}

#mc_embed_signup .mc-field-group label {
    display: block;
    margin-bottom: 3px;
}

#mc_embed_signup .mc-field-group input {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-indent: 2%;
}

#mc_embed_signup .mc-field-group select {
    display: inline-block;
    width: 99%;
    padding: 5px 0;
    margin-bottom: 2px;
}

#mc_embed_signup .datefield,
#mc_embed_signup .phonefield-us {
    padding: 5px 0;
}

#mc_embed_signup .datefield input,
#mc_embed_signup .phonefield-us input {
    display: inline;
    width: 60px;
    margin: 0 2px;
    letter-spacing: 1px;
    text-align: center;
    padding: 5px 0 2px 0;
}

#mc_embed_signup .phonefield-us .phonearea input,
#mc_embed_signup .phonefield-us .phonedetail1 input {
    width: 40px;
}

#mc_embed_signup .datefield .monthfield input,
#mc_embed_signup .datefield .dayfield input {
    width: 30px;
}

#mc_embed_signup .datefield label,
#mc_embed_signup .phonefield-us label {
    display: none;
}

#mc_embed_signup .indicates-required {
    text-align: right;
    font-size: 11px;
    margin-right: 4%;
}

#mc_embed_signup .asterisk {
    color: #e85c41;
    font-size: 150%;
    font-weight: normal;
    position: relative;
    top: 5px;
}

#mc_embed_signup .clear {
    clear: both;
}

#mc_embed_signup .mc-field-group.input-group ul {
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

#mc_embed_signup .mc-field-group.input-group ul li {
    display: block;
    padding: 3px 0;
    margin: 0;
}

#mc_embed_signup .mc-field-group.input-group label {
    display: inline;
}

#mc_embed_signup .mc-field-group.input-group input {
    display: inline;
    width: auto;
    border: none;
}

#mc_embed_signup div#mce-responses {
    float: left;
    top: -1.4em;
    padding: 0em .5em 0em .5em;
    overflow: hidden;
    width: 90%;
    margin: 0 5%;
    clear: both;
}

#mc_embed_signup div.response {
    margin: 1em 0;
    padding: 1em .5em .5em 0;
    font-weight: bold;
    float: left;
    top: -1.5em;
    z-index: 1;
    width: 80%;
}

#mc_embed_signup #mce-error-response {
    display: none;
}

#mc_embed_signup #mce-success-response {
    color: #529214;
    display: none;
}

#mc_embed_signup label.error {
    display: block;
    float: none;
    width: auto;
    margin-left: 1.05em;
    text-align: left;
    padding: .5em 0;
}

#mc-embedded-subscribe {
    clear: both;
    width: auto;
    display: block;
    margin: 1em 0 1em 5%;
}

#mc_embed_signup #num-subscribers {
    font-size: 1.1em;
}

#mc_embed_signup #num-subscribers span {
    padding: .5em;
    border: 1px solid #ccc;
    margin-right: .5em;
    font-weight: bold;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    display: inline-block;
    margin: 2px 0 1em 0;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
    color: #e85c41;
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
    border: 2px solid #e85c41;
}

#mc-embedded-subscribe-form input[type=checkbox] {
    display: inline;
    width: auto;
    margin-right: 10px;
}

#mergeRow-gdpr {
    margin-top: 20px;
}

#mergeRow-gdpr fieldset label {
    font-weight: normal;
}

#mc-embedded-subscribe-form .mc_fieldset {
    border: none;
    min-height: 0px;
    padding-bottom: 0px;
}

/* FINEMAILCHIMP     */

/* FOOTER */
footer {
    max-width: 100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    z-index: 3;
    flex-direction: column;
}

.top {
    display: flex;
    flex: wrap;
    flex-direction: row;
    gap: 20px;
}

footer .links {
    margin-top: 20px;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

footer .links span {
    color: white;
    font-size: 15px;
}

footer .links2 {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

footer .links2 span {
    color: white;
    font-size: 15px;
}

footer .links2 a {
    color: white;
    font-size: 15px;
}

footer .mail2:hover,
.mail1:hover {
    color: var(--accent);
    font-weight: 700;
}

footer .links3 {
    margin-top: 20px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

footer .links4 {
    margin-top: 20px;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mappagoogle {
    margin-top: 6px;
}

footer .links3 span {
    color: white;
    font-size: 15px;
}

footer .bottom {
    display: flex;
    flex-direction: row;
    flex: wrap;
    gap: 20px;
    padding: 20px 0;
    justify-content: space-between;
}

footer .links>div {
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
}

footer h2 {
    margin: 0%;
    font-size: 25px;
    font-weight: 700;
    color: white;
    font-family: 'Playfair Display';
}

footer .legal {
    display: flex;
    cursor: pointer;
    text-decoration: underline;
    font-size: 12px;
    color: white;
    justify-content: center;
}

footer .legal a {
    margin: 0 4px;
    color: white;
}

footer .socials {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    color: white;
}

/* -------------------------------------------------------------------------------- */
/* ! MEDIA QUERY PART */
/* -------------------------------------------------------------------------------- */
@media(max-width:992px) {

    .header__icon {
        display: block;
        color: white;
        z-index: 3;
        padding-right: 10px;
    }

    .header__logo {
        padding-left: 10px;
        width: 50px;
    }

    .header__menu {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 3;
        transition: 0.5s cubic-bezier(.1, .11, 0, .19);
    }

    .open .header__menu {
        transform: translateX(0);
    }

    .icon-hamburger {
        cursor: pointer;
        width: 1.5em;
        height: 1.5em;
        position: relative;
        transition: 0.3s cubic-bezier(.1, .11, 0, .19);
    }

    .icon-hamburger span {
        position: absolute;
        left: 0;
        height: 2px;
        width: 100%;
        background: var(--light);
    }

    .icon-hamburger span:nth-child(1) {
        top: 0;
    }

    .icon-hamburger span:nth-child(2),
    .icon-hamburger span:nth-child(3) {
        top: 10px;
    }

    .icon-hamburger span:nth-child(4) {
        top: 20px;
    }

    .open .icon-hamburger {
        transform: rotate(180deg);
    }

    .open .icon-hamburger span:nth-child(1),
    .open .icon-hamburger span:nth-child(4) {
        width: 0%;
    }

    .open .icon-hamburger span:nth-child(2) {
        transform: rotate(45deg);
    }

    .open .icon-hamburger span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: center;
        height: 100%;
    }

    .search-box {
        display: flex;
        flex-direction: column;
    }

    .cover {
        display: flex;
        justify-content: center;
    }

    .sectionbox1 {
        display: flex;
        flex-direction: column;
    }

    .list__items {
        display: flex;
        flex-direction: column;
        width: 80%;
    }

    .card__body1 {
        background: url(img/Paola_Barocchi.jpg) no-repeat center;
        background-size: cover;
    }

    .card__body1:hover {
        background: url(img/Paola_Barocchi.jpg) no-repeat center;
        background-size: cover;
    }

    .card__body3 {
        background: url(img/foto\ 2.jpg) no-repeat center;
        background-size: cover;
    }

    .card__body3:hover {
        background: url(img/foto\ 2.jpg) no-repeat center;
        background-size: cover;
    }

    .carta__description {
        display: none;
    }

    .carta__body:hover .carta__description2 {
        display: flex;
    }

    .sectionbox2 {
        display: flex;
        flex-direction: column;
    }

    .magazine__box1 {
        margin: 0 auto;
        align-items: center;
    }

    .magazine__box2 {
        margin: 0 auto;
        margin-top: 20px;
        align-items: center;
    }

    .text__box,
    .text__box2 {
        display: flex;
        flex-direction: column;
    }

    .footerlogo {
        display: none;
    }

    .links3 {
        align-self: baseline;
    }

    .links {
        align-self: baseline;
        justify-items: flex-start;
    }

    .links2 {
        align-self: baseline;
    }

    .links4 {
        justify-items: flex-start;
    }

    .mappagoogle {
        width: 600px;
        height: 300px;
        margin-bottom: 10px;
    }

    .top {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .bottom {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: baseline;
    }

    .legal span {
        display: flex;
        align-items: flex-start;
        margin-left: 30px;
    }

    .legal {
        margin: 0;
    }

    .socials {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        margin-left: 30px;
        margin-bottom: 10px;
    }

}

@media(max-width:768px) {
    .links2 {
        margin-left: 30px;
    }

    .mappagoogle {
        width: 400px;
        height: 300px;
    }

    .socials {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .cover__content h1 {
        display: flex;
        font-size: 60px;
        flex-direction: column;
    }

    .subtitle h2 {
        display: flex;
        font-size: 10px;
        flex-direction: column;
    }

    .magazine__box img {
        display: flex;
        height: 200px;
    }

    .magazine__box2 img {
        display: flex;
        height: 200px;
    }
}


@media(max-width:480px) {
    .cover {
        display: flex;
    }

    .cover__content h1 {
        display: flex;
        font-size: 60px;
        flex-direction: column;
    }

    .subtitle h2 {
        display: flex;
        font-size: 10px;
        flex-direction: column;
    }

    .magazine__box img,
    .magazine__box2 img {
        padding-left: 10px;
    }

    .magazine__box img {
        display: flex;
        height: 200px;
    }

    .magazine__box2 img {
        display: flex;
        height: 200px;
    }

    .search-box {
        display: none;
    }

    .newsletter {
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: center;
    }

}