@font-face {
    font-family: WorkSans;
    src: url(/fonts/Work_Sans/WorkSans-Medium.ttf);
}

@font-face {
    font-family: Noah;
    src: url(/fonts/Noah/Noah\ Text\ Heavy.otf);
}

@font-face {
    font-family: AcuminVarThin;
    src: url(/fonts/AcuminVariableConcept.otf);
}

* {
    box-sizing: border-box;
  }

body {
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    min-width: 900px;
    max-width: 2000px; 
    margin: 0;
    background-color: #0e1111;
}

/* Header Section */

header {
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    display: flex;
}

header img {
    display: flex;
    width: 20%;
    margin: 1em;
    animation: appear 1s;
    animation-timing-function: ease-in-out;
}

/* Navbar Section */

nav {
    margin-top: auto;
    margin-bottom: auto;
    animation: appear 1s;
    animation-timing-function: ease-in-out;
    font-family: AcuminVarThin;
    
}

nav li {
    display: inline;
    margin: 3em;
    font-size: 11px;
}

nav li a {
    text-decoration: none;
    color: #FFFFFF;
}

nav li a:hover {
    color: #858585;
}

/* Homepage Section */

.homepage-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.homepage-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.homepage-video header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

#myVideo {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
}

.homepage-content {
  position: absolute;
  color: #FFFFFF;
  top: 65%;
  padding: 4em;
  text-align: center;
}

.homepage-content h1 {
    font-size: 4em;
    text-align: left;
     animation: appear 1s;
    animation-timing-function: ease-in-out;
    font-family: AcuminVarThin;
}

/* About Section */

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-top: 2em;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 70%;
    animation-timing-function: ease-in-out;
    font-family: AcuminVarThin;
}

.about-text p {
padding-top: 2em;
margin-left: 2em;
}

.about-image img {
    max-width: 100%;
    width: 100%;
    max-height: 200px;
    display: block;
}

.about-text {
    padding-top: 1em;
    flex: 1; /* Takes up more space */
    color: white;
    font-weight: bolder;
    font-size: 16px;
}

/* Image Grid Section */

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 40px 20px;
    max-width: auto;
    margin: 0 auto;
    margin: 3em;
    animation: appear 1s;
    animation-timing-function: ease-in-out;
}

.image-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
    animation-timing-function: ease-in-out;
}

.image-grid-1 {
    display: grid;
    grid-template-columns: 1fr; /* One column */
    gap: 15px;
    padding: 3em;
    max-width: 100%; /* Or specify a fixed width if desired */
    margin: 3em; /* Centered horizontally with 3em margin vertically */
    
}

.image-grid-1 img {
    width: 100%;
    height: auto;
    display: block;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
    animation-timing-function: ease-in-out;
}
  
.hover-tile {
    transition: 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.hover-tile p {
    color: white;
    font-weight: bolder;
    font-size: 16px;
    font-family: AcuminVarThin;
}

.container {
    position: relative;
    width: 100%;
}
  
.container .tile-image {
    opacity: 1;
    transition: 0.3s ease;
    backface-visibility: hidden;
}

.container:hover .tile-image {
    opacity: 0.3;
}
  
.container:hover .hover-tile {
    opacity: 1;
}

.about-us-content {
    padding: 20em;
    padding-top: 0;
    animation: appear 1s;
    animation-timing-function: ease-in-out;
    font-family: AcuminVarThin;
    letter-spacing: 0.2rem;
}

.about-us-content h1 {
    color: #FFFFFF;
    font-size: 4em;
    text-align: center;
}

.about-us-content p {
    color: #FFFFFF;
    font-size: 25px;
}

.about-us-content img {
    max-width: 100%;
}

form {
  background: rgba(255, 255, 255, 0.05);
  max-width: 600px;
  margin: 0 auto;
  padding: 3em;    
  color: #FFFFFF;
  font-family: AcuminVarThin;
}

form input, datalist, textarea {
    margin-bottom: 1em;
    font-size: 22px;
    width: 100%;
}

textarea {
    width: 100%;
}

/* Footer Section */

footer {
    color: #5f5f5f;
    text-align: center;
    padding-bottom: 2em;
    font-family: AcuminVarThin;

}

/* Keyframes */

@keyframes appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Media Queries */

/* Smartphone */

@media (max-width: 480px) {
    .homepage-content h1 {
        font-size: 4em;
        padding-top: 2em;
    }    

    .homepage-content {
        top: 50%;
      }
      
    .about-text {
        font-size: 17px;
    }

    .about-us-content {
        padding: 3em;
        padding-top: 0;
    }
}

/* Tablets */

@media (min-width: 600px) {
    .homepage-content {
        top: 65%;
      }

    .about-us-content {
        padding: 3em;
        padding-top: 0;
    }    

}

/* Desktop */

@media (min-width: 1024px) {
    .homepage-content h1 {
        font-size: 7em;
        text-align: left;

    }
    
    nav {
        margin-top: auto;
        margin-bottom: auto;
        padding-left: 40%;
    }
    
    nav li {
        display: inline;
        margin: 3em;
        font-size: 14px;
    }

    .homepage-content {
        position: absolute;
        color: #FFFFFF;
        top: 50%;
        padding: 4em;
        text-align: center;
      }

      .about-text {
        flex: 1; /* Takes up more space */
        font-weight: bolder;
        font-size: 35px;
    }

    .hover-tile p {
        color: white;
        font-weight: bolder;
        font-size: 32px;
    }
    
      
      .about-image img {
        max-width: 100%;
        width: 100%;
        max-height: 400px; /* Adjust as needed */
        object-fit: cover;
        display: block;
    }

    .about-us-content {
        padding: 20em;
        padding-top: 0;
    }
    

}