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

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

/* Utilità */
.res {
  width: 100%;
  max-width: 500px;
}

html {
  scroll-behavior: smooth;
}

html, body{
  overflow-x: hidden;
}

/* Tavolozza colore */
:root {
  --primary: #38405F;
  --secondary: #59546C;
  --accent: #BF0404;
  --light: #F0F0F0;
  --dark: #070707;
}


/* Tipografia */
body {
  font-family: 'Lexend', sans-serif;
  background-color: #F0F0F0;
}


.title {
  
font-family: 'Libre Baskerville', serif; 
font-style: normal;
font-weight: 400;
font-size: 9vw;
line-height: 148px;
/* identical to box height */
letter-spacing: -0.01em;
margin-top: 133px;
margin-bottom: 10px;

}

.subtitle {
  font-size: 19px;
  font-family: 'Lexend', sans-serif;
  display: inline-block;
  width: 50%;
  font-style: normal;
font-weight: 400;
margin-top: 30px;
}

.headline {
  font-size: 30px;
}

p {
  font-size: 1.3em;
  line-height: 1.3em;
}

h2 {
  font-weight: 700;
  font-size: 30px;
}
/* Macro */
.wrapper {
  width: 100%;
  /* border: 1px solid red; */
  margin: 0 auto;
}

section {
  /* serve a sommare nel margine alto la testata fixed */
  scroll-margin-top: 60px;
}

/* Header */
.fixed {
  position: fixed;
  background: var(--light);
  width: 100%;
  z-index: 999;
}

.header {
  position: relative;
  /* border: 1px solid red; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;

}

.header__logo,
.header__menu,
.header__cta {
  /* border: 1px solid red; */
}

.header__icon {
  display: none;
}

.header__logo {
  width: 100px;
  margin-top: 8px;
  transition: none;
}
.memofontelogo{
  width: 60px;
}

/* navigazione primaria */
.site-nav li {
  display: inline-block;
}


.site-nav a {
  padding: 20px;
  /* border: 1px solid var(--light); */
  color: var(--dark);

}

.logo {
      width: 50px;
      transition: none;
}

.button {
  display: block;
  color: var(--light);
  border: 1px solid var(--light);
  padding: 5px;
  width: 130px;
  text-align: center;
}

/* Cover */

.cover {
  /* background: var(--dark) url(img/isia_cover.png) no-repeat center center; */
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /* border: 1px solid red; */
  position: relative;
  grid-column: 1/9;
}

/* 
.cover::before {
  content: ' ';
  width: 100%;
  height: 100%;
  background: var(--light);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
  z-index: 2;
} */

.cover__content {
  position: relative;
  z-index: 3;
  color: var(--dark);
  /* border: 1px solid red; */
  text-align: center;
  margin-top: 150px;
}

.memofontelogo2 {
  width:150px;
  display: inline-block;
}

.covertitle{
  text-align: center;
  margin-left: 20em;
    margin-right: 20em;
    display: flex;
    align-items: center;
    justify-content: center;
  margin-top: 60px;
}

.cover__img{
  width: 100%;
  margin-top: 1em;
}

/* .evento-punk__container {
  background-color: #E2DCCA;
  margin-top: 150px;
  grid-column: 2/8;
} */

.h2paola{
  color: var(--dark);
  grid-column: 1/9;
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 30px;
  margin-top: 120px;
}

.evento-punk__txt {
  color: var(--dark);
  margin-bottom: 40px;
}

.evento-punk__img {
  margin-top: -520px;
    width: 100%;
  
}

.contesti-darte-img
{
  margin-top: 20px;
  grid-column: 1/4;
  grid-column: 1/4;

}

.evento-arti__studimemo{
  margin-top: 20px;
}


/* !Ricerche btt */

