@font-face {
  font-family: "Garet-Book";
  src: url(../fonts/Garet-Book.ttf) format('truetype');
  src: url(../fonts/Garet-Book.woff) format('truetype');
  src: url(../fonts/Garet-Book.woff2) format('truetype');
 

}

html{

  scroll-behavior: smooth;
}


* {
  box-sizing: border-box;
}



body{

  font-family: "Garet-Book", sans-serif;
  font-size: 50%;
  min-height: 100vh; 
  margin: 0;
  padding: 0;
  /*background: linear-gradient(to bottom, #ffffff 80%,  #595959 80%);*/

}

/*header{

  height: 300px;
  margin-top: 0;
  border-bottom: 0;
  margin-bottom: 0;
}*/

header {
  position:  relative; 
  background-image: url('../images/pexels-kindelmedia-9889058.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  z-index: 1;

}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Add your gradient or solid color overlay here */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)); 
  z-index: -1; /* Puts the overlay behind the header content */
}

#short-header{

  position:  fixed; /* Essential for positioning the pseudo-element overlay */
  background-color: black;
  color: white;
  padding: 5px;
  text-align: center;
  height: 4vh;
  top: -1000px;
  width:100%;
  justify-content: left;
  align-items: left;
  z-index: 1000;

}


#short-header::before{
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
/* Add your gradient or solid color overlay here */
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)); 
z-index: -1; /* Puts the overlay behind the header content */

}

.navbox1{

  margin-left: 40px;
  margin-right: 30px;
  display: grid;
  grid-template-columns: 100%;
  justify-items: center;
  padding:10px;

  
}


.navbox1 p{

  font-size:170%;

}


.inner-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* tighter spacing */
}

.inner-contact p {
  font-size: 230%;
  margin: 0;
}

.inner-contact a{

  font-size: 150%;
  background-color: rgba(255, 255, 255, 0.841);
  padding: 12px;
  color: rgb(108, 62, 37);
  border-radius: 30px;
  text-decoration: none;

  
}

.inner-contact a:hover,a:focus{


  background-color:  rgb(190 253 192 / 88%);
  color: rgb(12 126 40);
  text-decoration: none;


  
}

/*.navbox1 > :first-child{

grid-column: 1 / span 2;
object-fit: cover;

}*/

.navbox2{

display: flex;
flex-direction: row;
padding:10px;
margin-left: 20px;
margin-right: 20px;
align-items:center;

}

.navbox2 div{

margin: 10px;
padding: 10px;
align-items: center;
object-fit: cover;

}


a{

color:white;
text-decoration: underline;

}



.logo{

width: 250px;
height: 250px;

}
.navbox2 > :nth-child(2) a {

  opacity: 0.6;
  text-decoration: none;

}

.navbox2 > :nth-child(3) a {

  font-size:80%;
  background-color:rgba(255, 255, 255, 0.841);
  padding: 12px;
  color: rgb(108, 62, 37);
  border-radius: 30px;
  text-decoration: none;

}

.navbox2 > :nth-child(3) a:hover,a:focus-within{


  background-color:  rgb(190 253 192 / 88%);
  color: rgb(12 126 40);
   text-decoration: none;


  
}


.navbox2 img{

  width: 120px;
  height: 120px;


}

header img {

  display: block;


}

main{

margin-left: 40px;
margin-right: 40px;
margin-top: 30px;
margin-bottom: 30px;

}

.spaceA { grid-area: spaceA; }
.spaceB { grid-area: spaceB; }
.spaceC { grid-area: spaceC; }
.spaceD { grid-area: spaceD; }
.spaceE { grid-area: spaceE; }
.spaceF { grid-area: spaceF; }
.spaceG { grid-area: spaceG; }

main {

  /*method1*/
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  'spaceA'
  'spaceC'
  'spaceB'
  'spaceE'
  'spaceD'
  'spaceF'
  'spaceG';
  row-gap:10px;
  column-gap: 10px;
  padding:10px;
  justify-content: center;
  align-items:center;
  object-fit: cover;

  
  
  /*display: grid;
  grid-template-columns: auto;
  justify-content: center;
  row-gap:10px;
  column-gap: 10px;
  padding:10px;
  align-items:center;
  object-fit: cover;*/


}



