/* global variables */
:root {
  /* logo color matches */
  --zp-blue: #00a3d9;
  --zp-white: #fff9ef;
  --header-footer-color: rgb(19, 22, 26);
  --header-height: 80px;
  --footer-height: 50px;

  --content-max-width: 1500px;
  --left-right-pad: 30px;
}

/* RESETS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* BASE STYLES */
html {
  scroll-behavior: smooth;
  height: auto;
}

body {
  height: auto;
  /* height: 100%; */
  padding-top: var(--header-height);
  /* background-color: var(--header-footer-color); */

}

/* NORMAL STYLES */
.body_container {

  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* min-height: 1500px; */
  /* for testing scroll */
}

/* .header {} */

.header-bar {
  background-color: var(--header-footer-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.header-bar__content {
  height: var(--header-height);
  max-width: var(--content-max-width);
  padding: 0 var(--left-right-pad);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  vertical-align: middle;
  display: flex;
  align-items: center;
}

.logo__img {
  max-height: 50px;
}

.nav {
  transition: all 0.3s ease-in-out;
}

.nav__list {
  display: flex;
  column-gap: 40px;
}

/* .nav__item {} */

.nav__link {
  color: var(--zp-white);
  transition: all 0.2s;
}

.nav__link:hover,
.nav__link:focus {
  color: var(--zp-blue);
}

.active {
  color: var(--zp-blue);
}

.hamburger {
  cursor: pointer;
  display: none;
}

.bar {
  height: 2px;
  width: 27px;
  background-color: #fff;
  margin: 5px 0;
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

/* .main {
  width: 100%;
  padding: 0 var(--left-right-pad);
  margin: 0 auto;
  top: var(--header-height);
  bottom: var(--footer-height);
  left: var(--left-right-pad);
  right: var(--left-right-pad);
  display: flex;
  flex-direction: column;
} */

/* 
.main__content {
  max-width: var(--content-max-width);
  width: 100%;
  padding: 0 var(--left-right-pad);
  margin: 0 auto;
  top: var(--header-height);
  bottom: var(--footer-height);
  left: var(--left-right-pad);
  right: var(--left-right-pad);
  display: flex;
  flex-direction: column;
} */

/* .main {
  width: 100%;
}  */

.section {

  width: 100%;
  /* min-height: calc(100vh - var(--header-height)); */
  /* min-height: 500px; */
  top: var(--header-height);
  bottom: var(--footer-height);
  scroll-margin-top: var(--header-height);
  flex-direction: column;
  /* border: 5px solid red; */
}

.section__content {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  /* font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */

  max-width: var(--content-max-width);
  padding: 0 var(--left-right-pad);
  margin: 0 auto;
  display: flex;

  left: var(--left-right-pad);
  right: var(--left-right-pad);
  /* border: 5px solid blue; */
    /* justify-content: center; */
  /* flex-direction: row; */
  gap: 50px;
  padding: 50px 80px;
}

.section:nth-child(odd) {
  background-color: rgb(24, 97, 169);
  /* background-color: #5e8ea5;  */

}

/* even includes about section */
.section:nth-child(even) { 
  /* background-color: rgba(94, 138, 187, 0.3); */
  background-color: var(--header-footer-color);
}


#home {
  background-image: url("space_bg_top_smaller_cropped.jpg");
  background-repeat: no-repeat;
  background-size: cover; 
  background-position-y: bottom;
  min-height: 320px;
}

.heading {font-size: xx-large;}

#about__content {
  flex-direction: row;
  /* align-items: center; */
}

#about .heading {
  color: var(--zp-blue);
}

#about__box {
  width: 100%;
  padding: 10px;
  /* border: 3px solid red; */
  /* background-color: rgb(196, 203, 198); */
  /* box-shadow: 0 0 3px 3px #869ce9; */ 

}

#about__box p {
  font-size:x-large;
  color:var(--zp-white);
}

#about_img_box {
  
  width: 70%;
  display: flex;
  align-items:start;
    /* border: 5px solid white; */
  
}

#about__img {
  width: 100%;
  height: 350px;
  padding-top: 20px;
  /* flex-shrink: 1 is the default and allows shrinking, but can be explicitly set */
  /* flex-shrink: 1;  */
  object-fit: contain;
  /* border: 5px solid blue; */
}

#services__content {
  display:block;
  /* flex-direction: column; */
}

#services .heading {
  color: var(--zp-white);
}

#services p {
  /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
  /* font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
  /* text-align: center; */
  margin-left: 50px;
  font-size:x-large;
  color:var(--zp-white);
}

/* Services styling */
table {
  font-size: x-large;
  color: white;
  width: 90%;
  padding: 10px;
  /* Adjust width as needed */
  border-collapse: collapse;
  /* Removes space between borders */
  margin: 20px auto;
  /* Centers the table on the page */
  /* border: 1px solid #2e1010; */
}

/* Cell styling */
.services_table td {
  padding: 10px;
  /* padding-left: 40px; */
  /* Space within cells */
  /* border: 2px solid var(--header-footer-color); */
  text-align: left;
  /* Center aligns text */
}

td > span {
  font-size:x-large;
}

hr {
  height: 3px; /* Sets the thickness of the line */
  background-color: white; /* Sets the color (e.g., red) */
  border: none; /* Removes the default 3D-like border */
  margin: 1em 0; /* Optional: Adds vertical spacing */
}

/* Alternating row colors using the :nth-child pseudo-class */
/* tr:nth-child(odd) {
  /* background-color: #f2f2f2; */
  /* background-color: #e6f7ff; */
  /* Light gray for odd rows */
