body {
  width: 100%;
  height: 100%;
}
main, #infoPopup, #bruscoPopup{
  width: 100%;
  height: 100%;
}
main{
  background-color: #EEEBE1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100dvh;
}
#infoPopup, #bruscoPopup{
  display: none;
  z-index: 4;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 0;
}
#infoPopup section, #bruscoPopup section{
  display: flex;
  background-color: #050505;
  flex-direction: column;
  justify-content: flex-start;
  height: 100dvh;
  z-index: 4;
  overflow-y: scroll;
  overflow-x: hidden;
}
#logo{
  z-index: 1;
}
#cheese{
  z-index: 3;
}
#cheese div:first-child{
  display: flex;
  align-items: center;
  justify-content: center;
}
#cheese img{
  width: 400px;
  max-width: 100%;
}
#minfo{
  z-index: 3;
}
#links{
  margin-top: auto;
  display: flex;
  align-items: baseline;
}
main #links div:last-child{
  display: flex;
  justify-content: flex-end;
}
#infoPopup #links div:nth-child(2){
  display: flex;
  justify-content: center;
}
#links img{
  width: 30px;
}
#bruscoPopup #links div:last-child{
  display: flex;
  justify-content: center;
}
#bruscoPopup #minfo{
  text-align: left;
  margin-top: 25px;
}
#infoClose, #bruscoClose{
  cursor: pointer;
}
#infoPopup .row:nth-last-child(2){
  margin-bottom: 50px !important;
}
.ig-logo{
  -webkit-mask: url(../img/instagram_icon.svg) no-repeat center;
  mask: url(../img/instagram_icon.svg) no-repeat center;
  aspect-ratio: 1;
  display: block;
  background-color: #000;
}
#infoClose, #bruscoClose{
  -webkit-mask: url(../img/close_icon.svg) no-repeat center;
  mask: url(../img/close_icon.svg) no-repeat center;
  aspect-ratio: 1;
  display: block;
  background-color: #EDE8E0;
}
.ig-logo:hover, #infoClose:hover, #bruscoClose:hover{
  background-color: #E30613;
}
.ig-logo a, #infoClose a, #bruscoClose a{
  display: block;
  width: 100%;
  height: 100%;
}
/******************* CAROUSEL *******************/
/** v1 
#carouselBrusco{
  aspect-ratio: 300 / 449;
  width: 350px;
  position: absolute;
  left: 56%;
  top: 30%;
  z-index: 2;
}
#carouselBrusco .carousel-inner, #carouselBrusco .carousel-item{
  width: 100%;
  height: 100%;
} **/
/** v2 **/
#carouselBrusco {
  position: absolute;
  top: 30%;
  z-index: 2;
}
#carouselBrusco .carousel-inner, #carouselBrusco .carousel-item {
  width: 100%;
  height: 100%;
  max-width: 350px;
  aspect-ratio: 300 / 449;
  margin-left: auto;
  margin-right: auto;
}
.img1, .img2, .img3, .img4, .img5{
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
}
.img1{
  background-image: url(../img/BRUSCO_Burger_01.jpg);
}
.img2{
  background-image: url(../img/BRUSCO_Burger_02.jpg);
}
.img3{
  background-image: url(../img/BRUSCO_Burger_03.jpg);
}
.img4{
  background-image: url(../img/BRUSCO_Burger_04.jpg);
}
.img5{
  background-image: url(../img/BRUSCO_Burger_05.jpg);
}
a{
  transition: color 0.5s;
}
span{
  transition: background-color 0.5s;
}
/*** FONTS ***/
@font-face {
  font-family: brusco_1;
  src: url(../fonts/brusco_1.ttf);
}
@font-face {
  font-family: brusco_2;
  src: url(../fonts/brusco_2.otf);
}
h2{
  font-family: brusco_1;
  font-display: swap;
}
h3, h4{
  font-family: brusco_2;
  font-display: swap;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
  margin-bottom: 0;
}
a{
  text-decoration: underline 1px;
  text-underline-offset: 4px;
}
a:hover, i:hover {
  color: #E30613 !important;
}
main h2, main h3, main a{
  color: #000000;
}
#infoPopup h2, #infoPopup h3, #infoPopup h4, #bruscoPopup h2, #bruscoPopup h3, #infoPopup a, #bruscoPopup a{
  color: #EDE8E0;
}

