: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-bottom: 2%;
}

.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-container {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 900px;   /* optional */
  margin: 0 auto;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.video-container {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px auto;  /* adds 40px margin at the bottom */
  position: relative;
}
.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: none;
}

.project-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-grid {
    display: grid;
    gap: 40px;
    justify-content: center;
    margin-bottom: 60px;
    grid-template-columns: repeat(2, 1fr);
    margin-left: 40px;
    margin-right: 40px;
}

.grid {
    display: grid;
    gap: 40px;
    justify-content: center;
    grid-template-columns: repeat(1, 1fr);
    margin-left: 20%;
    margin-right: 20%;
}

.barnone-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.barnone-crowd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.merch{
      width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.merch img{
      width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

@media (max-width: 900px){
    
 .projects-grid {
    grid-template-columns: repeat(1, 1fr);
    margin-left: 5%;
    margin-right: 5%;
}

.grid {
    display: grid;
    gap: 40px;
    justify-content: center;
    grid-template-columns: repeat(1, 1fr);
    margin-left: 20%;
    margin-right: 20%;
}   
    
}

@media (max-width: 768px) {
    
       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;
    }  
    
    .projects-grid {
  
  gap: 10px;
 grid-template-columns: repeat(1, 1fr);
  margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.projects-grid-port {
  gap: 10px;
  margin: 0 10px 10px;
  grid-template-columns: repeat(2, 1fr);
}
    
    .h1{
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .para{
font-size: 13px;
}

.big{
  font-size: 25px;
  margin-bottom: 2%;
}

.small{
  font-size: 18px;
  font-weight: 400;
}
    
}

@media (max-width: 610px) {
    
   nav .right a {
    font-size: 18px;}
  
  nav .left a {
    font-size: 18px;
  }
     
}

@media (max-width: 480px) {
    
   nav .right a {
    font-size: 15px;}
  
  nav .left a {
    font-size: 15px;
  }
    
}

