@font-face {
  font-family: d-din;
  src: url('../fonts/D-DIN-Bold.ttf');
  /* src: url('Neilvard Three Regular.ttf'); */
}


@font-face {
  font-family: pt-sans;
  src: url('../fonts/PT_Sans_Narrow/PTSansNarrow-Regular.ttf');
}


@font-face {
  font-family: pt-sans-bold;
  src: url('../fonts/PT_Sans_Narrow/PTSansNarrow-Bold.ttf');
}

body {
  overflow-x: hidden;
  background-color: rgba(31, 42, 106, 1); 
}

#modal, .modal-content{
  overflow-x: hidden !important; 
  padding: 0;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  /* font-family: 'Roboto', sans-serif; */
  color: white;
  /* line-height: 2.2em; */
  font-family: pt-sans;
  font-size: 1.02em;
  line-height: 1.25em;
  font-kerning: normal;
}

a{
text-decoration: none;
}
p{
  padding-bottom: 1em;
}

.ptbold-font {
  font-family: pt-sans-bold;
}

.ptsans-font {
  font-family: pt-sans;
}

.din-font {
  font-family: d-din !important;
}

h1,
h2.din-font {
  font-family: d-din;
}

h2 {
  font-family: pt-sans;
  font-size: 2.5em;
}

h3,
h4 {
  padding-top: 1em;
  padding-bottom: 1em;
}

#main-text-page p,
#main-text-page li {
  line-height: 1.5em !important;
  margin-bottom: 1em !important;
}

#main-text-page li {
  margin-left: 2em;
}

#main-text-page h2 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

#galerie {
  margin-bottom: 1em;
  padding-top: 2em;
  /* border-radius: 0.75em;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 1); */
}

/*
 body {
      background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="none"><defs><linearGradient gradientTransform="rotate(150, 0.5, 0.5)" x1="50%" y1="0%" x2="50%" y2="100%" id="ffflux-gradient"><stop stop-color="hsl(162, 100%, 26%)" stop-opacity="1" offset="0%"></stop><stop stop-color="hsl(263, 100%, 50%)" stop-opacity="1" offset="100%"></stop></linearGradient><filter id="ffflux-filter" x="-20%%" y="-20%%" width="140%%" height="140%%" filterUnits="objectBoundingBox" primitiveUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feTurbulence type="fractalNoise" baseFrequency="0.006 0.003" numOctaves="1" seed="2" stitchTiles="stitch" x="0%%" y="0%%" width="100%%" height="100%%" result="turbulence"></feTurbulence><feGaussianBlur stdDeviation="38 5" x="0%%" y="0%%" width="100%%" height="100%%" in="turbulence" edgeMode="duplicate" result="blur"></feGaussianBlur><feBlend mode="overlay" x="0%%" y="0%%" width="100%%" height="100%%" in="SourceGraphic" in2="blur" result="blend"></feBlend></filter></defs><rect width="100%%" height="100%%" fill="url(%23ffflux-gradient)" filter="url(%23ffflux-filter)"></rect></svg>');
      background-size: cover;
      background-position: center;
      width: 100%;
      height: 100vh;
      overflow-x: hidden;
      margin: 0;
    }

html, body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: #6adecd;
}
*/


/* Full-screen background styling */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 1;
  overflow: hidden;
}



/* ===== Scrollbar CSS ===== */
/* width */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgb(31, 42, 106);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(55, 65, 204);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(72, 81, 210);
}


/* Page */
.glass {
  background: rgba(31, 42, 106, 0.35);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(14.5px);
  -webkit-backdrop-filter: blur(14.5px);
  /* border-radius: 3em; */
  /* text-align: center; */

}

.glass>span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  margin: 0 auto;

}

.sectiune {
  /* padding-top: 3vw;
  padding-bottom: 3vw;
  /* padding-left: 3%;
  padding-right: 3%; */
  padding: 3em;
  margin-top: 3em;
  margin-bottom: 3em;
  border-radius: clamp(0.75rem, 2vw, 1.5rem);
}

.mare {
  min-height: 10vh;
  margin: 0 auto;
  /* prevents padding from affecting height and width */
  box-sizing: border-box;
  /* 12px - 24px */
  padding: clamp(2.75rem, 3vw, 3.5rem);
  /* 12px - 24px */
  border-radius: clamp(0.75rem, 2vw, 1.5rem);

}

#button-poveste {
  font-weight: bold;
  /* padding: 0.7em;
  border-radius: 0.75em;
  border-color: rgba(255, 255, 255, 1);
  border-width: 1px;
  border-style: solid;
}
#button-poveste:hover{
  border-color: rgba(255, 255, 255, 0.35); */
}

#hero-img {
  background-image: url("../images/hero2.webp");
  background-repeat: no-repeat;
  background-size: cover;
  height: 140vh;
  width: 100vw;
  /* position: fixed; */
  position: absolute;
  top: -3%;
  left: 0;
  z-index: -1;
}



#banner {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  /* Stack name and role vertically */
  justify-content: center;
  /* Vertically center the content */
  align-items: center;
  /* Horizontally center the content */

}

