/* fira-sans-700 - latin-ext_latin - pentru NAVBAR */
@font-face {
  font-family: 'FiraSans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/fira-sans-v11-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/fira-sans-v11-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/fira-sans-v11-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/fira-sans-v11-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/fira-sans-v11-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/fira-sans-v11-latin-ext_latin-700.svg#FiraSans') format('svg'); /* Legacy iOS */
}

  /* merriweather-sans-regular - latin-ext_latin - pentru TEXT paragraf*/
  @font-face {
    font-family: 'MerriweatherSans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/merriweather-sans-v14-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/merriweather-sans-v14-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/merriweather-sans-v14-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/merriweather-sans-v14-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/merriweather-sans-v14-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/merriweather-sans-v14-latin-ext_latin-regular.svg#MerriweatherSans') format('svg'); /* Legacy iOS */
  }
 
  /* YesevaOne - latin-ext_latin - pentru TITLURI h1*/
@font-face {
  font-family: 'YesevaOne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
         url('../fonts/YesevaOne-Regular.otf') format('otf'), 
         url('../fonts/YesevaOne-Regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/YesevaOne-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
}


body{
    margin: 0;
    padding: 0;
    font-family: 'MerriweatherSans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    }
 
a {
    text-decoration: none;
    }

    .svg-icon {
      top: .400em;
      position: relative;
    }

    /*======= Hero Photo =======*/

    .flex-hero-photo {
      display: flex;
      flex-direction: column;
    }

    @media (max-width: 909px){
      .flex-hero-photo {
        margin-top: -41px;
      }
    }

    .banner-img {
      width: 100vw;
      height: 50%;
      overflow: hidden;
      position: relative;
      background-size: cover;
      z-index: -9999;
      }

      .banner-img-contact {
        width: 100vw;
        height: 50%;
        overflow: hidden;
        position: relative;
        background-size: cover;
        /* z-index: -9999; */
        }
          
     .banner-img img {
        width: 100%;
        animation: animate 40s ease;
        position: relative;
        }
       
     @-webkit-keyframes animate {
        0% {
        transform-origin: bottom right;
        transform: scale(1.0);
        }
        100% {
        transform: scale(1.2);
        }
        }
        
      @keyframes animate {
          0% {
          transform-origin: bottom right;
          transform: scale(1.0);
          }
          100% {
          transform: scale(1.2);
          }
          }          


 /*======= Waves ======*/

 .svg-wave {
  position: relative;
  text-align: center;
  background: linear-gradient(0deg, #ffffff 0%, #4b4b4b 100%);
  color: #ffffff;
  display: block;
}
.svg-wave-footer {
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #727272 100%);
  color: #ffffff;
  display: block;
}
.svg-wave-footer-2 {
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, #f3f3f3 0%, #727272 100%);
  color: #ffffff;
  display: block;
}

.waves {
  position: relative;
  width: 100%;
  height: 5vh;
  margin-bottom: -17px;
  max-height: 9px;
}
.waves-mailerror {
  position: relative;
  width: 100%;
  height: 5vh;
  margin-bottom: -17px;
}
  
 
    /*======= CARDS ======*/

    .card-list {
      display: flex;
      padding: 3rem;
      overflow-x: scroll;
  }
  
  .card-list::-webkit-scrollbar {
      width: 10px;
      height: 10px;
  }
  .card-list::-webkit-scrollbar-thumb {
      background: #00065a;
      border-radius: 10px;
      box-shadow: inset 2px 2px 2px hsla(0,0%,100%,.25), inset -2px -2px 2px rgba(255, 255, 255, 0.25);
  }
  
  .card-list::-webkit-scrollbar-track {
      background: linear-gradient(90deg,#313131,#313131 1px,#e4e4e4 0,#c8dffd);
  }
  
  .card {
      height: 350px;
      width: 400px;
      min-width: 250px;
      padding: 1.5rem;
      border-radius: 16px;
      background: #00065a;
      box-shadow: -1rem 0 3rem #000;
      display: flex;
      flex-direction: column;
      transition: .2s;
      margin: 4vh 0 50px 0;
      scroll-snap-align: start;
      clear: both;
      position: relative;
  }
  
  .card:focus-within~.card, .card:hover~.card {
      transform: translateX(130px);
  }
  
  .card:hover {
      transform: translateY(-1rem);
  }
  
  .card:not(:first-child) {
      margin-left: -130px;
  }
  
  .card-header {
      margin-bottom: auto;
  }
  
  .card-header h2 {
      font-size: 20px;
      color: white;
      font-family: 'MerriweatherSans', Arial, Helvetica, sans-serif;
      font-weight: 700;
      font-size: calc(12px + .6vw);
      text-transform: uppercase; 
      margin: .25rem 0 auto;
      text-decoration: none;
      border: 0;
      display: inline-block;
  }
  
  .card-header h2:hover {
      background: linear-gradient(90deg,#ffffff,#03f7f7);
      text-shadow: none;
      -webkit-text-fill-color: transparent;
      -webkit-background-clip: text;
      background-clip: text;
  }
  
  .card-author {
      margin: 0.8rem 0 0;
      display: grid;
      grid-template-columns: 1fr;
      align-items: center;
      position: relative;
  }
  
  .author-avatar {
      grid-area: auto;
      align-self: start;
      position: relative;
      box-sizing: border-box;
  }
  
  .author-avatar img {
      width: 60px;
      height: 60px;
      border-radius: 100%;
      display: block;
      overflow: hidden;
      margin: 10px;
  }
  
  .author-name {
      grid-area: auto;
      box-sizing: border-box;
      color: #a9a9c5;
      font-size: calc(12px + .6vw);
  }
  
  .tags {
      margin: auto 0 2rem;
      padding: .5rem 0 1rem;
      line-height: 2;
      margin-bottom: 0;
  }
  
  .tags a {
      font-style: normal;
      font-weight: 700;
      color: #a9a9c5;
      text-transform: uppercase;
      font-size: calc(10px + .3vw);
      border: 3px solid #655a77;
      border-radius: 2rem;
      padding: .2rem .85rem .25rem;
      position: relative;
  }
  
  .tags a:hover {
      background: linear-gradient(90deg,#ffffff,#03f7f7);
      text-shadow: none;
      -webkit-text-fill-color: transparent;
      -webkit-background-clip: text;
      -webkit-box-decoration-break: clone;
      box-decoration-break: clone;
      background-clip: text;
      border-color: white;
  }

/*--------------------------------------------------------------
# Gallery photo
--------------------------------------------------------------*/

/* The Close Button */
.modal-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .modal-btn:hover,
  .modal-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
.gradient{
    background: linear-gradient(#ffffff, #b8caeb);
    margin: 0;
    padding: 0 0 160px;
}

.gallery {
    overflow: hidden;
    border-radius: 5px;   
    border-right: 1px solid #a5a5a5;
    border-top: 1px solid #bbbbbb;
  }
  
  .img-container img {
    transition: all ease-in-out 0.4s;
    width: 100%;
    object-fit: cover;
  }
  
  .gallery:hover img {
    transform: scale(1.1);
  }

  .full-img{
      position: absolute;
      height: 80%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.5);
      transition: all 0.25s ease-out;
  }
  .full-img.open{
    transform: translate(-50%, -50%) scale(1);
  }
  .modal {
      background: rgba(0, 0, 0, 0.8);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      pointer-events: none;
      transition: 0.25s ease-out;
      margin-top: 0;
  }
  .modal.open {
      opacity: 1;
      pointer-events: all;
  }
  .modal p {
      color: white;
      font-size: 2rem;
      position: absolute;
      bottom: 5%;
      left: 50%;
      transform: translate(-50%, -5%);
  }




 /*======= Footer ======*/

  footer{
     display: grid;
     grid-template-columns: 1fr;
  }
  .footer-container{
    display: grid;
    /* grid-template-columns: 25vw 1fr; */
    grid-template-columns: 10vw 1fr 10vw;
    column-gap: 1rem;
    padding: 2rem;
  }


  .footer-logo{
    justify-items: center;
    align-content: center;
    align-items: center;
    align-self: center;
  }
  .footer-logo img{
    /* width: 85%; */
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .footer-links{
    justify-items: center;
    align-content: center;
    align-items: center;
    align-self: center;
    display: inherit;
    text-align: center;
  }
  .footer-links h2 {
    color: #28282b;
    font-family: 'YesevaOne', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 5vw, 2rem);
    letter-spacing: .7rem;
    margin: 0;
    margin-bottom: 1.6rem;
    text-align: center;
  }
  
  .footer-links a{
    color: #29292c;
    font-weight: 700;
    font-size: clamp(.3rem, 3vw, .9rem);
  }
  .footer-links a:hover {
    background: linear-gradient(90deg,#5cc9dd,#00026d);
    color: white;
  }
  .footer-links a.active {
    color: #FF6E45;
  }
  .footer-links ul {
    list-style: none;
    line-height: 2rem;
    padding: 0;
  }
  .footer-links p{
    color: #29292c;
    font-weight: 700;
    font-size: clamp(.3rem, 2.5vw, .8rem);
  }
  
  /* ===== Google Maps ===*/

  #gmap-arca {
    overflow:hidden;
    height: 50vh;
  }
  #gmap-arca img{max-width:none!important;background:none!important}

  #gmap-opticelite {
    overflow:hidden;
    height: 50vh;
  }
  #gmap-opticelite img{max-width:none!important;background:none!important}




/*======= Contact ======*/

    textarea {
      width: 97%;
	    border: 3px solid #839aff;
	    padding: 10px;
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 1px;
      resize: none;
    }

    form {
      width: 100%;
      margin: 50px 0;
    }

    label {
      display: block;
      margin-bottom: 5px;
      font-size: calc(10px + 1vw);
    }

    input, select {
      border: 3px solid #839aff;
      padding: 20px;
      display: block;
      width: 100%;
      box-sizing: border-box;
      border-radius: 2px;
      font-size: 1rem;
      letter-spacing: 1px;
    }

    .form-inline {
      border: 1px solid #ccc;
      padding: 8px 10px 4px;
      border-radius: 2px;
    }

    .form-inline label, .form-inline input {
      display: inline-block;
      width: auto;
      padding-right: 15px;
    }

    .error {
      color: rgb(231, 29, 15);
      font-size: calc(10px + 1vw);
      padding: 0 0 2.5rem;
    }
    
   
    /*======= MEDIA SCREEN ======*/


    @media screen and (max-width: 575px) {
   
    .waves {
        height: 60px;
        min-height: 40px;
    }

    .card {
        margin: 2vh 0 17px 0;
        height: 310px;
    }

    .section-title {
        padding: 0;
        margin-top: 0;
    }

    .section-title p {
        font-size: 1rem;
     }

    .section-title h2 {
        font-size: 2rem;
    }

    .modal p {
        font-size: 1rem;
    }

    .full-img {
      height: 50%;
    }

    .footer-container{
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      padding: 1rem;
      margin-top: 0rem;
      row-gap: 1rem;
    }

    .footer-logo img{
      /* width: 60px; */
      margin:auto;
    }

    .footer-links{
      margin-top: 0.2rem;
      text-align: center;
    }

    /* .footer-container-menubar {
      font-size: .5rem;
    }

    .footer-links h2 {
      font-size: 1.2rem;   
      letter-spacing: 1.6rem; 
      margin-left: 1rem;
    }

    .footer-links a {
      font-size: .5rem;
    } */



}
  @media screen and (min-width: 576px) and (max-width: 767px) {
   
  .modal p {
    font-size: 1rem;
  }

  .full-img {
    height: 60%;
  }

  .footer-container{
    padding: 1.5rem 1rem;
    column-gap: .8rem;
  }

}

  @media screen and (min-width: 1130px) {
    .banner-img{
     height: 69vh;
  }
}






