@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap');

html, body {
  height: 100%;
}

::-moz-selection { /* Code for Firefox */
  color: #1b120d;
  background: #e3cdb5;
}

::selection {
  color: #1b120d;
  background: #e3cdb5;
}

body{
  font-family: "Arvo", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.restaurants-wrapper {
  display: flex;
  justify-content: center;
  position: fixed;
  align-items: stretch;
  top: 0;
  bottom: 20px;
  right: 0;
  left: 0;
}
.restaurant {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  background-position: center center;
  background-size: cover;
}
#thekitchen-magenta {background-image: url(../images/magenta.webp);}
#thekitchen-casorezzo {background-image: url(../images/casorezzo.webp);}
.info {
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  width: 90%;
}

.restaurant-header {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 30px;
  background-color: #1b120d;
  background-color: rgba(27, 18, 13, 0.7);
  padding:20px;
  margin:0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.restaurant-link {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.restaurant-logo {
  max-width: 600px;
  width: 100%;
}

.links {padding:0;margin: 20px 0 0 0;}

.links li {
  list-style: none;
  display: flex;
  justify-content: center;
}
.links li a {
  color: #ffffff;
  width:100%;
  text-decoration: none;
  text-transform: lowercase;
  background-color: #1b120d;
  background-color: rgba(27, 18, 13, 0.7);
  padding: 10px 30px;
  margin: 2px 0;
  border:1px solid transparent;
}
.links li a:hover {border-color: #ffffff;}

.footer {
  position:fixed;
  right: 0;
  bottom: 0;
  left: 0;
  background: #1b120d;
  min-height: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.footer ul {
  margin: 0;
  padding: 0;
  display: flex;
}
.footer li {
  list-style: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  padding: 5px;
  line-height: 1em;
}
.footer li .copyright {
  display: flex;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 5px;
  line-height: 1em;
}
.footer li a {
  display: flex;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 15px;
  padding: 5px;
  line-height: 1em;
}
.footer li a:hover{
  text-decoration: underline;
}

/* SINGLE RESTAURANT */
.single-restaurant .restaurant-header {
  font-size: 40px;
}
.single-restaurant .info {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: left;
}
.single-restaurant .restaurant-header {
  width:40%;
  display: flex;
  justify-content: center;
}
.single-restaurant .links {
  width:40%;
  margin-top: 0;
}
/* MAGENTA */
.magenta {
  font-family: "Passion One", sans-serif;
  background-color: #3b0000;
}

.magenta .restaurant-header {
  background-color: rgba(59,0,0,0.7);
  font-size:40px;
}
.single-restaurant.magenta .restaurant-header{
  font-size:50px;
}

.magenta .links li a {
  font-weight: 700;
  background-color: rgba(59,0,0,0.7);
  text-transform: uppercase;
}
.magenta .footer {
  background-color: #3b0000;
}
.magenta .footer li a {
  font-weight: 700;
  font-size: 19px;
  padding: 3px;
}
/* CASOREZZO */
.casorezzo {
  background-color: #1b120d;
}

/* MOBILE */

@media only screen and (max-width: 1024px) {
  /*.restaurant-logo {
    max-width: 450px;
    width: 80%;
  }*/
}

@media only screen and (max-width: 768px) {
  .restaurants-wrapper {
    flex-direction: column;
    bottom:40px;
  }
  .restaurant {
    width: 100%;
  }
  .info {
    min-width: 90%;
  }
  .restaurant-logo {
    max-width: 300px;
    /*width: 70%;*/
  }
  .footer li a {
    font-size: 20px;
    padding: 10px;
  }
  .magenta .footer li a {
    font-size: 26px;
    padding: 7px;
  }
  .footer li .copyright{
    font-size: 14px;
    padding: 13px;
  }

  /* SINGLE RESTAURANT */

  .single-restaurant .info {
    display: block;
  }
  .single-restaurant .restaurant-header {
    width:90%;
  }
  .single-restaurant .links {
    width:100%;
    margin-top: 20px;
  }
}