@media (min-width: 992px) {
  #hero-img {
    height: 130vh;
  }

  #banner {
    min-height: 90vh;
  }
}

.logo-img {
  background-image: url("SVG/SVG/logo3d-iden3d.svg");
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  width: 30vw;
}

figure {
  width: auto;
  height: 120px;
  overflow: hidden;
}


span,
h2 {
  display: inline-block;
  vertical-align: middle;
}

h1 {
  font-size: 4em;
}



/* MODAL */
/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100vw;
  /* Full width */
  height: 100vh;
  /* Full height */
  overflow: scroll;
  /* 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/Box */
.modal-content {
  background-color: rgb(0, 0, 0);
  /* margin: 15% auto; 15% from the top and centered */
  /* padding: 20px; */
  border: 1px solid #888;
  width: 100%;
  /* Could be more or less, depending on screen size */
  height: 100%;
  top: 0;
  overflow: auto;
}

.modal-content>#main-text-page {
  padding: 2em;
}

.modal-buttons {
  position: fixed;
  top: 0.5em;
  right: 0.5em;
  /* background-color: black; */
}

/* The Close Button */
.close-modal {
  cursor: pointer;
  float: right;
  margin: 1em;
  height: 2.5em;
}

@media (max-width: 992px) {
  .modal-buttons {
    margin-right: 0em;
  }

  .close-modal {
    margin-left: 0.5em;
    height: 1.5em;
  }
}


.close-modal:hover,
.close-modal:focus {
  filter: grayscale(1) opacity(60%);
}

#video {
  height: 100%;
  width: 100%;
}


@media (max-width: 992px) {
  #video {
    width: 100%;
    height: 100%;
  }
}


.wrapper {
  min-height: 85vh;
}

main {
  flex-grow: 1;
}

.wrapper::after,
main::after {
  content: "";
  display: block;
  clear: both;
}


footer {
  z-index: 9;
  margin-top: 3.5em; 
   padding-top: 1.5em; 
  background-color: rgb(31, 42, 106);
  /* padding: 2em 12em 1em 12em; */
  -webkit-box-shadow: 0px -11px 15px 5px rgba(31, 42, 106, 1);
  -moz-box-shadow: 0px -11px 15px 5px rgba(31, 42, 106, 1);
  box-shadow: 0px -11px 15px 5px rgba(31, 42, 106, 1);
  /* padding-right: 3em;
  padding-left: 3em; */
  
}




footer p {
  line-height: 1.3em;
}



#footer-container {
  padding-left: 3.5em; padding-right: 3.5em;
}

@media (max-width: 1200px) {
  #footer-container {
    padding-left: 1em; padding-right: 1em;
  }
}

.footer-social {

  opacity: 1;
  display: flex;
  visibility: visible;
  align-items: center;
  gap: 2rem;
  transition: opacity 0.3s, visibility 0.3s, height 0.3s;
}

.footer-social .footer-social-link {
  text-decoration: none;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #f7f7f7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.footer-social .footer-social-link:hover {
  background-color: rgb(13, 21, 68);
  /* var(--primary); */
}

.footer-social .footer-social-link:hover .footer-social-icon {
  opacity: 1;
  filter: grayscale(1) brightness(10000%);
}

.footer-social .footer-social-icon {
  width: 1.2rem;
  height: auto;
  opacity: 0.75;
  display: block;
  transition: opacity 0.3s;
}

#logo-footer:hover,
#logo-header:hover {
  filter: grayscale(1) opacity(60%);
}

#logo-footer {
  max-width: 5em;
  padding: 1.5em;
}

@media (max-width: 992px) {
  #logo-footer {
    padding: 0.5em;
  }
}

footer h2{
  font-size: 1.4em;
}

div>img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

a {
  color: white;
}

a:hover {
  color: rgba(255, 255, 255, 0.5)
}


.member {
  display: flex;
  flex-direction: column;
  /* Stack name and role vertically */
  justify-content: center;
  /* Vertically center the content */
  align-items: center;
  /* Horizontally center the content */
  text-align: center;
  height: 7em;

  box-sizing: border-box;
  /* Ensure padding is included within the width */
  border-width: 1px;
  border-radius: 0.75em;
  border-style: solid inset;
  border-color: rgba(255, 255, 255, 0.35);
  /* Keep the border on the whole div */
  cursor: pointer;

  width: calc(100% - 1em);
  margin: 0 0.5em 0.5em 0.5em;
  /* Add margin to the right, bottom, and left */
}

.member-name,
.member-role {
  display: inline-block;
  text-align: center;
  width: 94%;
  line-height: 1em;
  border-radius: 0.75em;
  color: rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
}

.member-role {
  display: none;
}

/* .member:hover .member-name,
.member:active .member-name {
  display: none;
} */

.member:hover .member-role,
.member:active .member-role {
  /* display: inline-block; */
  color: rgba(255, 255, 255, 1);
}

.member:hover,
.member:active {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
  #rol-lung {
    font-size: 0.8em;
  }
}

