.custom-container {
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff; 
  padding: 20px; 
  max-width: 1300px; 
  margin: 0 auto; 
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}
p{
  font-size: larger
}
.custom-row {
  display: flex;
  justify-content: space-between; 
  gap: 20px;
  align-items: flex-start; 
  flex-wrap: wrap;
}
.custom-col.text {
  flex: 1 1 50% !important;
  max-width: 50% !important;
}
.custom-col.images {
  flex: 1;
  max-width: 50%; 
  text-align: center; 
}
.custom-col img {
  width: 100%;
  max-width: 400px; 
  height: auto; 
  margin-bottom: 20px; 
}
@media (max-width: 700px) {
  .custom-row {
    flex-direction: column; 
  }

  .custom-col {
    max-width: 100%; 
    margin-bottom: 20px; 
  }
  .custom-col.text {
    flex: 1 1 50% !important;
    max-width: 100% !important;
  }
  .custom-col.images {
    flex: 1;
    max-width: 100%; 
    text-align: center; 
  }

  .custom-col img {
    max-width: 90%; 
  }
  #header h2 span {
    color: #fff;
    border-bottom: 2px solid #ff6f00;
    padding-bottom: 6px;
    display:none
  }
  #year{
    transform: translateX(60px) !important;
  }
}

.image-container {
  position: relative;
  margin: 0 auto; 
  width: 100%;
  max-width: 400px; 
  margin-bottom: 20px; 
}
.image-container img {
  width: 100%;
  height: auto;
  display: block;
}
.image-overlay {
  color: white;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  display: block; 
  text-align: center;
  margin-top: 0; 
}
.image-container:hover .image-overlay {
  display: block;
}





.image-container-2 {
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: center; 
}

.image-container-2 img {
  display:flex;
  max-width: 40%;
  height: auto; 
  
}
@media (max-width: 768px) {
  .image-container-2 img {
    flex-wrap:wrap;
   flex-direction:column;
   max-width:90%;
  }
  .image-container-2{
    flex-wrap:wrap;
   flex-direction:column;
  }
}
@media (max-width: 480px) {
  .image-container-2 img {
    flex: 1 1 calc(100% - 20px); 
  }
}
.large-text {
  font-size: 24px !important; 
}









.animation-container {
  text-align: center;
}

#controller {
  width: 200px;
  transition: transform 1s ease, opacity 1s ease;
}

#year {
  font-size: 24px;
  margin-top: 10px;
  transition: opacity 1s ease;
  transform: translateX(-70px)
}

/**************************************************************************************************/
.animation-container {
  text-align: center;
}

#controller {
  width: 250px;
  height: 250px;
  position: relative;
  animation: moveAndFade 2.5s infinite;
}

@keyframes moveAndFade {
  0% {
    transform: translateX(0); 
    opacity: 1; 
  }
  50% {
    transform: translateX(150px);
    opacity: 0.5; 
    width:5px;
  }
  100% {
    transform: translateX(0); 
    opacity: 1; 
  }
}









body {
  font-family: "Open Sans", sans-serif; 
  background-color: #101010; 
  color: #ffffff; 
  position: relative;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  background: #101010 url("../img/bg.jpg") top right no-repeat;
  background-size: cover;
  left: 0;
  right: 0;
  top: 0;
  height: 101vh;
  z-index: -1;
}

a {
  color: #eeff00; 
  text-decoration: none;
}

a:hover {
  color: #11f37a; 
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif; 
}

#header {
  transition: ease-in-out 0.3s;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 998;
}

#header * {
  transition: ease-in-out 0.3s;
}

#header h1 {
  font-size: 50px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: "Montserrat", sans-serif; 
}

#header h1 a, #header h1 a:hover {
  color: #fff;
  line-height: 1;
  display: inline-block;
}

#header h2 {
  font-size: 24px; 
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9); 
}

#header h2 span {
  color: #fff;
  border-bottom: 2px solid #ff6f00;
  padding-bottom: 6px;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .links {
  margin-top: 40px;
  display: flex;
}

#header .links a {
  font-size: 20px; 
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.2); 
  color: #fff;
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

@media (max-width: 992px) {
  #header h1 {
    font-size: 38px;
  }

  #header h2 {
    font-size: 22px; 
    line-height: 30px;
  }

  #header .links {
    margin-top: 15px;
  }

  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

#header.header-top {
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9); 
  justify-content:center
}

#header.header-top .links, #header.header-top h2 {
  display: none;
}

#header.header-top h1 {
  margin-right: auto;
  font-size: 36px;
}

#header.header-top .container {
  display: flex;
  align-items: center;
}

#header.header-top .navbar {
  margin: 0;
}
.navbar {
  padding: 15px 0;
  margin-top: 35px;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.navbar li {
  position: relative;
}

.navbar li+li {
  margin-left: 30px;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #ff6f00;
  visibility: hidden;
  width: 0px;
  transition: all 0.25s ease-in-out 0s;
}

.navbar a:hover:before, .navbar li:hover>a:before, .navbar .active:before {
  visibility: visible;
  width: 25px;
}

.navbar a:hover, .navbar .active, .navbar li:hover>a {
  color: #fff;
}

@media (max-width: 768px) {
  .navbar ul {
    justify-content: flex-start;
    top: 100px;
    display: none;
  }

  .navbar ul.dead {
    display: flex;
  }

  #header {
    top: 200px;
    height: max-content;
  }

  .navbar li {
    flex: 1 1 100%;
    text-align: center;
    margin-left: 0;
    margin-bottom: 10px;
  }

  #header.header-top {
    height: auto;
  }

  #header.header-top h1 {
    font-size: 26px;
  }
}

section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  transition: ease-in-out 0.4s;
  z-index: 2;
}

section.section-show {
  top: 100px;
  bottom: auto;
  opacity: 1;
  padding-bottom: 45px;
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }

  section.section-show {
    top: 80px;
  }
}

.section-title h2 {
  font-size: 20px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
}

.section-title p {
  margin: 0;
  margin: -15px 0 15px 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

a.mobile-nav-toggle{
  font-size:larger
  
}
@media(min-width: 768px) {
  a.mobile-nav-toggle{
  display:none;
  }
}
@media (min-width: 1024px) {
  body::before {
    background-attachment: fixed;
  }
}



/* De aici incepe partea din ianuarie 2025*/


/* MINIGAME */
.game-container {
  position: relative;
  width: 80vw; 
  height: 60vh; 
  margin: 0 auto; 
  overflow: hidden; 

  border: none; 
}
.clickable-image {
  position: absolute; 
  width: 100px;
  height: 100px;
  cursor: pointer;
  transition: transform 0.2s;
}


.clickable-image:hover {
  transform: scale(1.1);
}
#timer {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}



#settings {
  margin-bottom: 20px;
}


#settings select,
#settings button {
  margin-left: 5px;
}
select {
  margin-right: 20px; 
}
















.tooltip {
  position: relative;
  cursor: pointer;
  color: yellow; 
}

.tooltip-text {
  visibility: hidden;
  width: 160px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; 
  left: 50%;
  margin-left: -80px; 
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  font-size: 12px;
  font-weight: normal;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}































