body:not(nav) {
  font-family: "Open Sans", sans-serif;
  color: #ece8ef;
  background-color: #282828;
  margin: 0px;
  width: 100vw;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

main h2 {
  margin-left: 175px;
  font-weight: 00;
}

.title {
  display: none;
}

body h1 {
  margin: 0px;
  font-style: normal;
  font-weight: 400;
  font-size: 72px;
  text-align: center;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  line-height: 10em;
}

header {
  margin: auto;
}

header span {
  font-weight: 700;
}

header p {
  margin-block-start: 0;
  position: absolute;
  width: 40%;
  left: 37%;
  top: 58%;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 38px;
  letter-spacing: 0.03em;
  text-align: center;
}

header button {
  position: absolute;
  left: 45%;
  bottom: 15%;
  width: 200px;
  height: 60px;
  border-radius: 25px;
  border: 2px solid #527d95;
  color: #ece8ef;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s ease-in;
  background: linear-gradient(to right, #527d95 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.3s ease-out;
}

.header_button:hover {
  border: 1px solid #527d95;
  transition: ease-in 0.3s;
  background-color: #527d95;
  background-position: left bottom;
}

/*****************************************************************MAIN NAVIGATION*********************************************************/

.hidden{
  display: none;
}

.main_nav {
  font-family: "Open Sans", sans-serif;
  position: fixed;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.main_nav a {
  width: auto;
  display: inline-block;
  color: inherit;
  font-size: 18px;
  letter-spacing: 0;
  text-decoration: unset;
  padding: 20px 100px 20px 100px !important;
}

.main_nav a:hover{
  text-decoration: underline #527d95;
  text-underline-position: below;
  text-underline-offset: 5px;
  transition: 0.25s;
}

.main_nav ul li{
  display: inline;
  font-size: 20px;
  letter-spacing: 0.05em;
}

.main_nav ul{
  margin: 0;
}

.main-nav-wrap img{
  position: fixed;
}

/*****************************************************************HEADER*********************************************************/

header {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/img/1.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 1024px;
  width: 100%;
}

.about p {
  padding-top: 5%;
  padding-bottom: 5%;
  margin: 0px 175px 0px 175px;
  font-size: 20px;
  line-height: 40px;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 40px;
  line-height: 60px;
  width: 250px;
  padding-top: 100px;
  border-bottom: 3px solid #527d95;
  width: 20%;
}

/*****************************************************************PORTFOLIO*********************************************************/

.card {
  column-count: 1;
  transition: 0.3s;
}

.card:hover {
  transform: scale(103%);
  transition: 0.35s;
}

.card img:hover {
  filter: brightness(0.55);
}

.onhover {
  filter: brightness(0.55);
}

.grid {
  margin-left: 10%;
  margin-right: 10%;
  padding-top: 100px;
  display: flex;
  column-count: 3;
  column-gap: 3%;
  width: 80%;
  justify-content: center;
}

.port-img {
  filter: brightness(0.4);
  object-fit: cover;
  max-width: 420px;
  min-height: 650px;
  position: relative;
  max-width: 100%;
}

.text {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 10%;
}

.text h4 {
  font-size: 30px;
  border-bottom: 3px solid #527d95;
  line-height: 70px;
  width: 40%;
  margin-inline-start: 30%;
  margin-inline-end: 30%;
}

.text p {
  font-size: 18px;
}


/********************************************CONTACT***************************************/


.contact {
  padding-top: 100px;
  padding-bottom: 200px;
  display: flex;
  column-count: 3;
  column-gap: 10%;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.item:not(:last-child) {
  column-span: 1;
  border-right: 3px solid #527d95;
  padding: 0% 10% 0% 0%;
}

.cont-text {
  text-align: center;
  font-size: 18px;
}


/***********************************************FOOTER*********************************/

footer {
  border-top: 2px solid #2d2d2d;
  opacity: 0.3;
  padding: 1% 0% 1% 0%;
  column-count: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.general {
  right: 0;
  font-size: 20px;
  padding-right: 5%;
}

.details {
  left: 0;
}


/***********************************PORTFOLIO PAGES*************************************/


.fade-in {
  opacity: 0;
  transition: opacity 250ms ease-in;
}

.fade-in.appear {
  opacity: 1;
  transition: 1s;
}

h2 {
  display: block;
  margin-left: 175px;
  margin-bottom: 100px;
}

.flex{
  display: flex;
  justify-content: center;
  align-items: center;
}

.pool {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 0fr);
  grid-gap: 35px;
  grid-auto-flow: dense;
}

.pool .img {
  width: auto;
  height: 100%;
}

.pool img {
  width: fit-content;
  height: 100%;
}

.pool .tall {
  display: inline-block;
  grid-column-start: span 1;
  grid-row-start: span 2;
}




/**********************************************RESPONSIVE******************************************/

@media only screen and (max-width: 600px) {

  h2 {
    margin-left: 15% !important;
    left: auto;
    font-size: 30px;
    width: 250px;
    padding-top: 100px;
    border-bottom: 3px solid #527d95;
    width: 20%;
  }

  .main_nav{
    position: fixed !important;
  }

/*******************************************LANDING*****************************/

  .title-main{
    position: absolute;
    top: 45% !important;
    left: 12.5%;
    width: 75%;
  }

  .title-main h1{
    margin: 0px;
    font-style: normal;
    font-weight: 400;
    font-size: 34px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
  }
  
  header {
    margin: auto;
  }
  
  header span {
    font-weight: 700;
  }
  
  header p {
    margin-block-start: 0;

    top: 60% !important;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 2em;
    letter-spacing: 0.05em;
    text-align: center;
  }
  
  header button {
    bottom: 20%;
    left: 30%;
    width: 40%;
    height: 60px;
    border-radius: 25px;
    color: #ece8ef;
    font-size: 16px;
    cursor: pointer;
    background: #527D95;
  }

/*******************************************ABOUT*********************************/

.about p {
  padding-top: 10%;
  margin: 0% 10% 0% 15%;
  font-size: 18px;
  line-height: 40px;
  letter-spacing: 0.05em;
}


/*********************************PORTFOLIO CARDS*********************************/

.grid {
 flex-flow: row wrap;
 padding-top: 10%;
}

.card{
  margin-bottom: 5%;
}

/*******************************************CONTACT*******************************/

.contact {
  flex-flow: row wrap;
  padding-top: 10%;
  padding-bottom: 20%;
}

.contact img{
  width: 30px;
  height: 30px;
}

.item {
  width: 70%;
  border-right: none !important;
  border-bottom: solid 2px #527d95;
  margin: 0% 10% auto 10%;
  padding: 5% 0% 5% 0% !important;
}

.cont-text {
  text-align: center;
  font-size: 18px;
}

/******************************************NAVIGATION****************************/

.hidden{
  display: block;
  z-index: 10;
  position: absolute;
  padding: 10px 0px 0px 10px;
}

.close{
  display: none;
}

.main_nav {
  font-family: "Open Sans", sans-serif;
  position: absolute;
  display: block;
  height: auto;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.main_nav a {
  text-align: center;
  display: block;
  color: inherit;
  font-size: 18px;
  letter-spacing: 0;
}

.main_nav ul:not(.drop-content) {
  list-style: none;
}

.main_nav ul li{
  display: block;
  font-size: 20px;
  letter-spacing: 0.05em;
}

.main_nav ul{
  margin: 0;
}

ul{
  padding-inline-start: 0px !important;
}


/*************************DROPDOWN**************************/

.drop-content{
  height: auto;
  width: 100%;
  list-style: none;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  max-height: 300%;
  min-height: auto;
  display: block;
  position: absolute;
  top: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: height 0.3s ease-in;
}

.drop-content a{
  line-height: 20px;
  width: auto;
  height: auto;
  display: block;
  color: inherit;
  font-size: 18px;
  letter-spacing: 0;
  padding: 20px 0px 20px 0px !important;
  transition: text-decoration 0.3s;
}


  /*******************************************PORTFOLIO**********************************/

  .pool{
    margin: auto;
    display:block;
  }

  .pool .tall{
    display: block;
  }

  .pool .img{
    padding-bottom: 5%;
  }

  h2 {
    display: block;
    margin-left: auto;
    margin: 0px auto 10% 10%;
    font-size: 34px;
    padding-top: 20%;
    width: 45%;
  }

  /*******************************************FOOTER**********************************/

  
  footer {
    border-top: 2px solid #2d2d2d;
    opacity: 0.3;
    padding: 1% 0% 1% 0%;
    column-count: 2;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
  }

  .general {
    right: 0;
    font-size: 18px;
    padding-right: 5%;
  }

  .details {
    left: 0;
    font-size: 15px;
  }


  .main_nav{
    visibility: hidden;
  }

}

@media only screen and (max-width: 600px) {

  h2{
    margin-left: 15% !important;
    width: 40%;
  }
  
  .title-main h1{
    font-size: 2.5em !important;
    line-height: 1.2em;
  }

  .header_content p{
    font-size: 1.1em;
    top: 57%;
  }
  
  /******************************************NAVIGATION****************************/
  
  .hidden{
    display: block;
    z-index: 10;
    position: absolute;
    padding: 3% 1% 1% 5%;
  }
  
  .close{
    display: none;
  }
  
  .main-nav-wrap{
    position: fixed;
    z-index: 5;
    min-width: 1vw;
  }
  
  .main_nav {
    font-family: "Open Sans", sans-serif;
    position: absolute;
    display: inline;
    height: auto;
    top: 0;
  }
  
  /*******************************************LANDING*****************************/
  
  .title-main h1{
    font-style: normal;
    font-size: 30px;
  }
  
  header p {
    top: 63%;
    width:90%;
    left: 5%;
    font-size: 1em;
  }
  
  .header_button{
    margin-top: 5%;
    bottom: 15%;
    width: 40%;
    font-size: 0.85em;
  }
  
  header {
    min-width: 1vw;
    margin: auto;
    height: 100vh;
  }
  
  /*******************************************ABOUT*****************************/

  h2{
    font-size: 2em !important;
  }
  
  .about p{
    font-size: 1em;
  }
  
  /**********************************PORTFOLIO CARDS*****************************/
  
  .grid {
    flex-flow: row wrap;
    padding-top: 0%;
   }
   
   .card:not(last-child){
     margin-bottom: 10%;
   }
  
  
  /**********************************CONTACT*****************************/
  
  
  .contact {
    flex-flow: row wrap;
    padding-bottom: 20%;
    padding-top: 0;
    font-size: 1em !important;
  }
  
  .contact img{
    width: 30px;
    height: 30px;
  }
  
  .item {
    width: 55%;
    border-right: none !important;
    border-bottom: solid 2px #527d95;
    margin: 0% 10% auto 10%;
    padding: 5% 0% 5% 0% !important;
  }
  
  .cont-text {
    text-align: center;
    font-size: 1em;
  }
    
    /*******************************************PORTFOLIO**********************************/

    .flex{
      max-width: 100wv;

    }
  
    .pool{
      display: block;
    }
    
    .pool .img{
      padding-bottom: 5%;
      text-align: center;
      object-fit: cover;
    }

    .pool img{
      max-width: 80% !important;
      height: auto; 
    }
    
    .pool:first-child{
      padding-top: 5%;
    }


}

@media only screen and (max-width: 768px) and (min-width: 600px)  {

h2{
  margin-left: 15% !important;
  width: 40%;
}

.title-main h1{
  font-size: 3em !important;
}

.header_button{
  margin-top: 5%;
  bottom: 15%;
}

/******************************************NAVIGATION****************************/
  

.hidden{
  display: block;
  z-index: 10;
  position: absolute;
  padding: 3% 1% 1% 5%;
}

.close{
  display: none;
}

.main-nav-wrap{
  position: fixed;
  z-index: 5;
  min-width: 1vw;
}

.main_nav {
  font-family: "Open Sans", sans-serif;
  position: absolute;
  display: inline;
  height: auto;
  top: 0;
}

.main_nav a {
  background: rgba(30, 30, 30, 0.9);
  text-align: center;
  display: block;
  color: inherit;
  font-size: 18px;
  letter-spacing: 0;
  min-width: 100vw;
  padding-left: unset !important;
}

ul{
  padding-inline-start: 0px !important;
}

/*******************************************LANDING*****************************/

.title-main{
  position: absolute;
  top: 50%;
  left: 12.5%;
  width: 80%;
}

.title-main h1{
  margin: 0px;
  font-style: normal;
  font-weight: 400;
  font-size: 60px;
  text-align: center;
  vertical-align: middle;
  line-height: 100%;
}

header p {
  top: 63%;
  width:90%;
  left: 5%;
  font-size: 22px;
}

header button {
  bottom: 18%;
  left: 33%;
  width: 33%;
}

header {
  min-width: 1vw;
  margin: auto;
  height: 100vh;
}

/*******************************************ABOUT*****************************/

.about p{
  margin-left: 15%;
  padding-top: 0;
  width: 70%;
}

/**********************************PORTFOLIO CARDS*****************************/

.grid {
  flex-flow: row wrap;
  padding-top: 0%;
 }
 
 .card:not(last-child){
   margin-bottom: 10%;
 }


/**********************************CONTACT*****************************/


.contact {
  flex-flow: row wrap;
  padding-bottom: 20%;
  padding-top: 0;
}

.contact img{
  width: 30px;
  height: 30px;
}

.item {
  width: 55%;
  border-right: none !important;
  border-bottom: solid 2px #527d95;
  margin: 0% 10% auto 10%;
  padding: 5% 0% 5% 0% !important;
}

.cont-text {
  text-align: center;
  font-size: 18px;
}
  
  /*******************************************PORTFOLIO**********************************/

  .pool{
    display: block;
  }
  
  .pool .img{
    padding-bottom: 5%;
    text-align: center;
  }

  .pool .tall{
    display: block;
  }
  
  .pool:first-child{
    padding-top: 5%;
  }

  h2 {
    display: block;
    margin-left: auto;
    margin: 0px auto 10% 10%;
    font-size: 40px;
    padding-top: 20%;
    width: 45%;
  }


}
  
@media only screen and (max-width: 1024px) and (min-width: 767px) {

  h2{
    margin-left: 15% !important;
    padding-bottom: 3%;
    width: 40%;
    margin-bottom: 0;
  }

  .title-main h1{
    font-size: 3.2em !important;
    line-height: 16em;
  }

/***********************************NAVIGATION*************************************/

.hidden{
  display: block;
  z-index: 10;
  position: absolute;
  padding: 3% 1% 1% 5%;
}

.close{
  display: none;
}

.main-nav-wrap{
  position: fixed;
  z-index: 5;
  min-width: 1vw;
}

.main_nav {
  font-family: "Open Sans", sans-serif;
  position: absolute;
  display: inline;
  height: auto;
  top: 0;
}

.main_nav a {
  background: rgba(30, 30, 30, 0.9);
  text-align: center;
  display: block;
  color: inherit;
  font-size: 18px;
  letter-spacing: 0;
  min-width: 100vw;
  padding-left: unset !important;
}

ul{
  padding-inline-start: 0px !important;
}


/***********************************LANDING*************************************/

    header p {
      width: 70%;
      left: 15%;
    }

    .header_button{
      width: 20%;
      left: 40%;
    }

/*************************************ABOUT****************************************/

    .about p{
      margin-left: 15%;
      min-width: 70%;
      padding-top: 10%;
    }

/***********************************PORTFOLIO CARDS********************************/

    .grid {
      flex-flow: row wrap;
      padding-top: 0%;
      max-width: 70%;
      margin-left: 15%;
     }

     .card{
       margin-bottom: 0 !important;
     }
     
     .card:not(last-child){
       margin-bottom: 10%;
     }

     .card:first-child{
       margin-top: 20%;
     }

/*************************************CONTACT***************************************/

     .contact {
      flex-flow: row wrap;
      padding-bottom: 20%;
      padding-top: 0;
      margin-top: 10%;
    }
    
    .contact img{
      width: 30px;
      height: 30px;
    }
    
    .item {
      width: 55%;
      border-right: none !important;
      border-bottom: solid 2px #527d95;
      margin: 0% 10% auto 10%;
      padding: 5% 0% 5% 0% !important;
    }
    
    .cont-text {
      text-align: center;
      font-size: 18px;
    }


/*************************************PORTFOLIO****************************************/
.pool{
  display: block;
}

.pool .img{
  padding-bottom: 5%;
  text-align: center;
}

.pool:first-child{
  padding-top: 5%;
}

.pool .tall{
  display: block;
}

}

@media only screen and (min-width: 1025px) and (max-width: 1280px) {

/**********************************************LANDING******************************************/

  .header_content p{
    min-width: 50%;
    left: 25% !important;
  }

  .header_button {
    width: 15%;
    left: 42.5%;
  }

  .title-main h1{
    font-size: 3.2em !important;
    line-height: 15em;
  }

/***************************************PORTFOLIO CARDS****************************************/

  .grid {
    flex-flow: row wrap;
    padding-top: 0%;
    max-width: 50%;
    margin-left: 25%;
   }

   .card{
    margin-bottom: 0 !important;
   }
   
   .card:not(last-child){
     margin-bottom: 10%;
   }

   .card:first-child{
     margin-top: 20%;
   }

/***************************************CONTACT****************************************/

.contact{
  width: 75%;
  margin-left: 12.5%;
}

/***************************************PORTFOLIO****************************************/

.pool{
  width: 47%;
  display: block;
  margin: auto;
}

.pool .img{
  padding-bottom: 5%;
}

}

@media only screen and (min-width: 1281px) {


/**********************************************LANDING******************************************/

  .header_content p{
    min-width: 50%;
    left: 25% !important;
  }

  .header_button {
    width: 15%;
    left: 42.5%;
  }

/****************************************CONTACT***************************************/

.contact{
  width: 70%;
  margin-left: 15%;
}

/****************************************PORTFOLIO***************************************/
















}