/* .member-name,
.member-role {
  display: inline-block;
  text-align: center;
  width: 94%;
  line-height: 1em;
  border-radius: 0.75em;
  color: rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
}

.member-role {
  display: none; 
}

.member {
  cursor: pointer; 
} */



.row {
  text-align: left;
}

/* HARTA */

#embed-map-canvas img.text-marker {
  max-width: none !important;
  background: none !important;
}

#embed-map-canvas {
  height: 100%;
  width: 100%;
  max-width: 100%;
}

#map-wrapper {
  overflow: hidden;
  resize: none;
  max-width: 100%;
  height: 45vh;
  border-radius: clamp(0.75rem, 2vw, 1.5rem);
  margin-left: 3em;
}

@media (max-width: 992px) {
  #map-wrapper {
    height: 12em;
    margin-top: 2em;
    margin-left: 0;
  }
}

.buton {
  cursor: pointer;
  display: inline-block;
  padding: 0.7em;
  border-radius: 0.75em;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 1);
  text-decoration: none;
  margin: 0;
  color: white
    /* var(--headerColor) */
  ;
  position: relative;
  transition: /*border-color 0.45s, */ background 0.45s;
  background: rgba(31, 42, 106, 0.95);
  backdrop-filter: blur(14.5px);
  -webkit-backdrop-filter: blur(14.5px);
}

.buton:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(31, 42, 106, 0.5);
  /* border-width: 1px;
  border-radius: 0.75em;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.35); */
}

#buton-galerie {
  cursor: pointer;
  display: inline-block;
  padding: 0.7em;
  border-radius: 0.75em;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 1);
  text-decoration: none;
  margin: 0;
  color: white;
  position: relative;
  transition: border-color 0.45s,  background 0.45s;
  background: rgba(31, 42, 106, 0.1);
  backdrop-filter: blur(14.5px);
  -webkit-backdrop-filter: blur(14.5px);
}

#buton-galerie:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(31, 42, 106, 0.5);
  border-width: 1px;
  border-radius: 0.75em;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.35); 
}

@media (max-width: 992px) {

  .buton {
    font-size: 1.2em;
  }
}


.icon {
  width: 1em;
  height: 1em;
  margin-bottom: -0.2em;
}



#kom-contact {
  max-width: 60%;
  margin-bottom: 1em;
}

@media (min-width: 576px) {
  * {
    font-size: 1.1em;
  }

  .section-title{
    padding: 1em;
  }

  .cs-line {
    font-size: 0.5em;
  }

  #kom-contact {
    max-width: 100%;
  }

  .sectiune {
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0;
    padding-top: 1em;
  }
  #contact{
    font-size: 1.2em;
  }
  .img-wrapper{
    margin-right: 0;
    margin-bottom: 2em;
    }
}

@media (min-width: 768px) {
  * {
    font-size: 1.08em;
  }

  .section-title{
    padding: 1em;
  }

  .sectiune {
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 1em;
  }

  .cs-line {
    font-size: 0.5em;
  }

  #kom-contact {
    max-width: 100%;
  }
  .sectiune {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  #contact{
    font-size: 1.2em;
  }
  .img-wrapper{
    margin-right: 0;
    margin-bottom: 2em;
    }
}

@media (min-width: 992px) {
  * {
    font-size: 1.03em;
  }

  .sectiune {
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 3em;
  }

  .section-title{
    padding: 2em;
  }

  .cs-line {
    font-size: 0.5em;
  }

  #kom-contact {
    max-width: 60%;
  }

  #contact {
    margin-left: 3em;
  }

  .img-wrapper{
  margin-right: 2em;
  margin-bottom: 0;
  }
}

@media (min-width: 1200px) {
  * {
    font-size: 1.02em;
  }

  .sectiune {
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 3em;
  }

  .section-title{
    padding: 2em;
  }

  .cs-line {
    font-size: 0.5em;
  }

  #kom-contact {
    max-width: 60%;
  }

  #contact {
    margin-left: 3em;
  }

  .img-wrapper{
    margin-right: 2em;
    margin-bottom: 0;
    }
}


#video-container {
 width: 100vw; height: 100vh;
}

#fallback-div {
  height: 100vh;
  width: 100vw; /* sau dimensiunea dorită */
background-image: url("../images/first-frame-doc.webp");
background-size: cover;
z-index: 9;
position: absolute;
}

#video-iframe {
  width: 100vw; height: 100vh;
  display: none; position: absolute; top: 0; left: 0; z-index: 0; 
}



/* -------------------- TRANSCRIPT TOOLTIP ------------------------ */

/* Efect de glow */
.glow {
  animation: glowing 1.5s infinite;
}

@keyframes glowing {
  0% { box-shadow: 0 0 0px #fff; }
  50% { box-shadow: 0 0 25px #fff; }
  100% { box-shadow: 0 0 0px #fff; }
}

#tooltip-text {
  width: 200px;
  /* background-color: #333; 
    padding: 5px;
  border-radius: 5px;*/
  color: #fff;
  text-align: center;

  position: absolute;
  z-index: 1;
  top: 100%; 
  left: -30%;
  opacity: 0;
  transition: opacity 0.5s;
}

#tooltip-text .visible {
  opacity: 1;
}
