@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f2ecd8;
  background-image: url(https://gravity.blue/wp-content/uploads/2021/10/squiggly-line.svg);
  background-repeat: no-repeat;
  background-position: center;
}

a,
button {
  color: #4fc08d;
}

main {
  width: min(980px, 85%);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: min(20vh, 5em);
}

main .header {
  margin-bottom: 55px;
}

@media screen and (max-width: 600px) {
  main .header {
    margin-bottom: 70px !important;
  }
}

main .header h1 {
  font-weight: 800;
  font-size: 3rem;
  margin: 5px -5px 15px;
  color: #4e6663;
}

main .header span {
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: #23aae1;
}

main .header p {
  max-width: min(40ch, 100% - 2rem);
  line-height: 1.6;
  color: #4e6663;
}

main .item {
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

main .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

main .item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 28px 25px;
  color: #fff;
  background: #020024;
  background: linear-gradient(0deg, #020024 0%, #000032a1 3%, #17d9ff00 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

main .item .overlay span {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 60px;
  padding: 10px 20px;
  display: inline-block;
  font-size: 0.8rem;
}

main .item .overlay > div h2 {
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  font-size: 1.3rem;
}

main .item .overlay > div p {
  font-size: 13px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: var(--text-frase);
  transition: all 0.3s ease;
}

.owl-nav {
  position: absolute;
  top: -100px;
  right: 0;
}

@media screen and (max-width: 600px) {
  .owl-nav {
    top: -60px !important;
  }
}

.owl-nav button {
  background: #23aae1 !important;
  color: #f2ecd8 !important;
  width: 45px;
  height: 45px;
  font-size: 25px !important;
  box-shadow: 0px 0px 17px #00000005;
  border-radius: 50%;
}

.owl-nav button:nth-of-type(1) {
  margin-right: 13px;
}

.owl-next:not([disabled]):hover,
.owl-prev:not([disabled]):hover {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
    rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  transition: 0.3s ease-in-out;
}

.details {
  background: #23aae1;
  border: 0;
  width: 150px;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  outline: transparent;
  padding: 0 1rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 0.2s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.details:not([disabled]):hover {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
    rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
  transition: 0.3s ease-in-out;
}
