* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      }
      body {
        background-color: #1a1a1a;
        color: white;
        overflow-x: hidden;
      }

/*Sectiune pentru meniu */
.dropbtn {
  background-color: #34cddb00;
  color: rgb(0, 0, 0);
  padding: 10px;
  font-size: 40px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: fixed;
  display: inline-block;
  z-index: 999;
  right: 4px;
  
  
}

.dropdown-content {
  display: none;
  position: fixed;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.327);
  height: 100%;
  right: 0;
  top: 0;
  
  width: 300px;
  background: rgba(0, 0, 0, 0.778);
  backdrop-filter: blur(15px);
  
  overflow: hidden;
  
  
  
  padding-top: 15%;
  
}

.dropdown-content a {
  color: rgba(189, 189, 189, 0.758);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
 
  font-size: larger;
  
  

}

.dropdown a:hover {
  color: #ffffff;
}

.show {
  display: block;
  
  
}

.circle-container {
  height: 50px;
  width: 50px;
  background-color: #55555500;
  margin-top: 30%;
  margin-right: 50%;
}

.circle1 {
  height: 50px;
  width: 50px;
  background-color: #55555500;
  border-radius: 50%;

  border: 2px solid rgb(159, 141, 141);
  --mask: linear-gradient(red, red) padding-box,
    conic-gradient(red var(--t, 82%), transparent 0%) border-box;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  rotate: -55deg;
}
@keyframes t {
  to {
    --t: 82%;
  }
}

.circle2 {
  height: 50px;
  width: 50px;
  background-color: #55555500;
  border-radius: 50%;

  border: 2px solid rgb(255, 255, 255);
  --mask: linear-gradient(red, red) padding-box,
    conic-gradient(red var(--p, 82%), transparent 0%) border-box;
  -webkit-mask: var(--mask);
  mask: var(--mask);
  rotate: -55deg;

  margin-top: -106%;
}

.circle-container:hover .circle2 {
  animation: p 0.5s linear;
}

.circle-container:hover .circle1 {
  border: 2px solid rgb(255, 255, 255);
  transition-delay: 0.5s;
}
@keyframes p {
  to {
    --p: 82%;
  }
}

.h3 {
  position: relative;
  margin-top: -80%;
  margin-left: -110%;
  font-size: 60%;
  z-index: 1000;
  font-family: "Times New Roman", Times, serif;
  color:#ffffff;
}

.arata {
  display: none;
}

.cerc1 {
  height: 50px;
  width: 50px;
  background-color: #55555500;
  border-radius: 50%;

  border: 2px solid rgb(251, 253, 141);
  align-items: center;
} 

.x-btn {
  background-color: #34cddb00;
  color: rgb(0, 0, 0);
  padding: 10px;
  font-size: 40px;
  border: none;
  margin: 6%;
}

.x-container {
  background-color: #34cddb00;
  color: rgb(255, 254, 254);
  padding: 10px;
  font-size: 40px;
  border: none;
  cursor: pointer;
  display: none;
}
#x {
  margin-top: -9%;
}

.aratare {
  display: block;
  z-index: 1000;
  position: relative;
}

.aratare:hover .cerc1 {
  background-color: #555555fb;
  transition-property: width;
  transition-duration: 1s;
}

@property --p {
  syntax: "<percentage>";
  initial-value: 0%;
  inherits: true;
}
/*end-meniu*/
.inapoi {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
}
.inapoi:hover {
  background-color: rgb(99, 37, 37);
}
#headerSect{
    background-image: url("/Images/italieni1.jpeg");
        height: 100vh;
        width: 100%;
        background-color: rgb(0, 0, 0);
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        filter: grayscale(0.1);
        z-index: 1;
     
}
#headerSect::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.444);
        z-index: -1;
      }
.header{
    text-align: center;
        color: white;
        padding: 2rem;  
}

.header h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        letter-spacing: 2px;
      }

.sageata_jos{
  height: auto;
  width: 50px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
   
} 
#arrow1{
  width: 100%;
  height: auto;
  animation: bounce 2s infinite;
  fill: #ffffff;
}




.info-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1%;
    gap: 2rem;
}


#sect2 { background-color: #172e14; }
#sect3 { background-color: #75756c; }
#sect4 { background-color: #543333; }
#sect5 { background-color: #284729; }
#sect6 { background-color: #284147; }

.content-box {
    background: rgba(195, 81, 20, 0.272);
    border-left: 5px solid #e74c3c;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 700px;
    backdrop-filter: blur(10px);
}

.content-box.reverse {
    border-left: none;
    border-right: 5px solid #f1c40f;
    text-align: right;
}

.content-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ecf0f1;
    font-family: 'Times New Roman', Times, serif;
}

.content-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e9eef1;
}


.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(100px);
    transition: all 1s ease-out;
}

.show-scroll {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}


@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

img {
  width: 100%;
        max-width: 100%;  
        height: auto;
        border-radius: 8px;
        object-fit: cover;
}

.part2 {
  width: 50%;
        display: flex;  
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }
.perioada {
  background-color: #106c0bbe;
  padding: 7px;
  padding: 2px 30px;
  border-radius: 5px;
  font-size: 2.5rem;
        color: #e67e22;
        font-family: 'Times New Roman', Times, serif;
}
#t1 {
 background-color: #f97c75be;
        color: #effecd;
        
}