* {
  
    text-decoration: none;
    
  }

  .navbar {
    font-family: calibri;
    padding-right: 10px;
    padding-left: 10px;
    margin: 25px;
    border-radius: 30px;
    box-shadow: 16px 16px 31px -11px black;

  }

  .navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo_1 img {
    height: 50px;
    /* Adjust height as per your logo */
    vertical-align: middle;
    border-radius: 50%;
    text-align: left;
  }

  .logo a {
    font-size: 35px;
    font-family: "Cardo", cursive;
    font-weight: 600;
    color: white;
    margin-left: 25px;
  }

  li {
    list-style: none;
    display: inline-block;
  }

  li a {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-right: 25px;
  }

  .nav {
    text-align: right;
    margin-left: auto;
  }

  button {
    background-color: black;
    margin-left: 10px;
    border-radius: 35px;
    padding: 10px;
    width: 90px;
  }

  button a {
    color: white;
    font-weight: bold;
    font-size: 15px;
  }

  @import url('https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap');

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    width: 100%;
    height: 100vh;
    font-family: 'DM-sans', sans-serif;
    background-color: #6c7373;
  }

  .header {
    font-size: 24px;
    text-align: center;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    border-radius: 4px;
    margin: 0 auto;
    padding: 0px 0;
  }

  .content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
    padding: 0 30px;
  }

  .wrapper {
    width: 33.3%;
    height: 100%;
    padding: 10px;
  }

  .name {
    position: relative;
    font-size: 16px;
    display: inline-block;

    &:after {
      content: '';
      position: absolute;
      width: calc(100% + 10px);
      height: 1px;
      background-color: #000;
      bottom: -4px;
      left: 0;
    }
  }

  .box {
    position: relative;
    max-height: 300px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
      0 1.4px 1.7px rgba(0, 0, 0, 0.017),
      0 3.3px 4px rgba(0, 0, 0, 0.024),
      0 6.3px 7.5px rgba(0, 0, 0, 0.03),
      0 11.2px 13.4px rgba(0, 0, 0, 0.036),
      0 20.9px 25.1px rgba(0, 0, 0, 0.043),
      0 50px 60px rgba(0, 0, 0, 0.06);

    .hide {
      opacity: 0;
    }

    .frame {
      position: absolute;
      border: 1px solid #fff;
      z-index: 2;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    h2,
    p {
      position: absolute;
      color: #fff;
      z-index: 2;
      width: 100%;
      transition: opacity 0.2s, transform 0.3s;
    }

    h2 {
      font-weight: 500;
      font-size: 22px;
      margin-bottom: 0;
      letter-spacing: 1px;
    }

    p {
      bottom: 0;
      font-size: 14px;
      letter-spacing: 1px;
    }

    &:hover {
      transition: all .3s ease-in-out;
    }

    &:hover:before {
      transition: all .3s ease-in-out;
    }

    img {
      position: relative;
      width: 100%;
      height: 100%;
      z-index: 1;
      transition: all .3s ease-in-out;

      &:hover {
        transition: all .3s ease-in-out;
      }

      &:after {
        content: '';
        position: absolute;
        background-color: rgba(0, 0, 0, .6);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
      }

      &:hover {
        transition: all .3s ease-in-out;
      }
    }
  }

  .zoom-in {
    h2 {
      top: 50%;
      transform: translatey(-50%);
      text-align: center;
      margin: 0;
    }

    p {
      text-align: center;
      top: calc(50% + 40px);
      transition: all .3s ease;
      transform: scale(1.8);
      opacity: 0;
    }

    &:hover {
      img {
        transform: scale(1.1);
        filter: grayscale(100%);
      }

      p {
        transform: scale(1);
        transition: all .3s ease;
        opacity: 1;
      }
    }
  }

  .w-content {
    .frame {
      width: calc(100% - 100px);
      height: calc(100% - 100px);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border-color: transparent;
    }

    h2 {
      margin-top: 0;
      top: 50%;
      transform: translatey(-50%);
      text-align: center;
      letter-spacing: 1px;
    }

    p {
      transform: translate3d(0, -10px, 0);
    }

    &:hover {
      .frame {
        border-color: #fff;
        transition: color .3s ease-in-out, all .3s ease-in-out;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
      }

      opacity: .8;
    }
  }

  .postcard {
    h2 {
      top: 50%;
      text-align: left;
      transform: translate3d(50px, 20px, 0);
    }

    p {
      transform: translate3d(40px, 60px, 0);
      font-size: 24px;
      letter-spacing: 1px;
    }

    &:hover {
      h2 {
        transform: translate3d(20px, 20px, 0);
      }

      p {
        opacity: 1;
      }

      img {
        filter: opacity(0.7);
        transform: translate3d(-30px, 0, 0);
      }
    }
  }

  .blury-card {
    .frame {
      width: calc(100% - 40px);
      height: calc(100% - 40px);
      opacity: 0;
      transition: all .3s ease-in-out
    }

    h2,
    p {
      text-align: center;
      top: 50%;
      transform: translatey(-50%);
      margin: 0;
      z-index: 3;
    }

    p {
      transform: translatey(30px);
      letter-spacing: 3px;
    }

    span {
      font-size: 24px;
    }

    &:before {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background: #008E6B;
      z-index: 1;
      left: 0;
      opacity: 0;
      transition: all .3s ease-in-out;
    }

    img {
      z-index: 2;
    }

    &:hover {
      .frame {
        width: calc(100% - 120px);
        height: calc(100% - 120px);
        opacity: 1;
      }

      img {
        opacity: .7;
      }

      &:before {
        opacity: 1;
        transition: all .3s ease-in-out;
      }
    }
  }

  .vintage {
    h2 {
      top: 50%;
      transform: translate3d(0, 60px, 0);
      text-align: center;
    }

    p {
      opacity: 0;
      bottom: 0;
      transform: translate3d(0, -10px, 0);
      font-size: 14px;
      letter-spacing: 1px;
      text-align: center;
    }

    &:before {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(72, 76, 97, 0) 0%, rgba(72, 76, 97, 0.8) 75%);
      z-index: 2;
      bottom: -100%;
      left: 0;
    }

    &:hover:before {
      bottom: 0;
    }

    &:hover {
      h2 {
        bottom: 40px;
        transform: translate3d(0, 20px, 0);
      }

      p {
        opacity: 1;
        transform: translate3d(0, -30px, 0);
      }
    }
  }

  .zoom-out {
    .frame {
      width: calc(100% - 100px);
      height: calc(100% - 100px);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: calc(100% - 40px);
      height: calc(100% - 40px);
    }

    h2 {
      font-size: 20px;
      font-weight: 300;
      margin-left: 10px;
      letter-spacing: 1px;
    }

    span {
      font-size: 24px;
      font-weight: 500;
    }

    p {
      max-width: 120px;
      text-align: right;
      margin: 10px;
      right: 0;
    }

    img {
      transform: scale(1.1);
    }

    &:hover img {
      transform: scale(1);
      filter: contrast(70%);
    }
  }

  @media screen and (max-width: 880px) {
    .wrapper {
      width: 50%;
    }
  }

  @media screen and (max-width: 520px) {
    .wrapper {
      width: 100%;
    }
  }


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

  .body {
    width: 100vw;
    height: 100vh;
    background: #4b4f54;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .container-state {
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 127px;
    margin-right: 55px;
  }

  .card {
    width: 441px;
    height: 164px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-left: 80px;
  }

  .card img {
    width: 100%;
    border-radius: 27px;
    transition: all 0.4s ease;
    z-index: 0;
  }

  .infos {
    width: 90%;
    background: #fff;
    position: absolute;
    top: 126px;
    border-radius: 5px;
    padding: 20px;
    transition: all 0.4s ease;
    z-index: 1;
  }

  .infos:hover {
    transform: translate(0, -10px);
  }

  .infos:hover~img {
    transform: translate(0, 10px);
  }

  .text {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
    pointer-events: none;
  }

  .date {
    font-size: 0.7rem;
    color: #e88f87;
    pointer-events: none;
  }
  

  html {
  height:100%;
}

