*{
  box-sizing: border-box;
  transition: all ease-in-out 250ms;
}

:root{
  --primary-color: #010d61;
  --secondary-color: #1f366d;
  --tertiary-color: #475777;
  --quaternary-color: #71767e;
  --grey-color: #e1e2e4;
}

body{
margin: 0;
font-family: "Roboto", serif;
}

img{
max-width: 100%;
height: auto;
}

.container{
width: 95%;
margin: 0 auto;
}

.clearfix::after,
section::after,
footer::after{
  content: '';
  display: block;
  clear: both;
}

.mobile{
  display: flex;
  justify-content: center;
}

.desktop{
  display: none;
}

@media (min-width: 40rem){
  .desktop{
    display: inline;
  }
  
  .mobile{
    display: none;
  }
}


/* Column
=========*/

.col-3{
  display: flex;
  flex-direction: column;
}

.col-2{
  display: flex;
  flex-direction: column;
}

.col-1{
  display: flex;
  flex-direction: column;
  width: 50%;
}

@media (min-width: 40rem){
.col-3{
  width: 36.666%;
}

.col-2{
  width: 30%;
}

.col-1{
  width: 16.666%;
}

}


/* Typography
=============*/

.unstyled-list {
  list-style-type: none;
}

a,
a:visited,
a:hover{
  text-decoration: none;
  color: inherit;
}

h1, 
h2, 
h3, 
h4,
h5,
p{
  margin: 0;
}

/* Button
=========*/

.button,
.floating-button{
  display: flex;
  justify-content: center;
  font-size: 1.6rem;
  padding: .5rem;
  border-radius: .3rem;
  border: 2px solid;
  width: fit-content;
}

.floating-button{
  margin: 0 auto;
}


/* Header */

.headerMobile{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 85vw;
  position: fixed;
  border-radius: 10px;
  background-color: white;
  height: 3rem;
  top: 1rem;
  z-index: 99;
  box-shadow: 0 .2rem 1rem -.5rem rgb(121, 111, 111);
}

.headerMobile img{
  width: 60%;
}

.headerMobile img:first-child{
  margin-left: 15%;
}

.bar-holder {
  display: inline-block;
  cursor: pointer;
  padding-right: .6rem;
}

.bar1, .bar2, .bar3 {
  width: 1.8rem;
  height: .17rem;
  background-color: var(--primary-color);
  margin: .4rem 0;
  transition: 0.4s;
  border-radius: 10px;
}

/* The sidepanel menu */
.sidepanel {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
  background-color: var(--quaternary-color);
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}

/* The sidepanel links */
.sidepanel a {
padding: .5rem .5rem .5rem .5rem;
text-decoration: none;
font-size: 1.7rem;
color: white;
display: block;
transition: 0.3s;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
position: absolute;
top: -.75rem;
right: 1rem;
font-size: 5rem;
font-weight: 200;
margin-left: 50px;
color: var(--primary-color);
}

@media (min-width: 40rem) {
 
  header{
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    z-index: 1;
  }

  .headerTop{
    display: flex;
    justify-content: space-between;
    background-color: var(--primary-color);
    color: white;
    padding: .5rem 2rem;
  }

  .headerTop div{
    display: flex;
    align-items: center;
  }

  .headerTop img{
    width: 3.5rem;
  }

  .headerBot{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background-color: white;
  } 
  
  .headerBot img{
    width: 9rem;
  }  
  
  nav ul{
    margin: 0;
    padding: 0;
  }

  nav li{
    display: inline-block;
    position: relative;
    margin: 0 1.5rem;
  }

  nav a{ 
    text-transform: uppercase;
    font-size: 1.3rem;
  }  

  .headerBot3rd{
    display: flex;
    justify-content: center;
    font-size: 1.3rem;
  }

  .vertical-line{
    height: 3rem;
    border-left: 4px solid var(--grey-color);
    border-radius: 10%;
  }

  .headerBot3rd img{
    margin-left: 1.5rem;
    width: 4rem;
  }

  .headerBot3rdBox{
    display: flex;
    flex-direction: column;
    align-items: start;
  }  
  
  .headerBot3rdBox span:first-child{
    color: var(--tertiary-color);
    padding-left: .3rem;
    margin-bottom: .2rem;
    font-size: 1.1rem;
  }

  .underline{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: -.4rem;
    width: 0;
    height: 0;
  } 
  
  .line{
    background-color: var(--primary-color);
    border-radius: .4rem;
    width: 100%;
    height: .3rem;
  }

  nav a:hover{
    color: var(--secondary-color); 
    padding-bottom: -.4rem;
  }

  nav a:hover + .underline{
    width: 100%;
    height: .3rem;
  }


}