.bottone__ricerche{
  text-align: center;
}
.ricerche__btt{
  justify-content: center;
}
.ricerche__btt {
  font-size: 19px;
  color: var(--accent);
  font-family: 'Libre Baskerville', serif;  
  font-weight: 700;
  font-style: italic;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  /* text-transform: uppercase; */
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color; 
  margin-left: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.ricerche__btt:focus,
.ricerche__btt:hover {
  color:var(--dark);
}

.ricerche__btt:focus:after,
.ricerche__btt:hover:after {
  width: 100%;
  left: 0%;
}

.ricerche__btt:after {
  content: "";
  pointer-events: none;
  bottom: -2px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--dark);
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}
/*! Card container */

:root{
  --background-dark: #070707;
  --text-light: rgba(255,255,255,0.6);
  --text-lighter: rgba(255,255,255,0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  --width-container: 1200px;
}

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

html{
  height: 100%;
  font-family: 'Libre Baskerville', serif;  
  font-size: 14px;
}

body{
  height: 100%;
}

.ricerche{
  color: var(--light);
  font-family: 'Libre Baskerville', serif;
  font-size: 40px;
  margin-top: 150px;
  margin-left: 50px;
}

.hero-section{
  margin-top: 10PX;
  align-items: flex-start;
  /* background-image: linear-gradient(15deg,#9e9ea4 0%, #F0F0F0 150%); */
  display: flex;
  min-height: 100%;
  justify-content: center;
  padding: var(--spacing-xxl) var(--spacing-l);
  margin-left: 50px;
  margin-right: 50px;
  border-radius: 32px;
}

.card-grid{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: var(--spacing-l);
  grid-row-gap: var(--spacing-l);
  max-width: var(--width-container);
  width: 100%;
}

@media(min-width: 540px){
  .card-grid{
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media(min-width: 960px){
  .card-grid{
    grid-template-columns: repeat(4, 1fr); 
  }
}

.card{
  list-style: none;
  position: relative;
}

.card:before{
  content: '';
  display: block;
  padding-bottom: 150%;
  width: 100%;
}

.card__background{
  background-size: cover;
  background-position: center;
  border-radius: var(--spacing-l);
  bottom: 0;
  filter: brightness(0.75) saturate(1.2) contrast(0.85);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  transform: scale(1) translateZ(0);
  transition: 
    filter 200ms linear,
    transform 200ms linear;
}

.card:hover .card__background{
  transform: scale(1.05) translateZ(0);
}

.card-grid:hover > .card:not(:hover) .card__background{
  filter: brightness(0.5) saturate(0) contrast(1) ;
}

.card__content{
  left: 0;
  padding: var(--spacing-l);
  position: absolute;
  top: 0;
}

.card__category{
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-s);
  text-transform: uppercase;
  font-family: 'Lexend', sans-serif;
}

.card__heading{
  color: var(--text-lighter);
  font-size: 1.9vw;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
  line-height: 1.4;
  word-spacing: 100vw;
  font-family: 'Libre Baskerville', serif;  
}

/* !interazione header menù  */
li{
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  /* text-transform: uppercase; */
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color; 
}

li:focus,
.biblio__btt:hover {
  color:var(--secondary);
}

li:focus:after,
li:hover:after {
  width: 100%;
  left: 0%;
}

li:after {
  content: "";
  pointer-events: none;
  bottom: -8px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--dark);
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}


/* !Vai alla biografia button */

.biblio__btt {
  font-size: 19px;
  color: var(--accent);
  font-family: 'Libre Baskerville', serif;  
  font-weight: 900;
  font-style: italic;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  /* text-transform: uppercase; */
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color; 
  margin-left: 180px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.biblio__btt:focus,
.biblio__btt:hover {
  color:var(--secondary);
}

.biblio__btt:focus:after,
.biblio__btt:hover:after {
  width: 100%;
  left: 0%;
}

.biblio__btt:after {
  content: "";
  pointer-events: none;
  bottom: -2px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--secondary);
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}




/* !FOOTER */
.footer__content {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  height: 150px;
  justify-content: center;
}

.footer__logo{
  width: 40%;
  filter: invert(100%);
}

.logo__footer{
  display: block;

}

footer {
  grid-column: 1/9 ;
  margin-top: 90px;
  width: 100%;
  background-color: var(--dark);
}

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


.social__title {
  color: var(--light);
  margin-bottom: 25px;
  font-family: 'Lexend', serif;  
  font-weight: 900;
  font-size: 15px;
}

.socialflex{
  display: flex;
}
.footer__columns{
text-align: center;
 color: var(--light);
 display: flex;
 margin: 0;
}

.insta__title{
  margin-right: 12px;
  font-family: 'Lexend', serif;  
  font-weight: 400;
  color: #cacaca;
}

.face__title{
  margin-right: 12px;
  font-family: 'Lexend', serif;  
  font-weight: 400; 
  color: #cacaca;
}
.about__link{
  transition: none;
  font-size: 12px;
  color: #cacaca;
}
.about__text{
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--light);
}

