* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
}

#container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

/* Hide the scrollbar */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

section {
    height: 100vh;
    scroll-snap-align: start;
}

#one {
    background-color: lightpink;
    position: fixed;
    top: 0;
    position: relative;
    height: 100vh;
}

#one-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

video { /* VIDEO NOT ADDED RIGHT NOW */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire container */
}

#nav-menu {
    height: 6em;
    background-color: black;
    position: relative;
    position: sticky;
    top: 0;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
}

#nav-menu a {
    color: white; 
    text-decoration: none;
    border: 1px solid white;
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

#nav-menu a:nth-child(1) {
    position: absolute;
    top: 19%;
    left: 2%;
}

#nav-menu a:nth-child(2) {
    position: absolute;
    top: 19%;
    right: 26%;
}

#nav-menu a:nth-child(3) {
    position: absolute;
    right: 15%;
    top: 19%;
}

#nav-menu a:nth-child(4) {
    position: absolute;
    right: 4%;
    top: 19%;
}

#nav-menu a:hover {
    color: lightgray; 
}

#me img {
    position: absolute;
    bottom: 0%;
    left: 0%;
    height: 50%;
    z-index: 1;
}

#scroll-menu {
    position: absolute;
    right: 0%;
    bottom: 7%;
    rotate: -90deg;
    font-size: 20px;
    z-index: 2;
}

#about-me h1 {
    font-size: 130px;
    position: absolute;
    left: 20%;
    top: 30%;
    z-index: 1;
}

#about-me h2 {
    font-size: 90px;
    position: absolute;
    left: 20%;
    top: 44%;
    z-index: 1;
}

#second {
    background-color: rgb(94, 207, 245);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#portfolio {
    height: 100%;
    max-width: 1200px;
    width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#menu-items h2 {
    position: absolute;
    top: 10%;
    margin-top: 0em;
    font-size: 60px;
}

#menu-items {
    width: 100%;
    height: 100%;
    display: flex;           
    justify-content: center; 
    align-items: center;
}

#menu-items a {
    margin: 0 20px;
    font-size: 40px;
    text-decoration: none;
    color: black;
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
}

#menu-items a:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: white;
}

#third {
    background-color: lightyellow;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#art-wall {
    max-width: 1200px;
    height: 80%;
    width: 1200px;
    justify-content: center;
    align-items: center;
    margin-bottom: 6em;
}

.grid-container {
  width: 100%; /* Fill the entire width of the #art-wall */
  height: 100%; /* Fill the entire height of the #art-wall */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px; /* Adjust gap between grid items if needed */
}

.grid-item {
  background-color: white;
  text-align: center;
}

#container4 {
    grid-row: span 2; /* Span 2 rows */
}

#container5 {
    grid-row: span 2; /* Span 2 rows */
    grid-column: span 2; /* Span 2 columns */
}

.grid-item img {
    width: 100%; 
    height: 100%; 
}

.grid-item img:hover {
    filter: contrast(150%);
}

/* ME */
#fourth {
    background-color: lightgreen;
    height: 100vh;
}

#four-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about-me p {
    font-size: 30px;
    text-align: center;
}

/* FOOTER */
footer {
    max-width: 1200px;
    height: 100px;
    color: white;
    font-size: 20px;
    padding: 20px;
    display: grid; 
    grid-template-columns: auto repeat(4, minmax(0, 1fr));
    align-items: center;
    margin: 0 auto;
}

.left-box {
    grid-column: 1 / 2;
    height: 100%;
}

.right-box {
    display: flex;
    justify-content: flex-end;
    grid-column: 2 / -1;
    height: 100%;
}

.left-box a {
    margin-left: 10px;
    color: white;
    text-decoration: none;
    font-size: 30px;
    line-height: 2em;
}

.right-box a {
    margin-left: 10px;
    color: white;
    text-decoration: none;
}

.image-box img {
    max-width: 100px; 
    max-height: 100px; 
    object-fit: contain;
}


/* SMALLER DEVICES */
@media (max-width: 900px) {
    #about-me h1 {
        font-size: 60px;
        position: absolute;
        left: 15%;
        top: 20%;
    }
    
    #about-me h2 {
        font-size: 40px;
        position: absolute;
        left: 16%;
        top: 30%;
    }
}