/* Applies to all */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Playfair Display", serif;
  height: 100vh;
}
html {
  scroll-behavior: smooth;
}
/* Menu */
div.underline {
  background-color: #222;
}
header.menu {
  display: flex;
}
a.logo {
  font-family: "Aboreto", cursive;
  color: #222;
  text-decoration: none;
  font-size: 2.2rem;
}
.hovered {
  height: 1px;
}
div.menu-item {
  display: flex;
  flex-direction: column;
  margin: 0 1rem;
}
div.menu-item > a {
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  text-decoration: none;
  color: #222;
}
a:hover {
  opacity: 0.6;
}
div.container-menu {
  display: flex;
}

/* Carousel */
.carousel-slider {
  width: 100vw;
  display: flex;
}
span.arrow {
  font-size: 3rem;

}
.carousel-control-next > span.arrow {
  transform:translateX(100%)
}
.carousel-control-prev > span.arrow {
  transform:translateX(-100%)
}

.arrow:hover {
  color: rgba(255, 255, 255, 1);
}
.container-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}
div.container-bottom > p {
  margin: 0;
}
/* Little window */
@media only screen and (min-width: 100px) and (max-width: 768px) {
  body {
    height: 100vh;
    margin: 0;
  }
  .container-menu {
    justify-content: center;
  }
  div.container-menu > h1.logo {
    padding-left: 0px;
  }
  /* Menu */
  header.menu {
    display: flex;
    height: 30vh;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
  }
  a.logo {
    font-size: 2rem;
    text-decoration: none;

  }
  header.menu > div.container-menu > a {
    margin: 0 1rem 0 1rem;
  }
  .content-middle {
    height: 50vh;
  }
  .carousel-slider {
    height: 50vh;
  }
  .carousel-inner {
    height: 50vh
  }
  .carousel-item > img{
    height: 50vh;
    object-fit: cover;
  }
  /* Footer */
  footer {
    display: flex;
    flex-direction: row-reverse;
    font-family: "Playfair Display", serif;
    color: #222;
    height: 10vh;
    justify-content: space-evenly;
    align-items: center;
    font-size: 1rem;
    text-align: center;
  }
  .container-menu > p {
    padding: 0 1rem;
  }
}
/* Middle window */
@media only screen and (min-width: 769px) and (max-width: 1000px) {
/* Menu */
header.menu {
  justify-content: space-between;
  align-items: center;
  height: 15vh;
}
a.logo {
  margin-bottom: 0;
  margin-left: 50px;
  text-decoration: none;
}
div.container-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  justify-items: center;
}
div.container-menu {
  justify-content: flex-end;
}
div.menu-item:nth-child(3) {
  margin-right: 50px;
}
/* Carousel */
.content-middle {
  display: flex;
  justify-content: center;
}
.carousel-slider {
  width: 100vw;
  justify-content: center;
}
/* Footer */
.content-middle {
  height: 75vh;
  align-items: center;
}
.container-bottom{
  padding-bottom: 15px;
}
}
/* Big window */
@media only screen and (min-width: 1001px) {
  /* Menu */
  header.menu {
    justify-content: space-between;
    align-items: center;
    height: 15vh;
  }
  a.logo {
    margin-bottom: 0;
    margin-left: 50px;
    text-decoration: none;
  }
  div.container-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    justify-items: center;
  }
  div.container-menu {
    justify-content: flex-end;
  }
  div.menu-item:nth-child(3) {
    margin-right: 50px;
  }
  /* Carousel */
  .content-middle {
    display: flex;
    justify-content: center;
  }
  .carousel-slider {
    width: 60vw;
    justify-content: center;
  }
  /* Footer */
  .content-middle {
    height: 75vh;
    align-items: center;
  }
  .container-bottom{
    padding-bottom: 15px;
  }
}