.about__link:focus:after,
.about__link:hover:after {
  width: 0%;
  left: 0%;
}

.instagram{
  display: flex;
  text-align: center;
}

.facebook{
  display: flex;
  text-align: center;
  margin-left: 12px;
}


.social__container{
  display: block;
  text-align: center;
}

/* -------------------------------------------------------------------------------- */
/* ! Grid System */
/* -------------------------------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.chisiamo {
  grid-column: 2/9;
  /* color: var(--dark); */
  font-family: 'Libre Baskerville', serif;
  margin-top: 270px;
  margin-bottom: 15px;
}



.spes {
  grid-column: 2/9;
  /* color: var(--dark); */
  font-family: 'Libre Baskerville', serif;
  margin-top: 60px;
  margin-bottom: 15px;
}

.pubblicazioni__title{
  grid-column: 2/9;
  /* color: var(--dark); */
  font-family: 'Libre Baskerville', serif;
  margin-top: 120px;
  margin-bottom: 15px;
}
.pubblicazioni__h3{
  grid-column: 2/9;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  color: var(--accent);
  margin-top: 10px;
}

.pubblicazioni__h3__2{
  grid-column: 2/9;
  font-family: 'Lexend', sans-serif;
  font-size: 20px;
  color: var(--accent);
  margin-top: 150px;
}

.evento-arti__text {
  grid-column: 2/5;
}

.evento-arti__img {
  grid-column: 6/9;
  width: 90%;
  margin-top: -30px;
}

.evento-arti__img__rivista
{ grid-column: 6/9;
  width: 90%;
  margin-top: -100px;
  width: 70%;
}

.evento-punk__img {
  grid-column: 2/4;
  
}

.evento-punk__txt {
  grid-column: 5/9;
}

.evento-arti__p {
 margin-top: 20px;
}

.contesti-darte-p {
  margin-top: 200px;
}

/* .logo__footer{
  grid-column: 4/5;
} */

/* .about{
  grid-column: 7/9;
} */

/* .footer__content{
  grid-column: 1/9;
} */

/* .instagram{
  grid-column: 4;
} */

/* .facebook{
  grid-column: 5;
} */

/* .social__container{
  grid-column: 2/3;
} */


.ricerche__text__mobile{
  font-family: 'Libre Baskerville', serif;  
  margin-top: 140px ;
  font-size: 30px;
  grid-column: 1/9; 
  text-align: center;
    display: flex;
    justify-content: center;
}




/* -------------------------------------------------------------------------------- */
/* ! Media query tablet view */
/* -------------------------------------------------------------------------------- */

