:root {
  --main-white: #f0f0f0;
  --main-red: #be3144;
  --main-blue: #45567d;
  --main-gray: #303841;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

@media (max-width: 75em) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 61.25em) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 28.75em) {
  html {
    font-size: 55%;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--main-white);
}

h1,
h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  text-align: center;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 4.2rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--main-white);
}



.nav {
  display: flex;
  justify-content: space-between;

  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--main-red);
  padding: 0 2rem;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.nav-logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 0;
}

.nav-list a {
  display: block;
  font-size: 2.2rem;
  padding: 2rem;
}

.nav-list a:hover {
  background: var(--main-blue);
}


@media (max-width: 28.75em) {
  .nav {
    justify-content: space-between;
    padding: 0 1rem;
  }
}



.welcome-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: #000;
  background-image: linear-gradient(62deg, #3a3d40 0%, #181719 100%);
}

.welcome-section>p {
  font-size: 3rem;
  font-weight: 200;
  font-style: italic;
  color: var(--main-red);
  text-align: center;
  margin: 1rem 2rem;
}



.projects-section {
  text-align: center;
  padding: 10rem 2rem;
  background: var(--main-blue);
}

.projects-section-header {
  max-width: 640px;
  margin: 0 auto 6rem auto;
  border-bottom: 0.2rem solid var(--main-white);
  font-size: 4.2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 6rem;
  width: 100%;
}

.project {
  background: var(--main-gray);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 0.5rem;
  overflow: hidden;
}

.thumbnail-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: transform 0.3s ease;
}

.thumbnail-img:hover {
  transform: scale(1.03);
}

.project-title {
  font-size: 2rem;
  padding: 2rem 1rem;
}



.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 80vh;
  padding: 0 2rem;
  background: var(--main-gray);
}

.contact-section-header>h2 {
  font-size: 6rem;
}

@media (max-width: 28.75em) {
  .contact-section-header>h2 {
    font-size: 4rem;
  }
}

.contact-section-header>p {
  font-style: italic;
}

.contact-links {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.contact-details {
  font-size: 2.4rem;
  text-shadow: 2px 2px 1px #1f1f1f;
  transition: transform 0.3s ease-out;
}

.contact-details:hover {
  transform: translateY(8px);
}



footer {
  font-weight: 300;
  display: flex;
  justify-content: space-evenly;
  padding: 2rem;
  background: var(--main-gray);
  border-top: 4px solid var(--main-red);
}

footer>p {
  margin: 2rem;
}

@media (max-width: 28.75em) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}


.logos-section {
  text-align: center;
  padding: 10rem 2rem;
  background: #1e2a3a;
}

.logos-section-header {
  font-size: 4.2rem;
  margin-bottom: 6rem;
  border-bottom: 0.2rem solid var(--main-white);
  display: inline-block;
  padding-bottom: 1rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

@media (max-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.logo-item {
  background: var(--main-gray);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}


.shorts-section {
  padding: 10rem 2rem;
  background: var(--main-blue);
  text-align: center;
}

.shorts-section-header {
  font-size: 4.2rem;
  margin-bottom: 6rem;
  border-bottom: 0.2rem solid var(--main-white);
  display: inline-block;
  padding-bottom: 1rem;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.short-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}


.posters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .posters-grid {
    grid-template-columns: 1fr;
  }
}

.contact-links .btn {
  margin: 10px;
  display: inline-block;
}

.welcome-subtext {
  font-size: 1.4rem !important;

  font-weight: 300 !important;
  font-style: normal !important;

  color: #ffffff !important;
  text-align: center;
  max-width: 800px;
  margin-top: 1rem;
  line-height: 1.5;
  padding: 0 1rem;
}

@media (max-width: 480px) {
  .nav-list {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-list a {
    font-size: 1.6rem;
    padding: 1.2rem 0.8rem;
  }
}

.nav-logo img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  margin-top: 6px;
}