/* } */

/* tr:nth-child(even) {
  /* background-color: #ffffff; */
  /* background-color: #f3f0f0; */

  /* White for even rows */
/* } */

#projects__content {
  flex-direction: column;
  /* align-items: center; */
}

#projects__box {
  width: 100%;
  padding: 10px;
    
  /* border: 3px solid red; */
  /* background-color: rgb(196, 203, 198); */
  /* box-shadow: 0 0 3px 3px #869ce9; */ 
}

#projects .heading {
  color: var(--zp-blue);
  text-align: left;
}

#projects p {
  /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
  /* font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
    /* text-align: center; */
  text-align: left;
  margin-left: 50px;
  font-size:x-large;
  color:var(--zp-white);
}
#projects_img_box {
  /* width: 70%; */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items:center;
  gap: 100px;
  object-fit:contain;
  /* border: 5px solid white; */
}

#projects__img {
  /* width: 100%; */
  height: 300px;
  /* padding-top: 20px; */
  object-fit: contain;
  /* border: 5px solid blue; */
}

.projects_table td {
  padding: 10px;
  /* Space within cells */
  /* border: 2px solid red; */
  text-align: center;
  /* Center aligns text */
}

#contact__content {
    flex-direction: column;
  /* align-items: center; */
}

#contact__box {
  width: 100%;
  padding: 10px;
  /* border: 3px solid red; */
  /* background-color: rgb(196, 203, 198); */
  /* box-shadow: 0 0 3px 3px #869ce9; */ 
}

#contact .heading {
  color: var(--zp-white);
  /* text-align: center; */
}

#contact p {
  /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
  /* font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
  /* text-align: center; */
  margin-left: 50px;
  font-size:x-large;
  color:var(--zp-white);
}

#fcf-form {
    display: block;
    /* text-align: left; */
    /* margin-left: 80px; */
    color:var(--zp-white);
}

label.fcf-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}


.fcf-body {
    margin: 0 auto;
    /* margin-left: 80px; */
    font-family: -apple-system, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    /* background-color: #fff; */
    padding: 30px;
    padding-bottom: 10px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    max-width: 75%;
}

.fcf-form-group {
    margin-bottom: 1rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.fcf-form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    outline: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#attachment_section {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

#name_email_column {
    width: 70%;
}

#selected_filename {
    font-size: 1rem;
    text-overflow: elipsis;
    overflow:hidden;
}

#attachment_column {
    width: 30%;
    text-align: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.robot {
    display: none !important; /* Hides the div from human users */
    visibility: hidden;
    position: absolute;
    left: -9999px; /* Further ensures it's out of the way */
}

#form_response_message_box {
    width: 80%;
    /* border: 5px solid blue; */
    margin: auto;
    margin-top: 20px;
    padding: 20px;
    color: var(--zp-white);
    text-align: center;
    font-size: x-large;
    display: none;
}

.fcf-form-control:focus {
    border: 1px solid #313131;
}

select.fcf-form-control[size], select.fcf-form-control[multiple] {
    height: auto;
}

textarea.fcf-form-control {
    font-family: -apple-system, Arial, sans-serif;
    height: auto;
}

label.fcf-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fcf-credit {
    padding-top: 10px;
    font-size: 0.9rem;
    color: #545b62;
}

.fcf-credit a {
    color: #545b62;
    text-decoration: underline;
}

.fcf-credit a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.fcf-btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* background-color: transparent; */
    background-color: #b4eff8;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .fcf-btn {
        transition: none;
    }
}

.fcf-btn:hover {
    color: #212529;
    text-decoration: none;
}



.footer {
  position:relative;
  /* bottom:0; */
  width: 100%;
}

.footer-bar {
  background-color: var(--header-footer-color);
}

.footer-bar__content {
  height: var(--footer-height);
  max-width: var(--content-max-width);
  padding: 0 var(--left-right-pad);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 1);
}

/* .footer-bar__left {} */

.footer-bar__logo {
  max-height: 20px;
}

/* .footer-bar__right {} */

/* For JS */
.nav--open {
  left: 50% !important;
}

.hamburger--open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger--open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MEDIA QUERIES */
@media (max-width: 690px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    transform: translateX(-50%);
    background-color: rgb(19, 22, 26);
    width: 100%;
    padding: 10px 0 25px;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }

  .nav__link {
    font-size: 14px;
  }

  .btn {
    font-size: 11px;
    padding: 7px 17px;
  }

  .hamburger {
    display: block;
  }

  #about__content {
  flex-direction: column;
  align-items: center;
}

  
#services p {
    margin-left: 0px;
    margin-bottom: 30px;
}


table {
  font-size: x-large;
  color: white;
  width: 100%;
  /* Adjust width as needed */
  border-collapse: collapse;
  /* Removes space between borders */
  margin: 10px auto;
  /* Centers the table on the page */
  /* border: 1px solid #2e1010; */
}

/* Cell styling */
.services_table td {
    padding: 5px;
  /* padding-left: 40px; */
  /* Space within cells */
  /* border: 2px solid var(--header-footer-color); */
  /* text-align: left; */
  /* Center aligns text */
}


.section__content {
  gap: 0;
}

#projects__content {
  align-items: center;
}
#projects p {
  margin-left: 0px;
}

#contact p {
  margin-left: 0px;
}

.fcf-body {
    max-width: 100%;
}


#attachment_section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

#name_email_column {
    width: 100%;
}

#attachment_column {
    width: 100%;
}


}

@media (max-width: 360px) {
  .header-bar__content {
    font-size: 10px;
  }
}