.description{

  padding:10px;
  
}

.imageContainer {

   margin:auto;
   justify-content: center;
   align-items: center;
   text-align: center;
   object-fit: cover;
   width:100%;

}

.imageContainer img {

  max-width: 100%;
  height: 100%;
  padding: 5px;
  

}

h1{
  font-weight: 200;

}


header{

 align-items: center; 
 background-color: gray;


}

#email-footer{

  /*display: flex;*/
  background-color: #595959;
  height: 630px;
  display: grid;
  grid-template-columns: 70%;
  align-items: center;
  justify-content: space-evenly;

}

label{

 font-size:130%;
  color:white;
  
}


.contact-left{


  display: grid;
  grid-template-columns: auto ;
  align-items: center;
  gap: 20px;
  row-gap: 10px;
  column-gap: 10px;
  padding:10px;

}

.contact-left h1{

 color: white;
 font-size: 300%;
  
}

.contact-left-title p{

  color: white;
  font-size: 80%;

}

.contact-left-title hr{

  border: none;
  width: 100%;
  height: 5px;
  background-color: white;
  border-radius: 10px;
  margin-bottom: 20px;

}



.contact-inputs {

width: 100%;
height: 50px;
border: none;
outline: none;
padding-left: 25px;
font-size: 150%;
color: #666;
border-radius: 50px;

}

.contact-left textarea {

 height: 140px;
 padding-top: 15px;
 border-radius: 20px;


}

.contact-inputs:focus{

  border: 2px solid rgb(78, 221, 78);


}

.contact-inputs::placeholder{

 color: rgb(202, 202, 202);

}

.contact-left button{

    
  /*display: flex;*/

  justify-self: left;
 /*align-items: center;*/
 /*width: 20%;*/
 padding: 15px 30px;
 font-size: 16px;
 color: #fff;
 gap: 10px;
 border: none;
 border-radius: 50px;
 background: linear-gradient(270deg, rgb(104, 245, 104), rgb(6, 95, 43));
 cursor: pointer;
 transition-duration: 0.2s;
}

.contact-left button:hover,.contact-left button:focus{

  color: rgb(6, 95, 43);
  background: linear-gradient(270deg, rgb(230, 255, 230), rgb(230, 255, 230));

}
.copyright p{

  font-size: 11%;
  color: white;
  padding-left:10px;
}

@media all and (min-width:400px){

header{

   height: 400px;
  
}

.logo{

  width: 250px;
  height: 250px ;
    
}

.navbox1 img{

 object-fit: cover;
  
}


.inner-contact p {
  font-size: 170%;
 
}

.inner-contact a{

  font-size: 120%;
  padding: 10px;
  border-radius: 30px;

  
}

body{


  font-size: 80%;


} 


h1{

font-weight: 500;
  
}

  main{

  margin-left: 80px;
  margin-right: 80px;
  margin-top: 30px ;
  margin-bottom: 30px;
  /*padding-top: 20px;
  padding-bottom: 40px;*/

}


#email-footer{
 
  height: 700px;
 

}

label{

 font-size:90%;
  
}

.contact-left{

  gap: 20px;
  row-gap: 13px;
  column-gap: 10px;


}

.contact-left h1{

 font-size: 200%;
  
}


.contact-inputs {


font-size: 120%;


}


.contact-left button{

 font-size: 110%;
 border-radius: 50px;

}

  
  
}

@media all and (min-width:500px){


  header{

    height: 520px;

  }

  .logo{

    width: 350px;
    height: 350px;
        
      }


    

body{


  font-size: 100%;


} 

h1{

font-weight: 500;
  
}

  main{

  margin-left: 90px;
  margin-right: 90px;
  margin-top: 30px ;
  margin-bottom: 30px;
  padding-bottom: 20px;

}

    
#email-footer{

 
height: 700px;


}


