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

body,html{
    scroll-behavior: smooth;
    font-family: montserrat;
    overflow-x: hidden;
    background: linear-gradient(-45deg, rgb(19,82,245), white, rgb(19,82,245));
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
  
/* ********************************************************************* */
#projects{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: auto;
  padding:0 0 50px 0;
  /* background-color: purple; */
}
.projects-texts{
  margin-top: 25vh;
  display: flex;
  flex-direction: column;
  height: auto;
  width: 55vw;
  align-items: center;
  justify-content: center;
  padding: 30px;
  /* background-color: grey;   */
}

 
.projects-texts h1{
  font-size: 35px;
  font-weight: 800;
  color: rgb(19,82,245);
  text-align: center;   
}

.projects-texts p{
  text-align: center;
  padding-top: 10px;
  font-size: 18px;
  color: rgb(19,82,245);
}

/* ************************************************************** */
.projects-section {
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: auto;
  /* background-color: red; */
}

  .project-grid {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: auto;
    /* background-color: yellow; */
  }

  .project-card {
    margin: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s ease;
  }

  .project-card:hover {
    transform: scale(1.05);
  }

  .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .project-content {
    padding: 20px;
  }

  .project-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .project-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
  }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
    z-index: 10000;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .modal-content {
    width: 65%;
    height: 90%;
    position: relative;
    animation: slideUp 0.4s ease-out;
  }

  @keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  .modal-content img{
    width: 100%;
    height: 100%;
  }

  .close-btn {
    position: absolute;
    top: 15px; right: 15px;
    font-size: 50px;
    font-weight: bolder;
    cursor: pointer;
    color: blue;
  }

  .close-btn:hover {
    color: #000;
  }


  /* PROJECTS VIDEO SECTION  */
  .projects-vid{
    margin-top: 30px;
    gap: 20px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width:100vw;
    height: auto;
    align-items: center;
    justify-content:center;
    /* pointer-events: none; */
    /* background-color:rebeccapurple;   */
}
.vid-cover{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45%;
  height: 50%;
  /* gap: 20px; */
  /* background-color: #f1c40f;    */
}
