*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

:root{
    --colorTextos: #49454567;
}

body{
    font-family: 'Roboto', sans-serif;
}

.container{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.container_pics{
    padding: 60px 0;
    width: 75%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.container_2{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    /* background-color: #3e81ad; */
    margin-top: 1em;
}

.container_form{
    width: 100%;
    height:650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title{
    color: #16222A;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
    cursor: pointer;
}

h3{
    margin-bottom: 15px;
}

p{
    padding: 0px 0px 30px 15px;
    margin-bottom: 2em;
    font-weight: 300;
}

ul{
    padding: 0px 0px 30px 15px;
    margin-bottom: 2em;
    font-weight: 300;
}

html{
    scroll-behavior: smooth;
}
/*//////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Header /////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////*/

header{
    width: 100%;
    height: 600px;
    background: #16222A;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3A6073, #16222A);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(198, 47%, 26%, 0.904), hsla(359, 56%, 56%, 0.904)), url(../img/workshop.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */     
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.header-waikato{
    width: 100%;
    height: 600px;
    background: #16222A;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3A6073, #16222A);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(200, 33%, 34%, 0.747), hsla(204, 31%, 13%, 0.747)), url(../img/hobbit.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */     
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.header-south{
    width: 100%;
    height: 600px;
    background: #16222A;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3A6073, #16222A);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(200, 33%, 34%, 0.747), hsla(204, 31%, 13%, 0.747)), url(../img/cook.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */     
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.header-north{
    width: 100%;
    height: 600px;
    background: #16222A;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3A6073, #16222A);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(200, 33%, 34%, 0.747), hsla(204, 31%, 13%, 0.747)), url(../img/north.jpeg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */     
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.header-about{
    width: 100%;
    height: 600px;
    background: #16222A;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3A6073, #16222A);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(200, 33%, 34%, 0.747), hsla(204, 31%, 13%, 0.747)), url(../img/workshop.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */     
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.header-primary{
    width: 100%;
    height: 600px;
    background: #16222A;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3A6073, #16222A);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(200, 33%, 34%, 0.747), hsla(204, 31%, 13%, 0.747)), url(../img/monitor.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */     
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.header-specialist{
    width: 100%;
    height: 600px;
    background: #16222A;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #3A6073, #16222A);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(200, 33%, 34%, 0.747), hsla(204, 31%, 13%, 0.747)), url(../img/treatment_room2.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */     
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

nav{
    text-align: left;
    padding: 20px 5px 20px 5px;
}
    
nav > a{
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    margin-left: 1em;
    line-height: 2em;
}

nav > a:hover{
    text-decoration: underline;
}

header .text-header{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-direction: column;
    text-align: center;
}

.text-header h1{
    font-size: 50px;
    color: #fff;
}

.text-header h2{
    font-size: 30px;
    font-weight: 300;
    color: #fff;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

.picture-header{
    width: 25%;
    justify-content: center;
    /* margin-top: 20px; */
    padding: 50px 20px 50px 20px;
}

/*//////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Main ///////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////*/

/* Introduction */

.container-intro{
    display: flex;
    justify-content: space-evenly;
    /* text-align: center; */
}

.picture-intro{
    width: 48%;
}

.intro .text{
    width: 80%;
    font-size: 20px;
}

/* Container 1*/

.container-one{
    display: flex;
    justify-content: space-evenly;
}

.picture-one{
    margin-bottom: 50px;
    width: 48%;
    /* box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5); */
}

.one .text{
    width: 48%;
}

/* Container 2 */

.container-two{
    display: flex;
    justify-content: space-evenly;
}

.picture-two{
    width: 40%;
    height: 40%;
    /* margin-top: 1em; */
    /* margin-bottom: 1em; */
}

.two .text-two{
    width: 50%;
}

/* Galery*/

.portfolio{
    background: #fff;
}

.galery-port{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

.picture-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.picture-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galery{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(201, 79%, 13%, 0.678);
    transition: transform 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galery img{
    width: 50px;
}

.hover-galery p{
    color: #fff;
}

.picture-port:hover .hover-galery{
    transform: scale(1);
}

/*//////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Footer /////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////*/

footer{
    background: #072A3D;
    padding: 1em 0 1em 0;
    margin: auto;
    overflow: hidden;
}

.container-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 1em;
    border-bottom: 1px solid #E9282B;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #fff;
    padding: 1em 0 0 0;
}

.final-line{
    text-align: center;
    font-size: 1em;
    margin: 1em 0 0 0;
    color: #E9282B;
}
/*//////////////////////////////////////////////////////////////////////////////////////////*/

/* Contact Form */

.container-form{
    display: flex;
    justify-content: space-evenly;
    text-align: center;
}

form{
    background: #f2f2f2;
    width: 50%;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 0 6px 0 rgba(255, 255, 255, 0.8);
}

.form{
    width: 100%;
    margin: auto;
}

form .grupo{
    position: relative;
    margin: 45px;
}

input, textarea{
    background: none;
    color:#c6c6c6;
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border:none;
    border-bottom: 1px solid var(--colorTextos);
    resize: none;
}

input:focus,textarea:focus{
    outline: none;
    color: rgb(94,93,93);
}

input:focus~label, 
input:valid~label, 
textarea:focus~label, textarea:valid~label{
    position: absolute;
    top: -14px;
    font-size: 12px;
    color: #2196F3;
}

label{
    color: var(--colorTextos);
    font-size: 16px;
    position: absolute;
    left: 5px;
    top:10px;
    transition: 0.5s ease all;
    pointer-events: none;
}


input:focus~.barra::before, textarea:focus~.barra::before{
    width: 100%;
}
.barra{
    position: relative;
    display: block;
    width: 100%;
}
.barra::before{
    content: '';
    height: 2px;
    width: 0%;
    bottom: 0;
    position: absolute;
    background: linear-gradient(to right, #072A3D, #E9282B);
    transition: 0.3s ease all;
    left: 0%;
}
button{
    background: #072A3D;
    display: block;
    width: 100px;
    height: 40px;
    border:none;
    color:#fff; 
    border-radius: 4px;
    font-size: 16px;
    margin: 10px auto;
    cursor: pointer;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    width: 50%;
  }

  .containersca {
    display: flex;
    justify-content: space-evenly;
  }
  .picture-sca{
    width: 90%;
    height: 90%;
}
/*//////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////*/
/*///////////////////////////////////////// Mobile /////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////////////////////////////////////////*/


@media screen and (max-width:900px){

    header{
        background-position: center;
    }
    .picture-header{
        width: 60%;
    }   
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }
    nav > a{
        color: #fff;
        font-weight: 700;
        text-decoration: none;
        margin-right: 1em;
        margin-left: 1em;
    }

    /* Container 1 MOBILE */
    .container-one{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .picture-one{
        width: 90%;
        margin-bottom: 2em;
    }
    .one .text{
        width: 90%;
    }

   /* Container 2 MOBILE */
   .container-two{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    .picture-two{
        width: 90%;
        margin-bottom: 2em;
    }

    .two .text-two{
        width: 90%;
    }

    /* Footer MOBILE*/
    .container-footer{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Galery MOBILE*/
    .picture-port{
        width: 70%;
    }

    /* Contact Form MOBILE*/
    form{
        width: 90%;
    }

    .container_form{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    iframe{
        width: 90%;
    }
}