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

* {
    box-sizing: border-box;
 
  }
  
  header {
    padding: 0 2em;
    background-color: #f7f7f7;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
    margin-bottom: 1px;
  }
  

  .wrapper{
    display: block;
  }

  .boddyWrapper{
    max-width: 1176px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 2vh;
    margin-bottom: 2vh;
  }

  .header_wrapper{
    width: 100%;
    max-width: 1176px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: end;
  }

  body {
    min-height: 100vh;
    flex-direction: column;
  }

  @font-face {
    font-family: youregone; /*The name you choose goes here*/
    src: url(../assets/youregone.ttf);
  }
  
  .logo {
    background-image: url(../assets/logo_extrasist_2023.png);
    background-position: 100% 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 250px;
    height: 80px;
  }

  
  .logo_footer{
    width: 170px;
    height: 50px;
  }

  .nav__links {
    list-style: none;
    display: flex;
    font-size: 10pt;
  }
  
  

  .nav__links a,
  .cta,
  .overlay__content a {
    /*font-family: 'Encode Sans SC', sans-serif;
    font-weight: 700;*/
    font-family: youregone;
    color: #000000;
    text-decoration: none;
  }

  .overlay__content ul{
    list-style-type: none;
  }
  
  .nav__links li {
    padding: 0px 5px;
  }

  
  .nav__links li a {
    transition: all 0.3s ease 0s;
    padding: 10px;
   
  }
  
  .nav__links li a:hover {
    /*color: #C0C0C0;*/
    background-color: black;
    color: white;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.5);
  }
  
  .cta {
    margin-left: 20px;
    padding: 9px 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease 0s;
  }
  
  .cta:hover {
    background-color: #C0C0C0;
  }
  
  /* Mobile Nav */
  
  .menu {
    display: none;
  }
  
  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: #FFFAFA;
    overflow-x: hidden;
    transition: all 0.5s ease 0s;
  }
  
  .overlay--active {
    width: 100%;
  }
  
  .overlay__content {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .overlay a {
    padding: 15px;
    font-size: 36px;
    display: block;
    transition: all 0.3s ease 0s;
  }
  
  .overlay a:hover,
  .overlay a:focus {
    color: #C0C0C0;
  }
  .overlay .close {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: black;
    cursor: pointer;
  }
  
  @media screen and (max-height: 450px) {
    .overlay a {
      font-size: 20px;
    }
    .overlay .close {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }

  @media only screen and (max-width: 800px) {
    .nav__links,
    .cta {
      display: none;
    }

    .contentorEquipamentos{
      flex-wrap: wrap;
      justify-content: center;
    }
    .contentorYE{
      display: none;
    }
    .menu {
      display: initial;
    }  
  }
  
  /*Footer*/
  
  .footer-distributed{
    background: #3A3C38;
    font-family: 'Open Sans', sans-serif;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    padding: 2.5em 20px;
  }
  
  .footer-distributed .footer-left,
  .footer-distributed .footer-center,
  .footer-distributed .footer-right{
    display: inline-block;
    vertical-align: top;
  }
  
  /* Footer left */
  

  
  /* Footer Logo */
  

  /* Footer links */
  
  .footer-distributed .footer-links{
    color:  #ffffff;
    margin: 5px 0 5px;
    padding: 0;
  }

  .footer-distributed .footer-links li{
   list-style: none;
  }
  
  .footer-distributed .footer-links a{
    display:inline-block;
    line-height: 1.8;
    font-weight:400;
    text-decoration: none;
    color:  inherit;
  }
  
  .footer-distributed .footer-company-name{
    color:  #000000;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }
  
  /* Footer Center */
  
  .footer-distributed .footer-center{
    width: 35%;
    float: left;
  }
  
  @media screen and (max-width: 1440px) {
    .section_sub{
       padding: 0 40em 0 40em;
    }s
    .footer-distributed .footer-center{
       width: 40%;
       float: left;
    }
  }

  @media screen and (min-width: 1920px) {
    .footer-distributed .footer-center{
       width: 45%;
       float: left;
    }
  }
  
  .footer-distributed .footer-center i{
    background-color:  #33383b;
    color: #ffffff;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    margin: 5px 10px;
    vertical-align: middle;
  }
  
  .footer-distributed .footer-center i.fa-envelope{
    font-size: 17px;
  }
  
  .footer-distributed .footer-center p{
    display: inline-block;
    color: #ffffff;
    font-weight:400;
    vertical-align: middle;
    margin:0;
  }
  
  .footer-distributed .footer-center p span{
    display:block;
    font-weight: normal;
    font-size:14px;
    line-height:2;
  }
  
  .footer-distributed .footer-center p a{
    color:  white;
    text-decoration: none;
  }

  .footer-distributed .footer-center p a:hover{
    color:  gray;
    text-decoration: none;
  }
  
  .footer-distributed .footer-links a:before {
    content: '|';
    font-weight:300;
    font-size: 20px;
    left: 0;
    color: #fff;
    display: inline-block;
    padding-right: 5px;
  }
  
  .footer-distributed .footer-links .link-1:before {
    content: none;
  }
  
  /* Footer Right */
  
  .footer-distributed .footer-right{
    width: 20%;
    float: right;
  }
  
  .footer-distributed .footer-company-about{
    line-height: 20px;
    color:  #92999f;
    font-size: 13px;
    font-weight: normal;
    margin: 0;
  }
  
  .footer-distributed .footer-company-about span{
    display: block;
    color:  #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .footer-distributed .footer-icons a{
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 2px;
  
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
  
    margin-top: 5px;
    margin-right: 3px;
  }
  
  /* Footer dispositivos pequenos */
  
  @media (max-width: 1100px) {
  
    .footer-distributed{
      font: bold 14px 'Open Sans', sans-serif;
    }
  
    .footer-distributed .footer-left,
    .footer-distributed .footer-center,
    .footer-distributed .footer-right{
      display: block;
      width: 100%;
      margin-bottom: 40px;
      text-align: center;
    }
  
    .footer-distributed .footer-center i{
      margin-left: 0;
    }

    .footer-distributed .footer-right {
      float: none;
    }
  
  }
  
  #location_icon{
    width: 22px;
    padding-inline-start: 10px;
  }

  #phone_icon, #mail_icon{
    width: 20px;
    padding-inline-start: 10px;
  }

  /*Contact Page*/
  .contactWrapper{
    max-width: 1176px;
    min-height: 100vh;
    margin-right: auto;
    margin-left: auto;
  }

  .indexWrapper{
    min-height: 100vh;
    margin-right: auto;
    margin-left: auto;
  }

  .body_contact, .contact_div{
    display: flex;
    flex-wrap: wrap;
    margin-top: 5vh;
    margin-bottom: 2vh;
    justify-content: space-between;
  }
  .contact_divEmail{
    display: flex;
  }

  .contact_div {
    gap: 5vw;
  }

  
  .responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  h3{
    margin-bottom: 10px;
    border-bottom: 1px;
    padding-bottom: 3px;
    border-bottom-style: groove;
  }

  p, span{
    font-weight: 600;
  }


  /* Slide de imagens*/
  * {box-sizing: border-box}
  body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
  }
  .mySlides {
    display: none;
    text-align: center;
    background-color: #000;
  }

  img {
    vertical-align: middle;
  }

  .slideshow-container {
    position: relative;
    margin: auto;
  }

  .dots{
    position: relative;
    display: block;
    text-align: center;
    margin-top: -50px;
  }

  .slidesImg{
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
    opacity: 60%;
  }
  
  /* Butoes de proximo e anterior */
  
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: gray;
  }

  .next {
    right: 0;
    border-radius: 3px 0 0 3px;

  }

  .prev:hover, .next:hover {
    background-color: #202020
  }

  /* Descricao */
  .text {
    color: black;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }

  /* Numeros */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

  /* Barras inferiores de transicao*/
  .dot {
    cursor: pointer;
    height: 10px;
    width: 100px;
    margin: 5px 2px 20px;
    background-color: whitesmoke;
    display: inline-block;
    transition: background-color 0.6s ease;
    opacity: 50%;
  }

  .active{
    background-color: gray;
  }

  .dot:hover {
    background-color: #202020;
    opacity: 100%;
  }

  /* Fade */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }

  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  /* Para dispositivos pequenos */
  @media only screen and (max-width: 300px) {
    .prev, .next,.text {font-size: 11px}
  }
    
  /*Equipamentos*/
  #main {
    display: flex;
    min-height: calc(100vh - 20vh);
  }
  #main > article {
    flex: 1;
  }
  #main > nav, 
  #main > aside {
  }
  #main > nav {
    order: -1;
    margin: 10px 10px 10px 10px;
    border-radius: 10px;
    padding: 10em 0 0 0;
    

  }

  #main ul li{
    display: flex;
    flex-direction: column;
    margin: 5px;
    list-style: none;
  }

  #main ul li a{
    text-decoration: none;
    display:inline-block;
    color:black;
    font-size: 16pt;
    font-weight: bolder;
    border-bottom: 3px solid darkgray;
    padding: 10px 0 10px 10px;

  }

  #main ul li a:hover{
    border-radius: 5px;
    padding: 0 10px 0 10px;
    color: gray;
    
  }
  
  /*Grelha de cartoes*/
  .equi_contact{
    display: flex;
    margin-top: 2vh;
    margin-bottom: 2vh;
  }

  .card-container{
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: center;
    margin-bottom: 20px;
  }

  .card{
    border-radius: 2px;
    background-color: whitesmoke;
    width: 270px;
    height: 300px;
    margin: 10px;
    box-shadow: 1px 2px 0px 2px rgba(0, 0, 0, 0.1);
  }

  .card-image{
    /*background-image: url('../assets/1.jpg');*/
    border-radius: 3px;
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
    vertical-align: middle;
    margin: 10px;
    height: 200px;
    background-repeat: no-repeat;
    box-shadow: 0px 1px 11px 2px rgba(0,0,0,0.2)
  }

  .card h2, .card p{
    text-align: center;
    margin: 0;
  }


  .extr1{
    background-image: url('/assets/extr1.jpg');
  }

  #oi{
    background-color: #000000;
  }


  .dp-menu ul {
    list-style-type: none;
    padding: 0;
  }

  .dp-menu ul li {
      display: inline;
      position: relative;
      text-align: center;
      
  }

  .dp-menu ul li a {
      color: black;
      text-decoration: none;
      display: inline-block;
      justify-content: center;
      align-items: center;
      margin-top: 5px;
      padding-top: 15px;
      transition: background .3s;
      
      
  }

  /*sub menu*/
  .dp-menu ul ul {
      display: none;
      position: absolute;
      background-color: #f7f7f7;
      left: -20px;
      z-index: 1;
      border-bottom: 2px solid black;
      
  }

  .dp-menu ul li:hover ul {
      display: block;
  }

  .dp-menu ul ul li{
    display: flex;
  }

  .dp-menu ul ul li a{
    margin-top: 10px;
  }

  .dp-menu ul ul li:hover{
    display: flex;
    background-color: white;
    opacity: 30%;
  }

  .mobEqui, .mobServ{
    display: none;
  }

  .mobEqui li a, .mobServ li a{
    font-size: 16pt;
    margin-left: 1em;
  }
  

  main{
    margin-block: 5em;
    max-width: 1176px;
    margin-inline: auto;
    display: grid;
    grid-gap: 1em;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
  }


  @media only screen and (max-width : 800px) {
    main{
      margin: 2.5em;
      grid-template-rows: repeat(4,1fr);
    }
  }

  main > article{
    display: flex;
    flex-direction: column;
    text-align: left;
    box-shadow: 0px 0px 20px rgb(0 0 0 / 30%);
    border-radius: 5px;
  }

  main > article > h1{
    font-size: clamp(20pt, 5vw, 20pt);
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin-block: 0px 0;
    padding-block: 1em 1em;
    color: #fff;
    background-color: #000;
    border-radius: inherit;
  }

  main > article > p{
    margin-top: 10px;
    padding-inline: 20px;
  }


  .sideNav{
    display: flex;
  }

  .side__links{
    list-style-type: none;
    padding: 50px 40px 200px 30px;
    box-shadow: 1px 0px 10px 1px rgb(0 0 0 / 15%);
    margin-top: 10px;
  }


  .side__links li{
    margin-bottom: 20px;
  }

  .side__links a{
    text-decoration: none;
    color: black;
    font-size: 16pt;
    font-weight: bold;
    padding: 5px;
  }

  .side__links a:hover{
    border-radius: 2px;
    background-color: gray;
    color: #fff;
  }
  .contentorEquipamentos{
    display: flex;
    margin-top: 5vh;
  }

  .contentorContactos1{
    padding: 20px;
    box-shadow: 0 0px 1px 1px rgba(0, 0, 0, 0.2);
  }
  .contentorContactos2{
    display: flex;
    flex-grow: 1;
    flex-basis: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    box-shadow: 1px 1px 3px 3px rgba(0, 0, 0, 0.2);
  }

  .contentorContactos3{
    display: flex;
    flex-grow: 1;
  }

  .contact_form{
    flex-grow: 1;
    box-shadow: 0 0px 1px 1px rgba(0, 0, 0, 0.2);
  }
  .form-group {
    display: flex;
  }

  .form-group > input, textarea {
    flex-grow: 1;
    font-family: 'Roboto', sans-serif;
  }

  @media screen and (max-width: 450px) {
    .contact_div{
      gap: 0;
    }

    .contentorContactos1, .contentorContactos2, .contentorContactos3{
      justify-content: center;
    }

    .contentorContactos3{
      margin-top: 5vh;
    }

    .slidesImg{
      height: 170px;
    }
  }
	

  .contentorServicos{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 5vh;
  }

  .main_section{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap; flex: 1;
    text-align: center;
  }

  .section_sub{
    font-weight: bolder;
    padding: 0 25em 0 25em;
  }

  .section_sub p {
    border-bottom-style: none; 
    font-size: 14pt;
  }

  .section_sub h4 {
    font-family: 'Roboto', sans-serif;
    margin-top: 5rem;
    margin-bottom: 0;
    font-size: 35pt;
  }

  .section_sub2{
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 2em;
    margin-block: 5rem;
  }

  @media only screen and (max-width : 992px) {
    .section_sub{
      padding: 0 10em 0 10em;
    }
  }

  @media only screen and (max-width : 800px) {
    .section_sub{
      padding: 0 1.25rem 0 1.25rem;
    }
  }

  .section1,.section2{
    flex-direction: column;
    font-size: clamp(12pt, 10vw, 16pt);
  }

  .one, .two, .three, .four{
    flex: 1;
    justify-content: center;
  }

  .listaServicos{
    padding: 15px;
    margin: 0;
  }
  .listaServicos li{
    list-style: none;
    padding: 5px;
  }

  .one, .two, .three, .four{
    margin: 2em;
  }
  
  .one > span, .two > span, .three > span, .four > span{
    font-size: 16pt;
    font-weight: bold;
  }
  
  @media only screen and (max-width: 1250px) {
    .contentor1{
      justify-content: center;
      flex-direction: column;
    }
    
  }

  @media only screen and (max-width: 800px) {
    .body_contact, .contentorServicos, .contact_div, .contact_divEmail{
      justify-content: center;
    }

    .section_sub2{
      flex-direction: column;
      margin-bottom: 5vh;
    }

    .contentorContactos2, .contentorContactos3{
      margin-inline: 10vw;
      margin-bottom: 10vw;
    }
  }

  .desenvolvimentoContainer{
    display: flex;
    justify-content: center;
    flex-grow: 1;
    flex-wrap: wrap;
  }

  .form-header{
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid black;
  }

  .form-group {
    padding: 0 20px 20px 20px;
  }

  .form-group input {
    border: none;
  }

  input, textarea, button{
    padding: 10px;
    background-color: whitesmoke;
  }

  textarea{
    height: 200px;
    width: 250px;
  }

  #buttonSub {
    background-color: #000000;
    color: #fff;
    border-radius: 5px;
    border: 0;
    text-align: right;
    padding-inline: 100px;
    width: 250px;
  }

  #btnGroup{
    justify-content: center;
  }
  #btn-down{
    margin-left: 95px; 
    padding: 0 5px 0 5px;
    border: 1px solid black;
    border-radius: 3px;
    background-color: #000;
    color: #fff;
  }

  #badge10{
    width: 64px; 
    height: 64px; 
    margin-top: 10px;
    margin-right: auto;
  }

  .modal {
    display: block;/* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-image: url(../assets/modal_boas_festas.png);
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    margin: auto;
    min-height: 60vh;
    padding: 20px;
    max-width: 50vw;
    border-radius: 0.5rem;
  }

  @media (max-width: 768px){
    .modal-content{
      min-height: 25vh;
    }
  }
 
  @media only screen and (min-width: 770px) and (max-width: 1100px){
    .modal-content{
      min-height: 40vh;
    }
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  .anti-spam {
    display: none;
    padding: 0;
    margin: 0;
  }

  .form-group:nth-last-child(2) p{
    margin: auto;
    font-size: 8pt;
  }