.contact-left{

row-gap: 15px;


}

.contact-left h1{

color: white;
font-size: 200%;

}

.contact-inputs {

font-size: 100%;


}


.contact-left button{


font-size: 100%;



}
  
}

@media all and (min-width:760px){



header{

  position:  relative; 
  background-image: url('../images/pexels-kindelmedia-9889058.jpg');
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white; 
}


.logo{

width: 400px;
height: 400px;

}

.navbox1 p{

  font-size:150%

}

.navbox1 a{

  font-size:150%

}
.inner-contact a{

  font-size: 100%;
  padding: 10px;
  border-radius: 30px;

  
}


  body{

    font-size: 120%;

  
  }

  h1{
      font-weight: 700;
  
  }

  main {

      /*method1*/
      margin-left: 130px;
      margin-right: 130px;
      margin-top: 50px ;
      margin-bottom: 70px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-areas: 
      'spaceA spaceA'
      'spaceB spaceC'
      'spaceD spaceE'
      'spaceF spaceG'
      ;
      justify-content: center;
      row-gap: 20px;
      column-gap: 40px;
      padding:10px;
      align-items:center;
      object-fit: cover;
      
      /*method2
      grid-template-columns: 40% 40%;
      justify-content: center;
      row-gap: 20px;
      column-gap: 20px;
      padding:10px;
      align-items:center;
      row-gap:40px;*/
  
  
  }
 
  /*main > :first-child{

      grid-column: 1 / span 2;

  }*/

  .imageContainer img {

      width: 100%;
      padding: 5px;
      object-fit: cover;
      align-items: center;
  
  }
  #email-footer{

    height: 750px;
  

}

label{

 font-size:80%;
  
}

.contact-left-title{

   padding:-10px;
    
}

.contact-left h1{

   color: white;
   font-size: 200%;
    
}


.contact-left-title hr{

    width: 100%;
   

}

.contact-inputs {

  font-size: 80%;

}



.contact-left button{
    
   font-size: 90%;
   
}


.copyright p{

  font-size: 11%;
  color: white;
  padding-left:10px;
  padding-top:10px;
  padding-bottom:15px;

}



 /* header{

      position:  relative; 
      background-image: url('../images/pexels-kindelmedia-9889058.jpg');
      background-size: cover;
      background-position: center;
      height: 70vh;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      transition: height 0.4s ease-in-out;
      
  }
  
  */



}

@media all and (min-width:998px){

  main{

    margin-left: 150px;
    margin-right: 150px;
    margin-top: 50px ;
    margin-bottom: 70px;
    
  }


  .navbox1 p{

    font-size:170%
  
  }
  

#short-header{

  position:  fixed; /* Essential for positioning the pseudo-element overlay */
  background-color: black;
  color: white;
  padding: 20px;
  text-align: center;
  height: 152px;
  top: -200px;
  width:100%;
  justify-content: left;
  align-items: left;
  z-index: 1000;
  transition: top 0.3s; 

}

#short-header .logo{

width: 90px;
height: 90px;

}

#short-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
/* Add your gradient or solid color overlay here */
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)); 
z-index: -1; /* Puts the overlay behind the header content */
}

#short-header.sticky {
top: 0; /* Pop into view */
}


main{

margin-left: 120px;
margin-right: 120px;
margin-top: 50px;
margin-bottom: 50px;
grid-template-columns: 40% 40%;

}

#email-footer{

 
  height: 800px;
  
  
  }


.contact-left textarea {

 height: 200px;

}


}

@media screen and (min-width:998px) and (prefers-reduced-motion:reduce){



#short-header{

    transition: none;

}



#short-header.sticky {
top: 0; /* Pop into view */
}





html{

  scroll-behavior: auto;

}


}

@media (prefers-color-scheme: dark){

  body{
    color: white;
   
    background: linear-gradient(to bottom, gray 80%, gray 80%);
  
  }

  #email-footer{

     background-color: rgb(30, 75, 30);


  }

 
  

}

