@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
/* Apply flexbox to ensure sticky footer */


* { margin: 0; padding: 0; }

* {
  box-sizing: border-box;
}

html, body {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #253243;
    font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
    font-size: 16px;
    color: #f1f5f1;
    
    background-image: url('../images/bgp.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/*Text defaults */

h1 {
  color: #fba22d;
  margin-bottom: 16px;
  font-weight: normal;
}
h2 {
  font-weight: normal;
  margin-bottom: 4px;
  font-size: 20px;
  color: #fba22d;
}

p.narrative {
  line-height: 24px;
  margin-bottom: 16px;
  margin-top: 12px;
}
.narrative a {
  color: #f1f5f1;
}
.narrative a:hover {
  font-weight: bold;
}

a {
  text-decoration: none;
  color: #f1f5f1;
}
a:visited {
  color: #f1f5f1;
}

ul {
  list-style-type: none;
}
li {
  margin-bottom: 16px;
  line-height: 24px;
}

p.warning {
  color: #d23d4b;
}

/* Main content container */
.content {
    flex: 1; /* Grow to take up available space */
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */

picture.logo {
  padding: 16px;
  display: block;
}
#logo {
  width: 100%;
  max-width: 160px;
}

nav {
  margin-bottom: 16px;
}

nav a:link {
  color: #f1f5f1;
}
nav a:visited {
  color: #f1f5f1;
}
nav a:active {
  color: #f1f5f1;
}

nav ul {
  display: flex;
  margin-left: 16px;
  width: 100%;
  max-width: 288px;
}
nav ul li {
  height: 48px;
  line-height: 48px;
  width: 33%;
}

main {
  padding-left: 16px;
  padding-right: 16px;
}

/* Work grid */
div.work-grid {
  align-items: center;
  position: relative;
}
div.work-grid > div {
  margin-top: 32px;
  display: block;
}
.parent {
  position: relative;
  margin-bottom: 32px;
}
.work-grid p {
  display: inline-block;
}
img.work-main-picture {
  width: 100%;
  display: block;
  margin-bottom: 8px;
}
img.classification {
  position: absolute;
  right: 0px;
  bottom: 24px;
  height: 16px;
  display: block;
}

.services {
  color: #fba22d;
}


/* Project-grid */
div.project-grid > div {
  margin-top: 32px;
  display: block;
}
.project-grid p {
  display: inline-block;
}
img.project-image {
  width: 100%;
}
iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.italic {
  font-style: italic;
}


form {
  width: 100%;
  max-width: 448px;
}
input[type=text], input[type=email], textarea {
  width: 100%;
  display: block;
  border-style: solid;
  border-color: #fba22d;
  border-width: 2px;
  padding: 8px;
  color: #253243;
  font-weight: bolder;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  background: #b1adb4;
}
input[type=text], input[type=email] {
  height: 44px;
}
textarea {
  height: 150px;
}
input[type=submit] {
  border: none;
  background: #fba22d;
  width: 80px;
  height: 44px;
  font-size: 16px;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
input[type=submit]:hover {
  background: white;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  background: white;
  outline: none;
}

/* Footer styling */
footer {
    height: 104px; /* Footer height */
    text-align: center;
    line-height: 104px; /* Vertically centers text */
}




/* Small phones (portrait) (320px and up) */
@media (min-width: 320px) {
  /* Add your styles for small phones here */
}

/* Larger phones (480px and up) */
@media (min-width: 480px) {
  /* Add your styles for larger phones here */
}

/* Tablets (portrait) (768px and up) */
@media (min-width: 768px) {
  /* Add your styles for tablets in portrait mode here */

  header {
    position: relative;
  }

  nav {
    width: 416px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 16px;
  }
  nav ul {
    max-width: 416px;
    margin-left: 0;
  }
  nav ul li {
    width: 33%;
    text-align: center;
  }
  nav a:link {
    color: #b1adb4;
  }
  nav a:active {
    color: #b1adb4;
  }
  nav a:visited {
    color: #b1adb4;
  }
  nav a:hover {
    color: #f1f5f1;
    font-weight: bold;
  }

  /* Work grid */
  div.work-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 32px;
    margin-top: 32px;
  }
  div.work-grid > div {
    margin-top: initial;
  }
  .parent {
    position: relative;
    margin-bottom: 0px;
  }

  /* Project grid */
  div.project-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 32px;
    margin-top: 32px;
  }
  div.project-grid > div {
    margin-top: initial;
  }

}

/* Tablets (landscape) and small desktops (1024px and up) */
@media (min-width: 1024px) {
  /* Add your styles for tablets in landscape or small desktops here */

  .content {
    width: 960px;
  }

  picture.logo {
    margin-top: 32px;
    margin-bottom: 32px;
  }



}

/* Medium desktops (1200px and up) */
@media (min-width: 1200px) {
  /* Add your styles for medium desktops here */
}

/* Large desktops and widescreen monitors (1440px and up) */
@media (min-width: 1440px) {
  /* Add your styles for large desktops here */
}

/* Extra-large screens (1920px and up) */
@media (min-width: 1920px) {
  /* Add your styles for very large screens here */
}