/* Header Buffer
================*/

.Header-buffer{
  padding-top: 12vh;
}

@media (min-width: 40rem){
  .Header-buffer{
    padding: 16vh 0;
  }
}

/* Home page Hero
=================*/

.Home-hero{
  display: flex;
  justify-content: center;
  align-items: end;
  background-image: url('/assets/Background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}

.Home-hero-content{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 70vh;
  text-align: center;
}

.Home-hero-content h1{
  color: var(--secondary-color);
  padding: 0 1rem;
  font-size: 2.5rem;
}

.Home-hero-content h1 span{
  color: white;
  text-decoration: underline double var(--secondary-color) 3px;
}

.Home-hero-content a{
  background-color: var(--secondary-color);
  border: none;
  color: white;
}



@media (min-width: 40rem) {
  .Home-hero-content a:hover{
    background-color: var(--grey-color);
    color: var(--secondary-color);
  }
}


/* Home page intro
==================*/

.Home-intro{  
  margin: 2rem auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr 2fr;  
  gap: 1rem;
  overflow: hidden;
}

.Home-intro-large{
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.Home-intro-large img{
  border-radius: 1.5rem;
}

.Home-intro-content{
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  margin-left: 5%;
  flex-direction: column;
  gap: 1.5rem;
}

.Home-intro-content h4{
  color: var(--tertiary-color);
}

.Home-intro-images{
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.Home-intro-images img{
  width: 100%;
}

@media (min-width: 40rem) {

  .Home-intro{
    display: flex;
    position: relative;
  }
  
  .Home-intro-large{
    width: 30%;
  }
  
  .Home-intro-large img{
    border-radius: 1.5rem;
  }
  
  .Home-intro-content{
    display: flex;
    width: 50%;
    margin-left: 5%;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .Home-intro-content h4{
    color: var(--tertiary-color);
  }
  
  .Home-intro-images{
    display: flex;
    justify-content: space-between;
    width: 75%;
    position: absolute;
    bottom: 10%;
    right: 0;
    flex-direction: row;
    gap: 0;
  }
  
  .Home-intro-images img{
    width: 25%;
  }

}

@media (min-width: 99rem){
  .Home-intro-content p{
    line-height: 2.5rem;
  }
}

/* Home Special
===============*/

.Home-special{
  padding: 50vh 0 0;
  background-image: url('/assets/Hector-1.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
}

.Home-special div{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 3rem;
  background: rgba(255, 255, 255, 0.454); 
  padding: 2vh 0;
}

.Home-special h1{
  font-size: 1.8rem;
  color: var(--primary-color);
  line-height: 3rem;
}

.Home-special h2{
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.Home-special a{
  color: white;
  border: black solid 2px;
  background-color: #010d61;
}

@media (min-width: 40rem) {

  .Home-special h1{
    font-size: 2rem;
  }

  .Home-special a:hover{
    background-color: white;
    color: var(--primary-color);
  }

}



/* Home Services
================*/

.Home-services{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 4rem 2.5%;
  row-gap: 4rem;
}

.Home-services-content{
  display: flex;
  flex-direction: column;
  line-height: 3rem;
  margin: auto;
}

.Home-services-content > h2{
  color: var(--tertiary-color);
}

.Home-services-content > h2 > span{
  color: var(--primary-color);
}

.Home-services-card{
  display: flex;
  flex-direction: column;
  background-color: white;
  margin: 0 auto;
  border-radius: 5%;
  box-shadow: 5px 10px 30px -10px var(--quaternary-color);
  width: 85%;
}

[class^=Home-services-card-image]{
  height: 7rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--tertiary-color);
  border-top-right-radius: 5%;
  border-top-left-radius: 5%;
}

.Home-services-card-image-1{
  background-image: url('/assets/Alejandro-4.jpg');
}

.Home-services-card-image-2{
  background-image: url('/assets/Alejandro-3.jpg');
}

.Home-services-card-image-3{
  background-image: url('/assets/Alejandro-1.jpeg');
}

.Home-services-card-image-4{
  background-image: url('/assets/Hector-2.jpg');
}

.Home-services-card-image-5{
  background-image: url('/assets/PSG-1.jpeg');
}

.Home-services-card-content{
  display: flex;
  flex-direction: column;
  margin: 1rem;
  gap: 1.5rem;
}

.Home-services-card-content div{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.Home-services-card-content img{
  width: 20%;
}

.Home-services-card-content h2{
  color: var(--primary-color);
}

.Home-services-card-content h4{
  text-align: center;
  line-height: 1.5rem;
}

.Home-services-card-content .button{
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0 auto;
}


@media (min-width: 40rem){
.Home-services{
  flex-direction: row;
}

.Home-services-content{
  width: 40%;
}

.Home-services-card{
  flex-direction: row;
  width: 40%;
  border-top-right-radius: 5%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

[class^=Home-services-card-image]{
  width: 30%;
  height: auto;
  border-top-left-radius: 5%;
  border-top-right-radius: 0;
}

.Home-services-card-content{
  width: 60%;
  margin: 2rem 1rem;
}

.Home-services-card-content div{
  text-align: center;
  justify-content: start;
}

.Home-services-card-content h2{
  margin: 0 auto
}

.Home-services-card-content .button{
  font-size: .9rem;
  margin: 0;
}

.Home-services-card-content .button:hover{
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
}


/* Home Contact
===============*/
.Home-contact{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--grey-color);
  padding: 2rem 0;
  margin: 2rem auto;
}

.Home-contact > h4{
  color: var(--primary-color);
}

.Home-contact > h2{
  color: white;
}





/* Services Page
================*/

.Services-page{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

.Services-page > h4{
  font-size: .9rem;
  color: var(--tertiary-color);
}

.Services-page > h2{
  font-size: 2.1rem;
  color: var(--primary-color);
  text-align: center;
}

.Services-page .button{
  margin: 2rem 0;
  color: var(--primary-color);
}

.Service-card-holder{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  row-gap: 3rem;
  margin: 2rem auto;
}

.Service-card{  
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: var(--tertiary-color) 2px solid;
  border-radius: 10%;
  padding: 1.5rem 0;
  width: 90%;
  margin: 0 auto;
  gap: 1.5rem;
  box-shadow: 5px 10px 30px -10px var(--quaternary-color);
}

.Service-card-icon{
  position: absolute;
  width: 6rem;
  right: 5%;
  top: 50%;
  transform: translate(0% ,-50%);
}

.Service-card h2{
  color: var(--primary-color);
  padding-left: 1.7rem;
}

.Service-card ul{
  width: 70%;
  margin: 0;
}

.Service-card .button{
  margin: 0 auto;
  color: var(--primary-color);
}



@media (min-width: 40rem){
  .Services-page{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
  }

  .Services-page > h4{
    font-size: .9rem;
    color: var(--tertiary-color);
  }

  .Services-page > h2{
    font-size: 2.1rem;
    color: var(--primary-color);
  }

  .Service-card-holder{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 6rem 0 4rem;
    row-gap: 8rem;
  }

  .Service-card{  
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 25%;
    margin: 0 2.5%;
    border: var(--primary-color) 2px solid;
    border-radius: 10%;
    padding: 0 0 1rem;
  }

  .Service-card-icon{
    position: absolute;
    width: 6rem;
    top: -18%;
    right: 50%;
    transform: translate(50%, 0%);
  }

  .Service-card h2{
    color: var(--primary-color);
    text-align: center;
    margin-top: 3rem;
    padding: 0;
  }

  .Service-card ul{
    width: 75%;
  }

  .Service-card button{
    margin: 0;
  }

  .Service-card .button:hover{
  color: var(--tertiary-color);
  }

  .Services-page .button:hover{
    color: white;
    background-color: var(--primary-color);
  }
}

/* Sub Services Page
====================*/

.Sub-services-page{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

.Sub-services-page h4{
  color: var(--tertiary-color);
  font-size: .9rem;
}

.Sub-services-page h2{
  color: var(--primary-color);
  font-size: 1.8rem;
  text-align: center;
}

.Sub-services-panel-holder{
  display: flex;
  flex-direction: column;
  width: 90%;
  row-gap: 2rem;
  margin: 10% 0;
}

.Sub-services-panel{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 40vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  border-top: var(--secondary-color) .75rem solid;
  border-bottom: var(--tertiary-color) .75rem solid;
}

.Sub-services-panel span{
  position: absolute;
  height: 40vh;
  width: 100%;
  background-color: rgba(0, 0, 0, .4);
}

.Sub-services-panel a{
  display: flex;
  position: relative;
  height: 40vh;
  color: white;
  font-weight: 700;
  font-size: 1.9rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.Sub-services-page .button{
  color: var(--primary-color);
  margin: 2rem 0 5rem;
}

.Sub-services-page .button:hover{
  color: white;
  background-color: var(--primary-color);
}

@media (min-width: 40rem){
  .Sub-services-page{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
  
}

.Sub-services-page h4{
  color: var(--tertiary-color);
  font-size: .9rem;
}

.Sub-services-page h2{
  color: var(--primary-color);
  font-size: 1.8rem;
}

.Sub-services-panel-holder{
  display: flex;
  flex-direction: row;
  border-top: var(--secondary-color) .75rem solid;
  border-bottom: var(--tertiary-color) .75rem solid;
  width: 100%;
  margin: 5vh 0;
}

.Sub-services-panel{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  height: 70vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  border: none;
}

.Sub-services-panel span{
  position: absolute;
  height: 70vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.Sub-services-panel a{
  position: relative;
  color: white;
  height: 70vh;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10%;
  align-items: end;
}

.Sub-services-panel:hover span{
  background-color: rgba(0, 0, 0, 0);
}

}

/* Sub Services Page Background Image
=====================================*/

.New-home-construction-panel{
  background-image: url('/assets/Alejandro-5.jpg');
}

.Home-additions-panel{
  background-image: url('/assets/PSG-3.jpg');
}

.Garage-construction-panel{
  background-image: url('/assets/PSG-2.jpg');
}

.Guest-house-panel{
  background-image: url('/assets/PSG-4.jpg');
}

.Full-home-renovations-panel{
  background-image: url('/assets/Hector-5.jpg');
}

.Kitchen-remodeling-panel{
  background-image: url('/assets/PSG-5.jpg');
}

.Bathroom-remodeling-panel{
  background-image: url('/assets/PSG-6.jpg');
}

.Basement-finishing-panel{
  background-image: url('/assets/Alejandro-6.jpg');
}

.Attic-panel{
  background-image: url('/assets/PSG-7.jpg');
}

.Open-concept-panel{ 
  background-image: url('/assets/Michael-6.jpg');
}

.Framing-panel{ 
  background-image: url('/assets/PSG-9.jpeg');
}

.Painting-panel{
  background-image: url('/assets/Hector-8.jpg');
}

.Flooring-panel{
  background-image: url('/assets/PSG-14.png');
}

.Trim-panel{
  background-image: url('/assets/PSG-13.png');
}

.Cabinet-panel{
  background-image: url('/assets/Alejandro-7.jpg');
}

.Custom-carpentry-panel{
  background-image: url('/assets/Hector-7.jpg');
}

.Landscaping-panel{
  background-image: url('/assets/Hector-6.jpg');
}

.Deck-panel{
  background-image: url('/assets/Alejandro-9.jpg');
}

.Siding-panel{
  background-image: url('/assets/Alejandro-10.jpg');
}

.Roofing-panel{
  background-image: url('/assets/Alejandro-8.jpg');
}

.Window-panel{
  background-image: url('/assets/Michael-7.jpg');
}

.Fencing-panel{
  background-image: url('/assets/PSG-8.jpg');
}

.Mold-panel{
  background-image: url('/assets/Hilario-1.jpeg');
}

.Foundation-panel{
  background-image: url('/assets/Hector-4.jpg');
}

.HVAC-panel{
  background-image: url('/assets/PSG-12.png');
}

.Insulation-panel{
  background-image: url('/assets/PSG-11.png');
}

.Electrical-panel{
  background-image: url('/assets/');
}

.Plumbing-panel{
  background-image: url('/assets/PSG-10.jpeg');
}


/* Single Service Page
======================*/

.Single-service-page{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.Single-service-page h4{
  font-size: .9rem;
  color: var(--tertiary-color);
}

.Single-service-page h2{
  font-size: 1.7rem;
  color: var(--primary-color);
  text-align: center;
  margin: 0 2.5%;
}

.Single-service-content{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  margin: 1rem 0;
  gap: 2rem;
}

.Single-service-img{
  width: 75%;
  height: 30vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 5%;
  box-shadow: 5px 10px 30px -10px var(--quaternary-color);
}

.Single-service-body{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85%;
  line-height: 2rem;
}

.Single-service-body span{
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

.Single-service-page .button{
  color: var(--primary-color);
  margin: 2rem 0;
}

@media (min-width: 40rem){
  .Single-service-page{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .Single-service-page h4{
    font-size: .9rem;
    color: var(--tertiary-color);
  }

  .Single-service-page h2{
    font-size: 1.7rem;
    color: var(--primary-color);
  }

  .Single-service-content{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 2rem 0;
  }

  .Single-service-img{
    width: 40%;
    height: 50vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5%;
    box-shadow: 5px 10px 30px -10px var(--quaternary-color);
  }

  .Single-service-body{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50vh;
    width: 40%;
    line-height: 2rem;
  }

  .Single-service-body span{
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
  }

  .Single-service-page .button:hover{
    color: white;
    background-color: var(--primary-color);
  }
}


/* Contact Page
===============*/

.contact-page{
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 0;
}

.contact-page span{
  margin: .5rem 0;
}

.contact-form-holder{
  display: flex;
  background-color: white;
  flex-wrap: wrap;
  padding: .5rem 0;
  justify-content: center;
  align-items: center;
  width: 95%;
  margin: 2rem auto;
  border-radius: .5rem;
  
}

.contact-info{
  display: flex;
  flex-direction: column;

  background-color: white;
  width: 95%;
  margin: 2rem 0;
  color: var(--primary-color);
  border-radius: .5rem;
  border: var(--secondary-color) solid .125rem;
}

.contact-info h2{
  margin: 1rem auto;
  padding-top: 1rem
}

.contact-info-box{
  display: flex;
  align-items: center;
  padding-right: .5rem;
  flex-wrap: wrap;
}

.contact-info-box img{
  width: 2rem;
  margin: 2rem .5rem;
}

.contact-form{
  display: flex;
  flex-direction: column;
  justify-content: baseline;
  width: fit-content;
  margin: 0;
  background-color: white;
  padding: 1rem;
}



.contact-title{
 display: flex;
 align-items: center;
 justify-content: space-between;
 width: fit-content;
 color: var(--primary-color);

}

.contact-title hr{
  color: var(--primary-color);
}


.contact-inputs,
.submit,
select{
  margin: .5rem 0;
  height: 2rem;
  border: .125rem solid var(--secondary-color);
  border-radius: .5rem;
  background: transparent;
  width: 18rem;
}



.contact-inputs::placeholder{
  padding-left: .5rem;
}

.custom-select{
  display: flex;
  justify-content: baseline;
}

.contact-message{
  height: 4rem;
}

.button-holder{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.submit{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  width: fit-content;
  background-color: var(--primary-color);
  color: white;
}

.submit-img{
  width: 1rem;
  margin-left: .5rem;
}

.form-branding{
  width: 4rem;
}

@media (min-width: 40rem){

  .contact-form-holder{
    align-items: stretch;
    justify-content: center;
    box-shadow: 0 .5rem 2rem -.2rem rgba(0 , 0 , 0, .25);
    border-radius: .75rem;
    margin: 2rem auto;
    width: fit-content;
    height: fit-content;
    padding: 1rem 0;
  }

  .contact-info{
    justify-content: space-evenly;
    padding: 0rem 4rem 0rem 2rem;
    margin: 0rem 1rem 0 .5rem;
    height: fit-content;
    border-radius: .75rem;
    width: fit-content;
  }

  .contact-form{
    justify-content: space-between;
    padding: 0 3rem;
    margin: 1rem 0;
    border-radius: .75rem;
  }

}















/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 3.5s;
}

@keyframes fade {
  from {opacity: .6}
  to {opacity: 1}
}









/* Footer 
=========*/

.footer-top{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  padding: 2rem 2.5%;
  gap: 2rem 0;
  background-color: var(--grey-color);
}

.footer-branding{
  align-items: center;
  color: var(--secondary-color);
  font-size: 1.4rem;
  font-weight: 700;
  gap: 2rem;
  line-height: 2.5rem;
}

.footer-branding span{
  color: white;
}

.footer-nav{
  gap: .8rem;
  display: flex;
}

.footer-nav > span{
  display: flex;
  align-items: center;
  word-break: break-word;
}

.footer-nav span:first-child{
  font-weight: 700;
  color: var(--primary-color);
  padding-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-nav > span > img{
  width: 2.5rem;
  padding-right: .5rem;
}

.footer-bot{
  background-color: var(--tertiary-color);
  padding: .8rem 0;
  font-size: .8rem;
  color: white;
  display: flex;
  justify-content: center;
  gap: .8rem;
}


@media (min-width: 40rem) {

  .footer-top{
    justify-content: space-around;
    gap: 0;
    padding: 4rem 2.5%;
    align-items: start;
  }

  .footer-branding{
    font-size: 1.7rem;
    font-weight: 700;
    gap: 5rem;
    line-height: 3rem;
  }

  .footer-nav > span > img{
    width: 1.8rem;
  }

  .footer-nav{
    gap: 1.2rem;
    align-items: end;
  }

  .footer-nav > span{
    display: flex;
    align-items: center;
    width: 60%;
    word-break: break-word;
    flex-direction: row;
  }

  .footer-nav:last-child span{
    width: 70%;
  }

  .footer-nav a:hover{
    color: var(--secondary-color);
  }

  .footer-nav > span > img{
    width: 3rem;
    padding-right: .5rem;
  }

}





.Koi-tag{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}

.Koi-tag a{
  width: fit-content;
  display: flex;
  align-items: center; 
}

.Koi-logo{
  width: 1.4rem;
  padding-left: .2rem;
}