@media screen and (min-width:481px) and (max-width:768px){
  .header__icon {
    display: block;
    color: var(--dark);
    z-index: 3;
    margin-right: 30px;
  }

  
  .header__logo {
    width: 80px;
    margin-left: 50px;
  }

  .header__menu {
    background-color: var(--dark);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    transition: 0.5s cubic-bezier(1, .11, 0, .19);
    z-index: 3;
  }

  .open .header__menu {
    transform: translateX(0);
  }
  .open .header__icon{
    color: var(--light);
  }

  
  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .site-nav li {
    margin-bottom: 3em;
  }

  .site-nav a {
    border: none;
    font-size: 2em;
    color: var(--light);
    font-family: 'Lexend', sans-serif;
  }

  
  .site-nav li:focus,
  .site-nav li:hover {
    color:var(--secondary);
  }
  
  .site-nav li:focus:after,
  .site-nav li:hover:after {
    width: 100%;
    left: 0%;
  }
  
  .site-nav li:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--light);
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 300ms;
    transition-property: width, left;
  }

  .cover__content{
    margin-top: 100px;
  }
  .title{
    font-size: 9vw;
    margin-bottom: 35PX;
    margin-top: 0;
  }

  .subtitle{
    font-size: 17px;
  }

  .covertitle{
    margin: none;
    margin-left: none;
    margin-right: none;margin: auto;
    text-align: none;
  }

  .chisiamo{
    margin-top: 120px;
    font-size: 20px;
    margin-bottom: 0px;
  }

  .evento-arti__p{
    font-size: 15px;
  }

  .evento-arti__img{
    width: 250px;
    margin-top: 20px;
    margin-left: 30px;
  }

  .biblio__btt { 
    font-size: 17px;
    margin-left: 60px;
  }

  .h2paola{
    margin-top: 50px;
    font-size: 20px;
  }

  .evento-punk__txt{
   
  }
  .evento-punk__img{
    width: 250px;
    margin-top: -517px;
    
  }

  .spes{
    margin-top: 10px;
    font-size: 20px;
    margin-bottom: 0px;
  }

  .hero-section{
    margin-top: 20px;
  }

  .ricerche__text{
    font-size: 28px;
  }

  .ricerche{
    margin-top: 190px;
    margin-right: 50px;
  }
  .card{
    width: 100%;
  }

  .card__heading{
    font-size: 5vw;
  }

  .ricerche__btt{
    font-size: 17px;
  }

  .pubblicazioni__title{
    margin-top: 80px;
    font-size: 20px;
    margin-bottom: 0px;
  }

  .pubblicazioni__h3{
    font-size: 17px;
  }

  .evento-arti__img__rivista{
    width: 90%;
    margin-top: 1px;
    
  }

  .evento-arti__studimemo {
    font-size: 15px;
  }

  .pubblicazioni__h3__2{
    margin-top: 50px;
    font-size: 17px;
  }
    
  .ricerche__text__mobile{
    font-size: 20px;
  } 

  .footer__content{
    height: 340px;
  }
  .footer__columns{
    display: block;
  }

  .insta__title, .face__title{
    font-size: 12px;
  }
  .socialflex{
    justify-content: center;
  }

  .social__container{
    margin-bottom: 20px;
  }

  .footer__logo{
    margin-top: 20px;
    margin-bottom: 20px;
    width: 30%;
  }


  /* grid system mobile */
  .chisiamo{
    grid-column: 2/8;
  }

  .spes{
    grid-column: 2/8;
  }

  .pubblicazioni__title{
    grid-column: 2/8;
  }
  .evento-arti__text {
    grid-column: 2/8;
    margin: 0px;
  }

  .evento-arti__img {
    grid-column: 4/6;
    text-align: center;
  }

  .evento-punk__img {
    grid-column: 4/6;
    margin: auto;
    margin-bottom: 50px;
  }

  .evento-punk__txt {
    grid-column: 2/8;
  }

  .pubblicazioni__h3{
    grid-column: 2/8; 
  }

  .evento-arti__img__rivista{
    grid-column: 4/7;
  }

  .evento-arti__studimemo{
    grid-column: 2/6;
  }

  .pubblicazioni__h3__2{
    grid-column: 2/7;
  }

  


}


/* -------------------------------------------------------------------------------- */
/* ! Media query mobile view */
/* -------------------------------------------------------------------------------- */


