:root{
--text-colour: #1a1c20;
    --link-color: #4a76ee;
    --background-color: #eeeff1;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif; 
    background-color: var(--background-colour);
}

a{
    color: var(--link-color);
    text-decoration: none;
}

.h1{
    text-align: center;
    margin: 1%
}

.para{
text-align: center;
  margin-bottom: 5px;
}

.big{
  font-size: 50px;
    margin-top: 3%;
  margin-bottom: 3%;
}

.small{
  font-size: 30px;
  font-weight: 400;
}


/* NAVBAR */
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
}

nav .left a{
    color: var(--text-color);
    font-size: 30px;
    font-weight: 600;
}

nav .right a{
    color: var(--text-color);
margin: 0 10px;
}

nav .left a:last-child{
    color: var(--background colour);
    background-color: var(--text-color);
    padding: 5px 15px;
    border-radius: 5px;
}

nav .right a span {
    margin-left: 5px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.project-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.essay {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.essay .project-item {
  width: 100%;
  max-width: 560px; /* same width as your grid videos */
}

.essay .project-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.tears {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.tears .project-item {
  width: 100%;
  max-width: 560px; /* same width as your grid videos */
}

.tears .project-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}


@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
    
    .essay .project-item {
  width: 100%;
  max-width: 1200px;
}
 
     .tears .project-item {
  width: 100%;
  max-width: 1200px;
}
    
}@media (max-width: 900px) {
  
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-item:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
    
      .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
   .bottom-images-container {
    grid-template-columns: 1fr;
    margin-left: 8%;
     margin-right: 8%;
}
  
  .para{
font-size: 13px;
}

.big{
  font-size: 25px;
  margin-bottom: 2%;
}

.small{
  font-size: 18px;
  font-weight: 400;
}
   
}

@media (max-width: 900px) {
  
  .para{
font-size: 13px;
}

.big{
  font-size: 25px;
  margin-bottom: 2%;
}

.small{
  font-size: 18px;
  font-weight: 400;
}
   
}

@media (max-width: 860px) {
  
   nav .right a {
       font-size: 22px;
    }
    
    nav .right a:last-child{
        color: var(--text-color);
        background-color: transparent;
        padding: 0;
    }
    
    nav .right a span{
        display: none;
    }  
}

@media (max-width: 650px) {
    
        nav .left a {
       font-size: 15px;
    }
  
  nav .right a{
    font-size: 15px
  }
    }

@media (max-width: 480px) {
  
     nav .left a {
       font-size: 12px;
       margin-right: auto;
    }
  
  nav .right a{
  margin-left: auto;
  }
  
    }