@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap");

:root {
  --bgHeader: #404548;
  --linkColorUnder: rgba(249, 206, 87, 1);
  --secondaryColor: #fff;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Comfortaa", sans-serif;
}

.no-scroll {
  overflow: hidden;
}

#back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  display: none;
  width: 40px;
  height: 40px;
  background-color: var(--bgHeader);
  text-align: center;
  color: var(--secondaryColor);
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 6;
}

#back-to-top:hover {
  background-color: var(--linkColorUnder);
  color: #000;
}

img.left {
  position: relative;
  float: left;
  margin: 0em 1.8em 1.4em 0em;
}

img.right {
  position: relative;
  float: right;
  margin: 0em 0em 1.8em 1.8em;
}

/* 
 Carousel auto
 */

.slideshow {
  max-width: 600px;
  margin: auto;
  position: relative;
  display: grid;
  place-items: center;
}

.slide {
  display: none;
  background-color: white;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: slideshow 4s infinite;
  p {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
  }
  img {
    height: 100%;
    width: 100%;
  }
}

@keyframes slideshow {
  0% {
    opacity: 0.75;
  }
  100% {
    opacity: 1;
  }
}
