/* Root Styles */
*, ::after, ::before {
    padding: 0;
    margin:0;
    box-sizing: border-box;
}

:root {
    --main-color: #739ebf;
    --main-color-dark:hsla(206, 38%, 30%,80%);
    --white-text:#ffffff;
    --main-font: 'Inknut Antiqua', serif;  
    --heading-font: 'Kumbh Sans', sans-serif;
    --highlight-yellow: #ffcb47;


}
/* wordpress added pages styles */

.page-container{
  display:flex;
  justify-content: center;
  background: var(--highlight-yellow);
  /* border:1px solid red; */
}
.page-contents{
  /* border:1px solid purple; */
  width:80%;
  background: var(--highlight-yellow);
}

h2 {
  color:var(--main-color);
  font-family: var(--main-font) !important;
  
}

span {
  font-family: var(--main-font) !important;
  font-size: 1em !important;
  color:var(--main-color) !important;
}

li{
  margin-left:4em;
}

p {
  padding:1em 0em;
  
}









/* Header Styles */
header {
    width: 100%;
    /* border: 1px solid black;  */
    display: flex;
    background-color: var(--main-color);
}

.buisness-logo-container{
    width:50%;
    /* border: 1px solid red; */
    display:flex; 
    align-items: center;
    justify-content: flex-start;
}



.title-drouin,.hero-text-heading{
    font-family: 'Inknut Antiqua', serif;
    line-height:1.2;
    color: var(--white-text) !important;
    /* border: 1px solid red;  */
}


nav {
    width:50%;
    /* border: 1px solid green;  */
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--main-font);
    z-index: 1000;
    
}

.menu-header-menu-container{
  width:100%;
}

.nav-ul, .menu{
    display:flex; 
    list-style-type: none;
    justify-content: space-around; 
    /* border: 1px solid red; */
    
    width:100%;
    
}
.nav-ul-li, .menu-item{
  margin-left: 0;
  color:purple;
  
}


.nav-anchor, .menu-item > a{
    text-decoration: none;
    color:var(--white-text); 
    transition: color 0.3s;
}

.menu-item > a:hover {
  color:var(--highlight-yellow);
}
.current-menu-item{
  /* border:1px solid red; */
  position:relative;
}

.current-menu-item::after{
  content: '';
  border:2px solid var(--highlight-yellow);
  width:100%;
  position:absolute;
  left:0;
  bottom:5px;
  border-radius: 5px;
  
}

.hamburger-container{
    display: none;
    position:relative;

}
.hamburger{
    
    width: 50px;
    height: 3px;
    border-radius: 3px;
    background-color: var(--white-text);
    translate: 0px 13px; 
    /* border: 1px solid red; */

}
.hamburger::before, .hamburger::after{
    content:"";
    position: absolute;
    width: 50px;
    height: 3px;
    border-radius: 3px;
    background-color: var(--white-text);
    /* border: 1px solid red; */

}
.hamburger::before{
    top:-10px;
    rotate: 0deg;
    translate: 0px 0px;
    transition: rotate 0.75s, translate 0.75s;
}

.hamburger::after{
    top:10px;
    rotate: 0deg;
    translate: 0px -px;
    transition: rotate 0.75s, translate 0.75s;
}


.rotate::before {
    rotate: 45deg;
    translate: 0px 10px;
    transition: rotate 0.75s, translate 0.75s;
}
.rotate::after {
    rotate: -45deg;
    translate: 0px -10px;
    transition: rotate 0.75s, translate 0.75s;
}

.rotate { 
    background-color: var(--main-color);
}