/********************************************* RESPONSIVE ********************************/
h2{
  font-size: 26px;
  line-height: 32px;
}
h3{
  font-size: 23px;
  line-height: 28px;
}
h4{
  font-size: 16px;
  line-height: 20px;
}
/** MAIN **/
main, #infoPopup section, #bruscoPopup section{
  padding: 15px !important;
}
#carouselBrusco{
  margin-left: 25%;
  width: 60%;
}
.ig-logo, #infoClose, #bruscoClose{
  width: 20px;
}
main #minfo div:last-child{
  text-align: center;;
  margin-top: 120px;
}
main #minfo h2{
  line-height: 15px;
}
#infoPopup #cheese {
  margin-top: auto;
}
#infoPopup #minfo {
  margin-bottom: auto;
}
#infoPopup #cheese div{
  text-align: center;
}
#infoPopup #minfo div{
  text-align: center;
  margin-top: 20px;
}
#infoPopup #links div{
  text-align: center;
}
#infoPopup #links div:nth-child(1){
  order: 1;
}
#infoPopup #links div:nth-child(2){
  order: 3;
}
#infoPopup #links div:nth-child(3){
  order: 2;
}
#infoPopup #links div:nth-child(1){
  margin-bottom: 30px;
}
#infoPopup #links div:nth-child(2){
  margin-top: 30px;
}
#infoPopup #infoClose{
  margin-bottom: 15px;
}
#infoPopup #cheese {
    margin-top: 50px;
}
#bruscoPopup #links {
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

#links{
  justify-content: space-between;
}
.col{
  flex-grow: 0;
}
@media (min-width: 576px) {

}

@media (min-width: 768px) {
  h2{
    font-size: 40px;
    line-height: 46px;
  }
  main #minfo h2{
    line-height: 30px;
  }
  h3{
    font-size: 36px;
    line-height: 36px;
  }
  h4{
    font-size: 28px;
    line-height: 34px;
  }
  /** MAIN **/
  main, #infoPopup section, #bruscoPopup section{
    padding: 30px !important;
  }
  #carouselBrusco{
    margin-left: 50%;
    width: 25%;
  }
  .ig-logo, #infoClose, #bruscoClose{
    width: 30px;
  }
  #cheese div:first-child{
    margin-left: 150px;
  }
  #minfo{
    text-align: center;
    align-items: baseline;
  }
  main #minfo div:last-child{
    text-align: left;;
    margin-top: 0;
  }
  #infoPopup #cheese div:first-child{
    display: block;
    margin-left: 0;
    text-align: left;
  }
  #infoPopup #cheese div:last-child{
    text-align: right;
  }
  #links div:last-child{
    display: flex;
    justify-content: flex-end;
  }
  #infoPopup #cheese {
    margin-top: 25px;
    margin-bottom: 25px;
  }
  #infoPopup .secnth#cheese {
    margin-top: 45px;
  }
  #infoPopup #links div:nth-child(1){
    order: 1;
  }
  #infoPopup #links div:nth-child(2){
    order: 2;
  }
  #infoPopup #links div:nth-child(3){
    order: 3;
  }
  #infoPopup #links div:nth-child(1){
    margin-bottom: 0;
  }
  #infoPopup #links div:nth-child(2){
    margin-top: 0;
  }
  #infoPopup #links div:first-child{
    text-align: left;
  }
  #infoPopup #infoClose{
    margin-bottom: 0;
  }

  #bruscoPopup #links {
    justify-content: normal;
    margin-top: auto;
    margin-bottom: 0;
  }
  #links{
    justify-content: normal;
  }
  #links div:nth-child(2), #links div:nth-child(3){
    text-align: center;
  }
  .col{
    flex-grow: 1;
  }
}

@media (min-width: 992px) {
  #infoPopup #minfo{
    justify-content: center;
  }
  #infoPopup #minfo div{
    margin-top: 0;
  }

}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}





