* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Mina", sans-serif;
}

p {
    font-family: "Inconsolata", monospace;
}

header {
    position: relative;
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('your-image.jpg') center/cover no-repeat;
    padding: 20px;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

header p {
    font-size: 1.5rem;
    font-weight: 400;
}

/* INTRO */
#intro {
    background-color: #1C1C1C;
    color: #fff;
    padding: 60px 20px;
    min-height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    flex-direction: column;
    gap: 10px;
}

#intro p {
    max-width: 400px;
    font-size: 1.5rem;
    line-height: 1.6;
}

/* TYPES */
#types {
    background-color: #fff;
}

#types h2 {
    background-color: #404040;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    margin: 0 0 30px 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

#types h3 {
    color: #6FA3A3;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 32px 0 16px 0; 
    line-height: 1.3;
    padding: 0 32px;
}

#types p {
    color: #1C1C1C;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 0 28px 0; 
    padding: 0 32px; 
}

.video-container {
  width: calc(100% - 64px); 
  max-width: 520px; 
  margin: 24px auto;
  position: relative;
}

.video-container::before {
  content: "";
  display: block;
  padding-top: 56.25%; 
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* SOFTWARES */
#softwares {
  background-color: #404040;
  padding-bottom: 60px;
}

#softwares h2 {
  background-color: #1C1C1C;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
  font-size: 3rem;
}

.software-item {
  display: grid;
  grid-template-columns: auto 1fr; 
  gap: 40px; 
  padding: 0 32px;
  margin-bottom: 40px;
  align-items: center; 
}

.software-item img {
  width: 96px;
  transition: transform 0.25s ease; 
}

.software-item img:hover {
  transform: scale(1.05); 
}

.software-text h3 {
  color: #6FA3A3;
  font-size: 1.6rem;
  margin-bottom: 6px;
  text-align: left;
}

.software-text p {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
}

/* PROJECTS */
#projects {
  background-color: #1C1C1C;
  padding-bottom: 60px;
}

#projects h2 {
  background-color: #fff;
  color: #1C1C1C;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
  font-size: 3rem;
}

#projects h3 {
  color: #6FA3A3;
  font-size: 1.6rem;
  margin-bottom: 16px;
  padding: 0 32px;
  text-align: left;
}

#projects video {
  display: block;
  width: calc(100% - 64px); 
  max-width: 600px;
  margin: 0 auto 40px auto;
  border-radius: 6px;
  transition: transform 0.25s ease; 
}

#projects video:hover {
  transform: scale(1.03); 
}

/* FOOTER */
footer {
    background-color: #1C1C1C;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}   

/* DESKTOP */
@media (min-width: 1024px) {

  /* BODY */
  body {
    padding: 0;
  }

  /* HEADER */
  header {
    height: 70vh; /* taller header */
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  header h1 {
    font-size: 5rem; /* bigger text */
    margin-bottom: 20px;
  }

  header p {
    font-size: 2.5rem;
  }

  /* INTRO */
  #intro {
    padding: 100px 80px;
  }

  #intro p {
    max-width: 700px;
    font-size: 2rem;
  }

   /* TYPES SECTION */
   
  #types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 64px;    
    align-items: center;
    margin: 0 auto;
  }

  #types h2 {
    grid-column: 1 / -1;      
    background-color: #404040; 
    color: white;
    padding: 80px 0;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
  }

  /* VIDEO */
  .video-container {
    max-width: 600px;
    margin: 0;
  }

  /* TEXT BESIDE VIDEO */
  #types .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center; 
  }

  #types h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    text-align: left;
  }

  #types p {
    font-size: 1.5rem;
    line-height: 1.8;
    text-align: left;
  }
}

  /* SOFTWARES */
  #softwares {
    background-color: #404040;
  }

  #softwares h2 {
    padding: 120px 80px; /* bigger padding */
    font-size: 4.5rem;
    text-align: center;
  }

  .software-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px; /* bigger gap for bigger image */
    padding: 0 80px;
    align-items: center;
    margin-bottom: 60px;
  }

  .software-item img {
    width: 150px; /* bigger images */
    transition: transform 0.25s ease;
  }

  .software-item img:hover {
    transform: scale(1.05);
  }

  .software-text h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }

  .software-text p {
    font-size: 1.4rem;
  }

  /* PROJECTS */
  #projects {
    background-color: #1C1C1C;
    display: flex;
    flex-direction: column;
    align-items: center; /* center everything */
    padding-bottom: 80px;
  }

  #projects h2 {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 60px;
    padding: 120px 80px; /* bigger padding */
    background-color: white;
    color: #1C1C1C;
    width: 100%;
  }

  #projects h3 {
    font-size: 2rem;
    text-align: center; /* center project titles */
    margin-bottom: 20px;
  }

  #projects video {
    width: 80%; /* scale video */
    max-width: 800px;
    margin-bottom: 60px;
    border-radius: 6px;
    transition: transform 0.25s ease;
  }

  #projects video:hover {
    transform: scale(1.03);
  }

  /* FOOTER */
  footer {
    padding: 40px 80px;
    font-size: 1rem;
  }