@media only screen and (max-width: 700px) {
    .hamburger-container {
      display:block;
      /* border: 1px solid green; */
      min-height: 30px;
    }
    .nav-ul, .menu{
        position:absolute;
        flex-direction: column;
        /* border: 3px solid pink; */
        width:50%;
        top:0;
        left:-50%;
        align-items: center;
        height: 100vh;
        background-color: var(--main-color-dark);
        transition: left 0.75s;
        
    }
    .navigation-container {
        justify-content: flex-end;
        margin-right: 20px;
    }
  }

  /* Hero Section Styles */

  .hero{
    width: 100%;
    /* border: 1px solid purple; */
    background-color: var(--main-color);
    display:flex;
    justify-content: center;
    
    
  }

  .main-text{
    width:45%;
    /* border: 2px solid red; */
    margin-right:10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:2em 1em;

  }
  
  .hero-text-heading{
    font-family: var(--heading-font);
    font-size: 4em;
    text-align: center;
    /* border: 1px solid green; */
  }

  .hero-text-paragraph{
    /* border: 1px solid green; */
    font-family: var(--main-font);
    color: var(--white-text);
    text-align: center;
    font-size: 1.3em;
    line-height: 2;
  }

 .anchor-hero-butoons{
  text-decoration: none;
 }

  .hero-button {
    background-color: var(--highlight-yellow);
    padding:0.75em 1.5em;
    border:1px solid var(--highlight-yellow);
    border-radius: 0.5em;
    font-family: var(--main-font);
    color:var(--main-color);
    line-height: 1;
    font-size: 1.1em;
    margin: 1.2em 1em; 
    box-shadow: -5px 5px 4px hsla(0, 0%, 0%, 40%);
    width: 8em;
  }

  .hero-button:hover {
    box-shadow: -5px 5px 4px hsla(0, 0%, 0%, 60%);
    cursor: pointer;
  }
  .hero-button:active {
    box-shadow: -5px 5px 4px hsla(0, 0%, 0%, 0%);
    cursor:pointer;
  }

  .hero-image{
    position:relative;
    width:45%;
    /* border: 2px solid red; */
    margin: 2em 0em;
   
  }

  #hero-img{
    /* rotate:90deg; */
    display:block;
    position:absolute;
    bottom:0;
    left:0;
    /* border:1px solid yellow; */
    width: 450px;
    translate: 0em 2em;
 
  }

@media only screen and (max-width: 930px) {
  .hero{
    display:block;
  }
  .main-text{
    width: 60%;
    margin:0em auto;
  }
  .hero-image{
    width:60%;
    /* border: 2px solid red; */
    margin:0px auto;
    
    /* margin: 2em 0em; */
  }
  #hero-img{
    position:static;
    object-fit: cover;
    width:100%;
    /* border: 1px solid greenyellow; */
    translate: 0em 0em;
    
  }

}
@media only screen and (max-width: 600px) {
  .hero-button {
    margin: 0.4em auto;
    display:block;
    
  }
}

/* Section 2 - Cards Styles */

.section-cards{
  width:100%;
  /* border: 1px solid red; */
  display: flex;
  justify-content: space-around;
  background-image: url("images/plaster-background.jpg");
  background-size: cover;
  flex-wrap: wrap;
  

}

.card{
  /* border: 1px solid var(--main-color-dark); */
  box-shadow: -8px 8px 5px hsla(0, 0%, 0%, 60%);
  border-radius: 10px;
  margin:1em 0.5em;
  width:12em; 
  background-color: var(--main-color);
  font-family: var(--main-font);
  color:var(--white-text);
  line-height: 1;
}
.card:hover{
  box-shadow: -8px 8px 5px hsla(0, 0%, 0%, 65%);
}

.card-title{
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
  padding:1em 0em;
  color:var(--white-text);
}

.card-content{
  padding:0em 0.2em;
  font-weight: 100;
  text-align: center;
  padding-bottom: 1em;
  line-height: 1.8em;
}

/* Section 3 - Quote Form Styles */

.section-quotes{
  background-color: var(--highlight-yellow);
  display:flex;
  justify-content: center;
}

.gallery-container{
  width:45%;
  margin: 3em 0em;
  
}

#img-ceilingrose{
  display:block;
  object-fit: cover;
  width:100%;
  
}

.quote-form-container{
  width:45%;
  margin: 3em 0em;
  position:relative;
  /* border: 1px solid blue; */
}

.quote-title, .gallery-title{
  /* border:1px solid red; */
  text-align: center;
  font-family: var(--heading-font);
  color: var(--main-color);
  font-size: 3em;
  line-height:1.5
}

::placeholder{
  color:var(--main-color);
  font-family: var(--main-font);
  /* font-size: 1.5em; */
}

.quote-input, .message{
  width: 100%;
  border:none;
  background-color: var(--highlight-yellow);
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  margin-top:2em;
  height:2.5em;
  padding:0.3em;
  font-family: var(--main-font);
  font-size: 1.0em;
  line-height: 1;
}
.quote-input:focus, #message:focus{
  outline: none;
}

.message{
  height:200px;
  /* border: 1px solid blue; */
  width:100%;
}

#send, .button-gallery, .button-browse {
  border:none;
  background-color: var(--main-color);
  color:var(--white-text);
  padding: 0.6em 1.2em;
  font-family: var(--main-font);
  font-size: 1.0em;
  line-height: 1;
  border-radius:5px;
  /* border:2px solid red; */
  display: block;
  margin-left:auto;
  box-shadow: -5px 5px 4px hsla(0, 0%, 0%, 40%);
}

