@import "https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url(../img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  position: relative;
  width: 400px;
  height: 400px;

  .thum {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;

    li {
      list-style: none;
      width: 100px;
      height: 100px;
      margin: 10px 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(255, 255, 255, 0.2);
      box-shadow: 0 15px 25px rgba(0, 0, 0, 0.05);
      border-radius: 20px;
      -webkit-backdrop-filter: blur(4px);
      backdrop-filter: blur(4px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-top: 1px solid rgba(255, 255, 255, 0.5);
      border-left: 1px solid rgba(255, 255, 255, 0.5);

      img {
        width: 80%;
        transition: 0.5s;

        &:hover {
          transform: rotate(-35deg);
        }
      }
    }
  }

  .imgBox {
    position: absolute;
    top: 0;
    right: 0;
    padding: 60px 20px;
    width: 350px;
    height: 100%;
    padding-left: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);

    h2 {
      color: #fff;
      letter-spacing: 1px;
    }

    img {
      width: 80%;
      transition: 0.25s;

      &:hover {
        transform: scale(1.2) translateX(20px) rotate(-15deg);
      }
    }
  }

  .size {
    display: flex;
    justify-content: center;
    align-items: center;

    span {
      color: #fff;
      font-size: 1.2em;
      letter-spacing: 1px;
      margin-right: 5px;
    }

    li {
      list-style: none;
      width: 30px;
      height: 30px;
      background: #fff;
      color: #1e6b7b;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 5px;
      border-radius: 4px;
      font-weight: 700;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: 0.25s;
      &:hover {
        transform: translateY(-10px);
      }
    }
  }

  .btn {
    position: absolute;
    bottom: -30px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    padding: 15px 30px;
    font-weight: 500;
    color: #1e6b7b;
    transition: 0.1s;
    
    &:hover {
      letter-spacing: 2px;
    }
  }
}
