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

body {
   font-family: 'Montserrat', sans-serif;
    background:000;
    /*background-image:url("imgs/bg.jpg");*/
    background-color: #000;
    line-height: 1.5;
}


/* HEADER */

.site-header {
    width: 100%;
    padding: 30px 60px;
}

.logo img {
    width: 219px;
    display: block;
    margin:0 auto;
}


/* HERO SECTION */

.container {width:100%;
    align-items: center;
    text-align: center;
    margin-bottom:30px;
     
    
    }

.hero {
    max-width: 1200px;
    width: 100%;
    min-height: 80vh;
text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    
margin:0 auto;
    padding: 20px;
}


/* LEFT SIDE */
.torre {margin-right: 0.5rem; display:none;}

.hero-text {
    flex: 1;
    display:flex;
    max-width: 500px;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.7rem;
    line-height: 0.9;
    margin-bottom: 5px;
    font-weight: 800; 
      color: #bbd631;
}

.hero-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.hero-text p {
    font-size: 1rem;
    max-width: 500px;
     color: #fff;
}


/* RIGHT SIDE VIDEO */

.hero-video {
    flex: 1;

    max-width: 660px;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    border-radius: 0px;
}

.hero-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* SELECTED WORKS */

.selected-works {
    padding: 0 60px 100px;
       margin:0 auto;
     text-align: center;
     display:none;
}

.selected-works h2 {
    font-size: 1.3rem;
  padding-bottom: 40px;
    padding-top:20px;
    color: #bbd631;
     font-weight: 400;
     margin:0 auto;
     text-align: center;
}


/* GRID */

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin:0 auto;
    max-width:1200px;
}


/* CARDS */

.work-card {
    display: block;
    text-decoration: none;
    color: inherit;

    width: 360px;
    height: 194px;
  

    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-8px);
}

.work-card img {
    width: 100%;
    height: 194px;
   
    display: block;
}

.work-info {
    padding-top: 18px;
}

.work-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
      color: #bbd631;
     font-weight: 400;
     margin:0 auto;
     text-align: center;
}

.work-info p {
    color: #666;
    font-size: 0.95rem;
}

.email{text-align: center; margin: 0 auto; color:#a3a3a3; padding-bottom: 20px; font-weight: 600; display:none}




.nerd-container{width:800px; margin:0 auto; color:white;}

.nerdotext {width:100%; position:relative}

.title-nerd{font-size:2rem; font-weight: 700;}
.subtitle-nerd{font-size:1.3rem; font-weight: 500;}

.nerdvideo {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin-top:30px;

  overflow: hidden;
}

.nerdvideo iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* RESPONSIVE */

@media (max-width: 1024px) {

    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-video {
        width: 100%;
        max-width: 100%;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {



  .hero {
    max-width: 768px;
    width: 100%;
    min-height: 80vh;
text-align: center;
    display: block;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
   
margin:0 auto;
    padding:0px;
    padding-top:15px;
    padding-bottom:15px
}


/* LEFT SIDE */
.torre {display:none;}

.hero-text {
    
    display:block;
   width:90%;
   margin:0 auto;
    text-align: center;
    margin-top:30px;
    
    
}

.hero-text h1 {
    font-size: 3.3rem;
    line-height: 0.9;
    margin-bottom: 7px;
    font-weight: 800; 
     
}

.hero-text h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 7px;
    
}

.hero-text p {
    font-size: 1rem;
    
     
}


/* RIGHT SIDE VIDEO */

.hero-video {
    flex: 1;

    max-width: 100%;
    aspect-ratio: 1 / 1;

    padding:0px;


    border-radius: 0px;
}

.hero-video iframe {
    width: 100%;
    height: 100%;
    border: none;
     padding:0px;
    margin:0px;
}





.work-card {
  Margin-top:50px;
}
.work-card:first-child {margin-top:0px;}
}