@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:'Roboto';
  user-select: none;
}

body{
  background-color: #1EA2B6;
  background-image: url('Patern.jpg');
  background-repeat: repeat;
  background-size: 200px 200px;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  padding: 20px;
}

#Header{
  background-color: rgba(0, 0, 0, 0.8);
  max-width: 800px;
  min-width: 300px;
  width: 100%;
  height: 50px;
  border-radius: 25px;
  margin-bottom: 20px;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  flex-shrink: 0;
}

#Content{
  width: 95%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#Logo{
  color: #fffdf5;
  font-size: 30px;
  font-weight: bold;
  padding-left: 20px;
}

#Cards{
  color: #fffdf5;
  font-size: 20px;
  padding-right: 20px;
  height: 100%;
  
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
  gap: 20px;
}

.Card{
  position: relative;
  cursor: pointer;
  height: 100%;
  font-weight: normal;
  transition: font-weight 0.2s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}

.Card::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 3px;
  background: white;
  transition: width 0.25s ease;
}

.Card:hover::after{
  width: 100%;
}

.Card.active::after{
  width: 100%;
}

.Card.active{
  font-weight: bold;
}

.ImgContent{
  background-color: white;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 6px 16px rgba(0,0,0,0.25),
    0 2px 6px rgba(0,0,0,0.20);
}

.Img{
  width: 100%;
  aspect-ratio: 6 / 5;
  --LikeH: 100cqh;
  position: relative;
  overflow: hidden;
}

.Desc{
  width: 100%;
  display: flex;
  flex-direction: row;
}

.DescTxt{
  width: 80%;
  padding: 20px;
}

.ImgInsta{
  width: 20%;
  text-align: center;
  overflow: visible;
}

.ImgInsta img{
  z-index: 5;
  position: relative;
  margin: 10px 0 10px 0;
  width: 40%;
}

.Counter{
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px 5px 10px;
  border-radius: 25px;
}

.Title{
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px 5px 10px;
  border-radius: 25px;
  font-weight: bold;
}

.prev, .next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 10px;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.prev:hover, .next:hover{
  background-color: rgba(0,0,0,0.8);
}

.prev{
  left: 10px;
}
.next{
  right: 10px;
}

.ImgWrapper{
  position: relative;
  width: 100%;
  aspect-ratio: 6/5;
  overflow: hidden;
  touch-action: pan-y;
}

.ImgWrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.Counter, .Title{
  position: absolute;
  background-color: rgba(0,0,0,0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 25px;
  z-index: 5;
}

.Counter{
  top: 20px;
  right: 20px;
}

.Title{
  top: 20px;
  left: 20px;
}

.IGWrapper{
  background-color: #E1306C;
  color: white;
  padding: 5px 10px;
  border-radius: 25px;
  white-space: nowrap;
  font-weight: bold;
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
  transition: right 0.3s ease, opacity 0.3s ease;
}