@media screen and (min-width:250px) and (max-width:480px){
  .header__icon {
    display: block;
    color: var(--dark);
    z-index: 3;
    margin-right: 30px;
  }

  .header__logo {
    width: 80px;
    margin-left: 50px;
  }

  .header__menu {
    background-color: var(--dark);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    transition: 0.5s cubic-bezier(1, .11, 0, .19);
    z-index: 3;
  }

  .open .header__menu {
    transform: translateX(0);
  }
  .open .header__icon{
    color: var(--light);
  }

  
  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .site-nav li {
    margin-bottom: 3em;
  }

  .site-nav a {
    border: none;
    font-size: 2em;
    color: var(--light);
    font-family: 'Lexend', sans-serif;
  }

  
  .site-nav li:focus,
  .site-nav li:hover {
    color:var(--secondary);
  }
  
  .site-nav li:focus:after,
  .site-nav li:hover:after {
    width: 100%;
    left: 0%;
  }
  
  .site-nav li:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--light);
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 300ms;
    transition-property: width, left;
  }

  .title{
    font-size: 12vw;
    
    margin-top: 0px;
  }

  .cover__content{
    margin-top: 0px;
  }
  .covertitle{
    text-align: none;
    margin: auto;
    margin-top: 0px;
  }

  .subtitle{
    font-size: 14px;
    width: 48%;
    margin-top: 17px
  }

  .memofontelogo2{
    width: 102px;
  }

  .cover__img{
    width: 110%;
    margin-top: 72px;
  }

  .card__heading{
    font-size: 5vw;
  }

  .header{
    max-width: 480px;
  }

  .chisiamo{
    margin-top: 10px;
    font-size: 25px;
  }

  .evento-arti__text{
    font-size: 13px;
  }

  .biblio__btt{
    margin-left: 55px;
    font-size: 17px;
  }
  .evento-arti__img {
    grid-column: 3/8;
    display: flex;
    justify-content: center;
    width: 90%;
    margin-top: 15px;
  }

  .h2paola{
    margin-top: 70px;
    font-size: 25px;
  }

  .evento-punk__img{
    margin-top: 0px;
  }

  .evento-arti__p{
    font-size: 15px;
  }

  .ricerche__text__mobile{
    display: contents;
  }

  .ricerche__mobile{
    grid-column: 2/8;
  }
  
  
  .ricerche__text__mobile{
    font-family: 'Libre Baskerville', serif;  
    margin-top: 90px ;
    font-size: 25px;
  }

  .hero-section {
    margin-top: 0px;
  }


  .pubblicazioni__title{
    grid-column: 2/8;
    font-size: 25px;
  }

  .pubblicazioni__h3__2{
    margin-top: 90px;
  }
  
  .pubblicazioni__h3, .pubblicazioni__h3__2{
    grid-column: 2/8;
  }

  .evento-arti__img__rivista{
    grid-column: 3/8;
    display: flex;
    justify-content: center;
    width: 80%;
    margin-top: 15px;
  }

  .spes{
    margin-top: 130px;
    font-size: 25px;
  }
  
  .card-grid{
    width: 80%;
  }

  .footer__content{
    height: 340px;
  }
  .footer__columns{
    display: block;
  }

  .social__title, .about__text{
    font-size: 20px;
  }
  .insta__title, .face__title{
    font-size: 15px;
  }
  .socialflex{
    justify-content: center;
  }

  .social__container{
    margin-bottom: 20px;
  }

  .footer__logo{
    margin-top: 20px;
    margin-bottom: 20px;
    width: 30%;
  }
  








  




  /* !Grid sistem Mobile view */

  .chisiamo{
    grid-column: 2/8;
  }

  .evento-punk__txt{
    grid-column: 2/8;
  }

  .evento-arti__text{
    grid-column: 2/8;
  }

  .evento-punk__img{
    grid-column: 3/8;
    display: flex;
    justify-content: center;
    width: 80%;
   
  }
  
  .spes{
    grid-column: 2/5; 
  }

  .ricerche{
    display: none;
  }

  .ricerche__text__mobile{
    grid-column: 1/9; 
    display: flex;
    justify-content: center;
    text-align: centerS;
  }






}