* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }
body, html  {
height: 100vh;
width:100%;
font-family: "Roboto", serif;
color: white;
font-size:1em;
line-height:1.6;
font-weight: 400;
background-color: #333333 ;
}
  
a {
  color: #90D5FF
}

/*MOBILE FIRST LOAD */
.grid-main {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
grid-template-areas:
/* STACKED **/ 
"nav"
"hero"
"toptext"
"info"
"img"
"footer"
;
}


/*LARGER SCREENS ONLY*/
@media  only screen and (min-width: 981px){
.grid-main{
display: grid;
grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
grid-template-areas:
"nav              nav                 nav           nav "
"hero           hero               hero             hero  "
"       toptext    toptext    img  img "
"footer       footer               footer         footer "
;
}
}

header {
grid-area: nav;
}

.hero{
grid-area: hero;
background-image:  url(../vacancies-hero.webp) ;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
min-height: 450px;
background-attachment: fixed;
}

.toptext{
grid-area: toptext;
text-align: left;
color: white;
padding: 60px;
justify-self: center;
text-align: center;
justify-content: center;
}


.toptext h1{
font-size: 3vw;
font-weight: 300;
color:white;
}


.info{
grid-area: info;
color:white;
font-weight: 500;
border-radius: 3px;
padding: 5px;
margin: 50px 0;
width: 100%;
justify-self: center;
text-align: center;
justify-content: center;
margin-bottom: 60px;
}

.img{
grid-area: img;
background-image:  url(../img/img-1.jpg) ;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
width: 100%;
}
.btn-cta {
background-color: #90D5FF;
color: black; 
cursor: pointer;
display:flex;
align-items:center;
justify-content:center;
border-radius: 10px ;
text-decoration:none;
font-size:1em;
width:15em;
height: 40px;
padding:5px 10px;
margin:auto;
border: 1px solid black;
}
.btn-cta:hover{ 
transform: translateY(-0.25em);
border-color: white;
color: white;
background-color: #98A869;
cursor: pointer;

}
/* FORM*/
.contact-form {
width: 100%;
max-width: 400px;
margin: auto;
}
.contact-form label {
display: block;
font-weight: bold;
margin: 10px 0 5px;
text-align: left;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}


.contact-form input::placeholder,
.contact-form textarea::placeholder {
font-size: 14px; /* Adjust placeholder text size */
color: #aaa; /* Light gray color */
font-style: italic; /* Optional styling */
height: 100px;
}

.box-height{
height: 100px;
}

/* FORM END */

.container-flex {
display: flex;
gap: 10px; /* Space between buttons */
justify-content:center;
align-items: center;
margin-bottom: 40px;
}
  
/* NAV */
.nav {
  height: 50px;
  width: 100%;
  background-color: #98A869;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
}

.nav-title {
  font-size: 18px;
  font-weight: bold;
  color: black;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  padding: 10px 15px;
  transition: background 0.3s ease-in-out;
}

.nav-links a:hover {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.nav-btn {
  display: none;
}

.nav-check {
  display: none;
}

@media (max-width: 810px) {
  .nav {
    padding: 0 15px;
  }

  .nav-btn {
    display: block;
    cursor: pointer;
  }

  .nav-btn label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
  }

  .nav-btn span {
    width: 30px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
  }

  .nav-links {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: #333;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 10px 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-check:checked ~ .nav-links {
    display: flex;
  }
}

@media (max-width: 810px) {
  .nav-btn {
    display: block;
    position: absolute;
    right: 40px;  /* Move the button to the left */
    top: 10px;
  }

  .nav-btn label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
  }

  .nav-btn span {
    width: 30px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
  }
}






/* FOOTER */

footer {
  grid-area: footer;
  text-align: center;
  background-color: #4682b4;
  padding: 40px;
  min-height: 100px;
  color: white;

}
footer a{
  color: white;
}

/* MQ */
@media  only screen and (max-width: 480px){
.grid2 {
display: block;

}
.toptext h1{
font-size: 8vw;
font-weight: 300;

}
.img{
  grid-area: img;
  background-image:  url(../img/img-1.jpg) ;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
 min-height: 800px;
  }
}


