@charset "utf-8";
/* CSS Document */

body {
    background-color: #0A1F44; /* Dark Blue Background */
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #081832;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #d22626; /* Red Accent */
}

main {
    padding: 20px;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

video {
    width: 100%;
    border: 3px solid #d22626; /* Red Accent Border */
    border-radius: 5px;
}

button {
    background-color: #d22626; /* Red Accent */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #E62A2E;
}

footer {
    background-color: #081832;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.portfolio-button img {
    transition: border 0.3s ease-in-out;
}

.portfolio-button img:hover {
    border: 5px solid red;
}

#commercials-gallery {
    padding: 20px;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates 3 columns */
    grid-gap: 20px; /* Adds space between each video */
    justify-items: center; /* Center content inside each grid cell */
}

.video-item {
    text-align: center;
}

.video-item video {
    height: auto;
    max-width: 100%; /* Restricts the size of videos */
}

.video-item iframe {
  width: 820px;
  height: 461px;  /* Adjust height as needed */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.video-item p {
  text-align: center;
  color: white;
  margin-top: 10px;
}

.homepage-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px;
  flex-wrap: wrap;
}

.portrait {
  width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.intro-text {
  max-width: 500px;
  color: white;
}

.intro-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.intro-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}