@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);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
  background-color: #111;
}

/* Hero section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

/* Hero video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.8;
}

/* Animated overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 60%;
  z-index: 2;
}

.hero-overlay-2 {
  position: relative;
  width: 100%;
  min-height: 3vh; /* not forced 100vh lock */
}

/* Hero content */
.hero-content {
  position: absolute;
  bottom: 40px;      /* distance from bottom */
  left: 40px;        /* distance from left */
  z-index: 3;
  text-align: left;
  animation: contentFade 2s ease-out forwards;
}

.hero-content h1 {
  font-size: 7em;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(0,0,0,0.5);
      animation: appear 1s;
    animation-timing-function: ease-in-out;

}
/* Logo */
#title-logo {
  position: absolute;       /* fixed relative to viewport */
  top: 32px;             /* distance from top */
  left: 50%;             /* start at horizontal center */
  transform: translateX(-50%);  /* perfectly center horizontally */
  z-index: 2000;
  animation: appear2 1s;
  animation-timing-function: ease-in-out;

}

#title-logo img {
  height: 30px;          /* adjust size */
  object-fit: contain;
}

/* Sidebar styling */
.sidebar {
 height: 100%;
  width: 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: width 0.35s ease;
  padding-top: 60px;
}

.sidebar a {
  display: block;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  white-space: nowrap;
  text-align: left;
  font-size: 24px;
}

.sidebar a:hover {
  color: #818181;
}

.sidebar .closebtn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 36px;
}

/* Open button */
.openbtn {
  position: absolute;      /* stays on screen */
  top: 20px;
  left: 20px;
  font-size: 34px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1900;
  animation: appear2 1s;
  animation-timing-function: ease-in-out;
}

#about {
margin: 2em;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 70%;
    animation-timing-function: ease-in-out;

}

#wrapper {
  margin: 3em;
}

.about-text {
  padding: 3em;
  color: #ffffff;
  text-align: center;
  font-size: 2.5em;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 40px 20px;
    max-width: 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: 28px;
    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 {
  margin: 3em;
  padding: 3em 10%;
    animation: appear 1s;
    animation-timing-function: ease-in-out;
}

.about-us-content h1{
  color: #ffffff;
  font-size: 32px;
  padding-bottom: 1em;
}

.about-us-content p{
  color: #ffffff;
  font-size: 20px;
}

.about-us-content img{
  width: 100%;
  margin-top: 2em;
}

.contact h1 {
  color: #FFFFFF;
  text-align: center;
  margin-top: 3em;
  font-size: 32px;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 1em; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */

}

input[type=email], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 1em; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */

}

label[for="name"] {
  font-size: 20px; /* or try 18px */
  font-weight: 500;  /* optional: make it a bit bolder */
  color: #FFFFFF;
}

label[for="email"] {
  font-size: 20px; /* or try 18px */
  font-weight: 500;  /* optional: make it a bit bolder */
    color: #FFFFFF;
}

label[for="country"] {
  font-size: 20px; /* or try 18px */
  font-weight: 500;  /* optional: make it a bit bolder */
    color: #FFFFFF;

}

label[for="subject"] {
  font-size: 20px; /* or try 18px */
  font-weight: 500;  /* optional: make it a bit bolder */
    color: #FFFFFF;

}
  
  /* Style the submit button with a specific background color etc */
input[type=submit] {
    background: #dddddd;
    color: #565656;
    padding: 12px 20px;
    border: none;
    border-radius: 1em; /* Rounded borders */
    cursor: pointer;
}

  
  /* When moving the mouse over the submit button, add a darker green color */
  input[type=submit]:hover {
    background: #A9A9A9;
    color: #FFFFFF;
}
  
  /* Add a background color and some padding around the form */
.form {
    border-radius: 1em;
    padding: 20px;
    margin-left: 120px;
    margin-right: 120px;
    font-size: 1vw;
}



footer {
    color: #5f5f5f;
    text-align: center;
    padding-bottom: 2em;

}

@keyframes appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@media (max-width: 480px) {
.hero-content h1 {
  font-size: 3.5em;
}

.about-text {
  font-size: 1em;
}

.image-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
    margin: 1em;
}

#wrapper {
  margin: 1em;
}

.hover-tile p {
    font-size: 16px;
}

.hero-overlay-2 {
  position: relative;
  width: 100%;
  min-height: 8vh; /* not forced 100vh lock */
}

.image-grid-1 {
    margin: 1em; /* Centered horizontally with 3em margin vertically */
    padding: 1em;
    
}

.about-us-content {
  margin: 1em;
  padding: 3em 5%;
}

.about-us-content p {
  font-size: 18px;
}

.form {
    margin-left: 10em;
    margin-right: 10em;
}

}

@media (min-width: 481px) and (max-width: 1024px) {
.hero-content h1 {
  font-size: 5em;
}

.about-text {
  font-size: 2em;
}

#wrapper {
  margin: 1em;
}


.image-grid {
    grid-template-columns: repeat(1, 1fr);
}

.hero-overlay-2 {
  position: relative;
  width: 100%;
  min-height: 8vh; /* not forced 100vh lock */
}

.image-grid-1 {
    margin: 1em; /* Centered horizontally with 3em margin vertically */
    padding: 1em;
    
}



}

@media (min-width: 1024px) {
.image-grid {
    grid-template-columns: repeat(2, 1fr);
}
}