/* Font */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap");

/* Elements */

* {
/*     margin: 0;
    padding: 0; */
    box-sizing: border-box;
    max-width: 100%;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: white;
}

a:link {
    text-decoration: none;
    color: white;
}

a:visited {
    text-decoration: none;
    color: white;
}

a:active {
    text-decoration: none;
    color: white;
}

body {
    background-color: #f9f9f9;
}

h1 {
    font-weight: 300;
    font-size: 2.625em;
}

h3 {
    color: white;
    font-weight: 700;
    font-size: 0.9em;
    padding: 0.8em;  
}

html {
    font-size: 1rem;
    scroll-behavior: smooth;
}
ul {
    list-style-position: inside;
}


@include media-breakpoint-up(sm) {
    html {
      font-size: 1.2rem;
    }
  }
  
  @include media-breakpoint-up(md) {
    html {
      font-size: 1.4rem;
    }
  }
  
  @include media-breakpoint-up(lg) {
    html {
      font-size: 1.6rem;
    }
  }

/* Classes */

.centre {
    text-align: center;
}

.change-colour {
    background-color: white !important;
    border-bottom: 2px solid black !important;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 2em;
}

.home-intro h1 {
    overflow: hidden;
}

.home-intro .title-slider {
    display: inline-block;
    max-height: 50px;
    vertical-align: top;
    position: relative;
    height: 50px;
    width: 200px;
    overflow: hidden;
}

.home-intro span {
    display: block;
    position: absolute;
    animation-duration: 10s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}


.title-slide:nth-child(1){
    animation-name: anim-1;
}

.title-slide:nth-child(2){
    animation-name: anim-2;
}

.title-slide:nth-child(3){
    animation-name: anim-3;
}

.title-slide:nth-child(4){
    animation-name: anim-4;
}

.logo {
    max-width: 6em;
    max-height: 6em;
    /* position: absolute;
    top: 30%;
    left: 10%; */
}

.navbar-nav.navbar-center {
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
}

.parallax {
    background: linear-gradient(to right, rgba(137, 156, 161, 0.8), rgba(39, 70, 83, 0.8)), url("../images/header2.jpg");

    /* Set a specific height */
    min-height: 100vh;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (min-width: 800px) {
    .parallax {
        background: linear-gradient(to right, rgba(137, 156, 161, 0.8), rgba(39, 70, 83, 0.8)), url("../images/header.jpg");

        /* Set a specific height */
        min-height: 100vh;
    
        /* Create the parallax scrolling effect */
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    }

.sampleimg {
    max-width: 25em;
    max-height: 25em;
}

.sampleimg:hover {
    opacity: 0.5;
}

/* Ids */

#clients {
    padding: 5em 7.5vw;
}

#contact-form .form-control {
    background: transparent;
    border: 0;
    border-bottom: 3px solid #f0f0f0;
    border-radius: 0;
    box-shadow: none;
    margin: 10px 0;
  }
  
  #contact-form input[type='submit'] {
    background: #202020;
    border-radius: 50px;
    border: 0;
    color: #ffffff;
  }

  #contact-form input {
    height: 50px;
  }


  #contact-form input[type='submit']:hover {
    background: #29ca8e;
    color: #ffffff;
  }

#container {
    padding: 0em 25em;
}

#footer {
    background-color: rgba(39, 70, 83, 0.8) ;
    padding-bottom: 20px;
}

#gallery {
    background: linear-gradient(rgba(255, 255, 255, 0.8) 0%, rgba(39, 70, 83, 0.8) 100%);
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px; 
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#head1,
#head3 {
    color: white;
}

#headbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (max-width: 768px) {
  #menu {
    background-color: transparent;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    /* height: 15vw; */
    padding: 2.5vw 4vw 1.5vw;
    border-bottom: 2px solid white;
    transition: background-color 0.25s ease-in-out;
    z-index: 100;
  }
}
@media only screen and (min-width: 769px) {
    #menu {
    background-color: transparent;
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    /* height: 15vh; */
    padding: 2.5vw 4vw 1.5vw;
    border-bottom: 2px solid white;
    transition: background-color 0.25s ease-in-out;
    z-index: 100;
    }
}

#note {
    padding-top: 2em;
    font-style: italic;
}

#pricecontainer {
    padding: 0 7.5vw;
}

#priceheader {
    padding: 2em 0;
}

#sayhello {
    display: inline;
    float: right;
}




@keyframes anim-1 {
    0% { bottom: 0;}
  15% { bottom: 110%;}
    84% { opacity: 0; bottom: 110%;}
    85% { bottom: -110%; opacity: 0;}
  86% {bottom: -110%; opacity: 1;}
    100% { bottom: 0;}
}

@keyframes anim-2 {
	0% { bottom: -110%;}
  15% { bottom: 0;}
  30% { bottom: 110%; opacity: 1;}
    31% { opacity: 0; bottom: 110%;}
    100% { bottom: -110%;opacity: 0}
}

@keyframes anim-3 {
    0%, 16%{ bottom: -110%;}
  30% { bottom: 0;}
  44% { bottom: 110%; opacity: 1;}
    45% { opacity: 0; bottom: 110%;}
    100% { bottom: -110%;opacity: 0}
}

@keyframes anim-4 {
	0%, 30% { bottom: -110%;}
  44% { bottom: 0;}
  58% { bottom: 110%; opacity: 1;}
    59% { opacity: 0; bottom: 110%;}
    100% { bottom: -110%;opacity: 0}
}