.anchor-button-gallery{
  text-decoration: none;
}
.button-gallery{
  margin:auto;
  margin-top:1em;
}

#send:hover, .button-gallery:hover, .button-browse:hover{
  box-shadow: -5px 5px 4px hsla(0, 0%, 0%, 60%);
  cursor: pointer;
}

#send:active, .button-gallery:active, .button-browse:active{
  box-shadow: -5px 5px 4px hsla(0, 0%, 0%, 0%);
  cursor: pointer;
}

.loading-container {
  position:absolute;
  width:100%;
  height: 100%;
  background-color: hsla(43, 60%, 64%,50%);
  top:0;
  left:0;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 1s, visibility 1s;
  
}
/* The animation code */
@keyframes spinner {
  0%   {rotate: 0deg;}
  50%  {rotate: 180deg;}
  100% {rotate: 360deg;}
}

.loading-spinner{
  width:100px;
  height:100px;
  border-radius: 50%;
  border-top: 7px solid var(--main-color);
  rotate: 0deg;
  animation-name: spinner;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  transition: opacity 1s, visibility 1s;
}

.confirmation-message{
  font-family: var(--main-font);
  color:var(--main-color);
  font-size: 1.5em;
  line-height: 1;
  transition: opacity 1s, visibility 1s;
}

.hide-loading{
  opacity:0;
  visibility: hidden;
  
}

.drop-zone {
  height:100px;
  border:2px dashed var(--main-color);
  border-radius: 10px;
  margin-bottom: 20px;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: var(--main-font);
  color: var(--main-color);
  line-height: 1.1em;
}

.drop-label-container{
  display:flex;
  justify-content: space-around;
  width:60%;
  
  
  align-items: center;
}

.active-zone{
  border:2px solid var(--main-color);
}

.uploaded-file, .disappear{
  display:none;
}

.show-uploaded-file{
  display:block;
}

@media only screen and (max-width: 750px) {
  .section-quotes{
    flex-direction: column;
    align-items: center;
  }
  .quote-form-container, .gallery-container{
    width:90%;
    /* border:1px solid red; */
    margin:1em 0em;
  }  
}

/* Footer Styles */
footer{
  background-color: var(--main-color);
  display:flex;
  justify-content: space-around;
  flex-wrap: wrap;
 
}
.footer-img-container{
  width:25%;
  margin:2em 0em;
  /* border:1px solid red; */
}


#img-plaster-cartoon{
  display:block;
  margin:auto;
  width:150px;
}

.footer-info-container{
  font-family: var(--main-font);
  color: var(--white-text);
  line-height: 1.8;
  margin:2em 0em;
  /* width:75%; */
  display:flex;
  flex-direction:column;
  align-items:flex-start; 
  /* border: 1px solid red; */
}

.info{
  padding:0;
}

.instagram-container{
  display:flex;
  /* margin-left:20%;  */
  /* border:1px solid red; */
  
}

.instagram-tagline{
  font-family: var(--heading-font);
  color:var(--white-text);
  margin-left:0.5em;
  font-size: 2em;
  line-height: 1;

}

#img-instagram-icon{
  width:30px;
}

.site-design{
  font-size:0.5em;
}



/* Quotes and Contact Page */
.contact-container{
  display:flex;
  justify-content: center;
  background: var(--highlight-yellow);
  padding-bottom:2em;
  /* border:1px solid red; */
}
.contact-contents{
  /* border:1px solid purple; */
  width:90%;
  background: var(--highlight-yellow);
  display:flex;
  justify-content: space-between;
}

.contact-form-container{
  margin:0em 0em;
  width:50%
}

.contact-info-container{
  /* border:1px solid red; */
  width:45%;
  display:flex;
  flex-direction: column;
  align-items: center;
}

.info-container{
  /* border:1px solid green; */
  font-family: var(--main-font);
  color:var(--main-color);
}

#contact-instagram-icon{
  width:30px;
}

.contact-instagram-tagline{
  font-family: var(--heading-font);
  color:var(--main-color);
  margin-left:0.5em;
  font-size: 2em;
  line-height: 1;

}

.input-correct{
  border-bottom:2px solid var(--main-color);
  background-color: rgba(0, 0, 0,0);
}

.input-incorrect{
  border-bottom: 2px solid rgb(224, 21, 21);
}


@media only screen and (max-width: 750px) {
  .contact-contents{
    flex-direction: column;
    align-items: center;
  }
  .contact-form-container, .contact-info-container{
    width:100%;
    /* border:1px solid red; */
    
  }  

  .contact-form-container{
    order:2;
  }
}




