html {
  scroll-behavior: smooth;
  height: 100%;
}
body{
    overflow-x: hidden;
    width:100%; height: 100%;
    margin:0;
    background: #F5F4F4;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.4em;
    letter-spacing: .02em;
    color:#4d5e7b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {flex: 1;}
* {
  box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6{
    margin: 10px 0 25px;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    line-height: 110%;
}
h1{font-weight: 300;letter-spacing: 0; font-size: 3rem;}
h3,{
    background: linear-gradient(to right, #56C7FF, #9AE7C8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 2rem;
}
p{    margin-top: 0;    margin-bottom: 25px;}

@media (max-width: 768px) {
    body{font-size: 1em;}
    h1{font-size: 2rem;}
}

/*************************************/
/***********   STRUCTURE   ***********/
.block{
width:84%;
margin:2% auto;
max-width: 1600px;
}
figure{margin: 0;}
figcaption{
  font-size: .8em;
  margin:10px 0 30px 2vw;
}
img, .video iframe{
    border-radius: 20px;
    display: block;
}
.block > img, .block > a img, .block > figure img{
    width: 100%;
}
.col2{
  max-width: 1600px;
  display:flex;
  flex-direction: row;
}
.col2 > img, .col2 > figure{
    width:49%;
    margin-right: 2%;
}
.col2 > img:last-of-type{ margin-right:0;}



@media (max-width: 768px) {
  .block{margin:5% auto;}
    .col2{
        display:flex;
        flex-direction: column;
    }
    .col2 > img{
        width:100%;
        margin-bottom: 5%;
    }
    .col2 > img:last-of-type{ margin-bottom:0;}

}

/*************************************/
/***********   HEADER   **************/

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4%;
}

.desktop-nav {
  display: flex;
  align-items: center;

}

.logo img{
    height:60px;
    border-radius: 0;
    background-color: linear-gradient(to right, #56C7FF, #9AE7C8) 1;
}
.logo a:hover{
    opacity: .5;
    transition: opacity 0.3s ease;
}

.desktop-nav a,
.mobile-nav a {
    color:#4d5e7b;
    text-decoration: none;
    margin-left: 2vw;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 10%;
    font-style: normal;
    font-size: .8em;
}
.desktop-nav a:first-of-type{margin: 0;}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color:#56C7FF;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  background: #4d5e7b;
  margin: 6px 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-overlay.is-open {
  display: flex;
}

.close-menu {
  position: absolute;
  top: 24px;
  right: 32px;
  border: 0;
  background: transparent;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  color: #4d5e7b;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.5rem;
}

body.menu-open {
  overflow: hidden;
}

.line{
    background: #DFE5F3;
    height: 2px;
    width: 100%;
    flex: 10;
    margin: 0 2vw;
}

@media (max-width: 767px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    padding: 20px 24px;
  }
}




/*****************************************/
/***********   HOME / WORKS   ***********/
.home-blurb{
  margin:15vh auto;
  max-width: 800px;
}
.home-blurb h1{
  font-size: 3.5rem;
  line-height: 120%;
}
.project-preview{
  max-width: 800px;
  margin: 0 auto 8vh;
  text-align: center;
}
.project-preview a{
  color: #4d5e7b;
  font-size: 2rem;
  text-decoration: none;
  font-weight: 600;
  line-height: 110%;
}
.project-preview p{margin-top: 20px;}

@media (max-width: 767px) {
  .home-blurb{margin: 10vh auto;}
  .home-blurb h1{font-size: 2.5rem;}
  .project-preview a{font-size: 1.5rem;}
}

/***********************************************/
/***********   PROJECT Text Blocks   ***********/
.title{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1100px;
    margin-left: auto; margin-right: auto;
    padding: 2vh 0 4vh;
    border-bottom: 4px solid;
    border-image: linear-gradient(to right, #56C7FF, #9AE7C8) 1;
}
.title .summary{
    font-size: 1.7rem;
    margin: 0;
}
.copyblock{
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1100px;
    margin-left: auto; margin-right: auto;
    padding: 4vh 0;
    border-bottom: 4px solid;
    border-image: linear-gradient(to right, #56C7FF, #9AE7C8) 1;
}
.no-bottom-border{border-bottom: none;}
.overview{
    flex-grow: 4;
    padding-right: 2%;
}
.attributes{
    flex: 1;
    min-width: 250px;
     border-left: 0px solid;
    border-image: linear-gradient(to top, #56C7FF, #9AE7C8) 1;
    font-size: 1.2rem;
}
.attributes ul{
    list-style: none;
}
.attributes ul li{
    margin-bottom: 15px;
}

.section-copy{
    display: flex;
    flex-direction: column;
    max-width:750px;
    margin-left: auto; margin-right: auto;
    padding: 2vh;
    /*border: 4px solid transparent;
    border-radius: 20px;
    background: 
    linear-gradient(#F8F7F7, #F8F7F7) padding-box,
    linear-gradient(to right, #56C7FF, #9AE7C8) border-box; /* Outer background (border area) */
}

@media (max-width: 768px) {
    .attributes{display: none;}
    .title .summary{font-size: 1.3rem;}
}


/*************************************/
/***********   TOP THE TOP ***********/
.tothetop{
    position: fixed;
    right:0;
    bottom: 10vh;
    
}
.tothetop a{
    transform: rotate(-90deg);
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color:white;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(to top right, #56C7FF, #9AE7C8);
}
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;

    background: linear-gradient(to top right, #56C7FF, #9AE7C8);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}




/*************************************/
/***********   ABOUT    **************/
.about{
  display: flex;
  flex-direction: row;
}
.col-about{
  flex: 1;
  padding: 2vw;
}
.col-about img{
  width:100%;
}

.col-about ul li{
  margin-bottom: 15px;
}

.col-about:first-of-type{flex:2;}
.col-about:last-of-type{flex:3;}
.about-links{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #DFE5F3;
  
}
.about-links a{
  text-decoration: none;
  color:#4d5e7b;
}
.about-links a:hover{opacity: .7;}
.about-links img{
  max-width:40px;
  border-radius: 0;
  margin-right: 20px;
}

@media (max-width: 1024px) {
  .about{flex-direction: column;}
  
}


/**************************************/
/***********   CONTACT   **************/
.contact{
  width: 50%;
  max-width: 700px;
  padding: 0 10px;
  margin: 8vh auto 8vh;
}
.contact form{
  display: flex;
  flex-direction: column;
}
form input, form textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #DFE5F3;;
  color:#4d5e7b;
  background-color: white;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1rem;
  margin-top: 10px;
}

form label{
  margin-top: 2vw;
  font-size: 1rem;
}

form button{
  /*background: linear-gradient(to top right, #56C7FF, #9AE7C8);
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  color:white;
  padding: 12px 20px;
  display: inline;
  align-self: flex-start;
  cursor: pointer;
  letter-spacing: 5%;
  */
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline;
  align-self: flex-start;
  cursor: pointer;
  letter-spacing: 5%;
  color:#4d5e7b;
  font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}
/*
form input:focus-visible, form textarea:focus-visible{border: 1px solid #56C7FF;}
*/
form button:hover{
  color: #56C7FF;
  transition: background .3s ease ease;
}
form button:active{
  color: #9AE7C8;
}

@media (max-width: 767px) {
  .contact{
    width: 90%;
  }
}




/***************************************/
/*********** Link Hover Anim ***********/

.link-anim {
  position: relative;
  display: inline-block;
  color: #4d5e7b;
  text-decoration: none;
  font-weight: 600;
}

.link-anim::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: currentColor;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.link-anim:hover::after,
.link-anim:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}




/*************************************/
/***********   FOOTER   **************/

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4vw;
}

footer .logo {
  margin: 0 2vw;
}

.site-footer .line{
    background: #DFE5F3;
    height: 2px;
    width: 100%;
    flex: 10;
    margin: 0;
}

.copyright{
    font-size: .6rem;
    margin: 10px auto;
    text-align: center;
}

@media (max-width: 767px) {

}