body {
  margin:0;
}

.bg {
  animation:slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #6c3 50%, #09f 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 {
  animation-direction:alternate-reverse;
  animation-duration:4s;
}

.bg3 {
  animation-duration:5s;
}

.content {
  background-color:rgba(255,255,255,.8);
  border-radius:.25em;
  box-shadow:0 0 .25em rgba(0,0,0,.25);
  box-sizing:border-box;
  padding:10vmin;
  text-align:center;
}

h1 {
  font-family:monospace;
}

@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}


/* 
login page */

.container {
  width: 100%;
  background-color: white;
  box-shadow: 0 0 16px 0 rgba(0,0,0,0.2);
  border-radius: 5px;
}

.container form {
  width: 100%;
}

.container label {
  display: block;
  margin-bottom: 8px;
}

.container input[type=text], .container input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.container button {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.container button:hover {
  opacity: 0.8;
}

@media screen and (max-width: 600px) {
  .container {
    width: 80%;
    margin: 0 auto;
  }
}

.mail{
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}


.btn{
  width: 35%;
  background-color: #4CAF50;
  color: white;
  padding: 13px 11px;
  margin: 6px 0;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-size: 16px;
}
#about {
text-align: center;
padding: 40px 20px;
margin-top: 130px;
background-color: #ffffffb3;
}

#about .about-logo {
width: 71px;
height: auto;
margin-bottom: 20px;
}

#about .about-text {
font-size: 1.1em;
color: #333;
line-height: 1.6;
margin-bottom: 20px;
}

#about .social-icons {
display: flex;
justify-content: center;
gap: 15px;
}

#about .social-icons a img {
width: 30px; 
height: auto;
transition: transform 0.3s;
}

#about .social-icons a img:hover {
transform: scale(1.2);
}

#contact {
text-align: center;
padding: 40px 20px;
background-color: #f9f9f9;
margin-top: 20px;
}

#contact h2 {
font-size: 2em;
margin-bottom: 20px;
}

#contact p {
font-size: 1.1em;
color: #333;
line-height: 1.6;
}

footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px 0;
}

.join-button {
background-color: #c11c8b;
border: none;
border-radius: 50px;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10px 0;
cursor: pointer;
}

.form-container {
display: none;
margin-top: 20px;
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
display: block;
margin-bottom: 8px;
}

form input[type="text"],
form input[type="email"] {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border-radius: 4px;
border: 1px solid #ccc;
}

form button {
background-color: #c11c8b;
color: white;
border: none;
border-radius: 50px;
padding: 10px 20px;
cursor: pointer;
}

form button:hover {
background-color: #a01c7b;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px 0;
}

