body{
     background-size: 100% auto;
    background-image: url("chains/bg11.jpg");
 }
 #continut{
     display:flex;
    margin-top: -115px;
justify-content: center; 
    
    width: 100%;
 }
 #continut2{
     display: flex;
     padding-top: 50px;
     align-content: center;
 }
 header{
     display: flex;
     color: rgb(142, 153, 125);
     font-family:'Cinzel, serif';
     font-size: 40px;
     padding-bottom: 20px;
     padding-top: 0px;
     border-bottom: 1px;
     border-color: rgb(32, 33, 34);
 }
 .bloc{
    /* padding-right: 100px;
     padding-left: 100px;*/
     padding: 0;
 }
 
 h1{  
     color: rgb(45, 49, 40);
font-size: 50px;

font-family: "Creepster", system-ui;
font-weight: 400;
font-style: normal;
    padding-bottom: 20px;
    padding-top: 0px;
    padding-left: 30px;

   font-size: 4rem;
    color: #fff;
    text-shadow: 5px 5px 0 #2c3d34, 10px 10px 0 #112314;
    animation: shadow-dance 2s infinite;
}

@keyframes shadow-dance {
    0%, 100% {
        text-shadow: 5px 5px 0 #121501, 10px 10px 0 #2b3d36;
    }
    50% {
        text-shadow: -5px -5px 0 #051c0e, -10px -10px 0 #303732;
    }
}
 
 
 .img{
     width: 100%;
     height: 100%;
     object-fit: contain;
 }
 
 
 .f{/*width: 350px;
     height: 400px;*/

max-width: 500px; 
    width: 90%; 
    height: auto;

     font-family: "Grenze Gotisch", serif;
     font-optical-sizing: auto;
     font-weight: 400;
     font-style: normal;
     border-color: rgb(0, 0, 0);
 }
 
 a{ color: rgb(74, 110, 90);
     text-decoration: none;
 }
 a:hover{
     color: rgb(96, 100, 58);
 }
 figcaption{
     text-align: center;
 }
 #lista{
     display: flex;
    
 }
 li{
     list-style: none; 
     padding: 30px;
     padding-top: 0px;
     font-size: 20px;
     
         font-family: "Eater", serif;
         font-weight: 400;
         font-style: normal;
       
 }
 #navigare{ width: 200px;
     border-color: bisque;
     border-width: 1px;
     padding-left: 470px;
 }
 
 html{
 
     scroll-behavior:smooth;
 
 }
 
 @keyframes MyAnimation{
     0%{   border-radius: 10px;
     /* 
         Your starting properties go here: like
         */ background-color:  rgb(78, 101, 43);
     opacity:0;
     transform:scale(0.5);
     }
     100%{
     /*
         Your ending properties go here: like
         */
     opacity:1;
     transform:scale(1);
     }
     }
 a:hover{
     animation:MyAnimation
     1.0s
     ease-in-out; }
     h1{
         background-image:linear-gradient(180deg,#332f33,#87bfa8);
         background-clip:text;
         color:transparent;
         }
 .butondiv{  justify-content: center;
     text-align: center;
 }
 .buton{
     background-color: #36513ec8;
     font-family: "Eater", serif;
     font-weight: 400;
     font-style: normal;
     color: black;
 }
 .a1{
     color: #000;
 }
 a:hover{
     color: rgb(4, 134, 76);
 }
 .a1:hover{
     animation:MyAnimation
     1.0s
     ease-in-out; }
     h1{
         background-image:linear-gradient(180deg,#332f33,#1d714e);
         background-clip:text;
         color:transparent;
         }
 
 
 
         * {box-sizing: border-box}
 body {font-family: Verdana, sans-serif; margin:0}
 .mySlides {display: none;
height: 450px;
width:450px;}
 img {vertical-align: middle;}
 
 /* Slideshow container */
 .slideshow-container {
height: 450px;
max-width: 100%; /* Ocupă toată lățimea fieldset-ului */
    position: relative;
    margin: auto;

 }
 
 /* Next & previous buttons */
 .prev, .next {
   cursor: pointer;
   position: absolute;
   width: auto;
   padding: 16px;
   color: white;
   font-weight: bold;
   font-size: 18px;
   transition: 0.6s ease;
   border-radius: 0 3px 3px 0;
   user-select: none;
 }
 
 /* Position the "next button" to the right */
 .next {
   right: 0;
   border-radius: 3px 0 0 3px;
 }
 
 /* On hover, add a black background color with a little bit see-through */
 .prev:hover, .next:hover {
   background-color: rgba(0,0,0,0.8);
 }
 
 /* Caption text */
 .text {
   color: #f2f2f2;
   font-size: 15px;
   padding: 8px 12px;
   position: absolute;
   width: 100%;
   text-align: center;
 }
 
 /* Number text (1/3 etc) */
 .numbertext {
   color: #f2f2f2;
   font-size: 12px;
   padding: 8px 12px;
   position: absolute;
   top: 0;
 }
 
 /* The dots/bullets/indicators */
 .dot {
   cursor: pointer;
   height: 15px;
   width: 15px;
   margin: 0 2px;
   background-color: #bbb;
   border-radius: 50%;
   display: inline-block;
   transition: background-color 0.6s ease;
 }
 
 .active, .dot:hover {
   background-color: #717171;
 }
 
 /* Fading animation */
 .fade {
   animation-name: fade;
   animation-duration: 1.5s;
 }
 
 @keyframes fade {
   from {opacity: .4} 
   to {opacity: 1}
 }
 
 /* On smaller screens, decrease text size */
 @media only screen and (max-width: 300px) {
   .prev, .next,.text {font-size: 11px}
 }
         
 
 

 @media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
        



/* fitting pentru mobil */
/* Stiluri aplicate DUMAR pe ecranele cu lățime sub 768px (Mobil/Tabletă) */
@media only screen and (max-width: 768px) {

    body{background-size: 100% auto;background-repeat: no-repeat;
background-image:  url("chains/mobil.jpg");
background-size: cover;
background-attachment: fixed;
}

.mySlides {display: none;
height: 450px;
width:450px;}
 img {vertical-align: middle;}
 
 /* Slideshow container */
 .slideshow-container {
height: 350px;
max-width: 100%; /* Ocupă toată lățimea fieldset-ului */
    position: relative;
    margin: auto;

 }
   header {
      padding-bottom: 0 !important;
        flex-direction: column; 
        text-align: center;
    /* 1. ARANJAREA HEADER-ULUI: Trecere la verticală */
    display: flex;
    text-align: center;
    }

   .mySlides {
    display: none;
    height: auto; 
    width: 100%;  
}
.mySlides, .mySlides .img {
        width: 100% !important;
        height: 100% !important; 
    }

/* ... */

.slideshow-container {
    width: 100% !important;
        /* CORECȚIE: Setați o înălțime fixă pentru mobil. Ajustați 350px dacă e prea mare/mic. */
        height: 400; 
        margin: 0 auto;
        /* Asigură că ce iese în afară este ascuns */
        overflow: hidden;
}
    
 
#navigare{ 
 width: 100%;
        padding-left: 0;
        text-align: center;
        margin-top: 0 !important; 
        padding-top: 10px;      
        padding-bottom: 50px;
    }

 #lista {
       display: flex;
        justify-content: center; /* CRITIC: Centrează lista de link-uri (Vinted, Instagram, About) */
        padding: 0;
        flex-wrap: wrap;
    }
    
    .bloc, .f {
        width: 95% !important; 
        max-width: 95% !important; 
        margin: 10px auto !important; 
        display: block;
    }
    
    /* 4. Ajustarea Titlului */
    h1 {
      padding-top: 20px;
      padding-bottom: 0 !important; /* Anulează padding-ul de jos din stilul general */
        margin-bottom: 0 !important;
       font-size: 3rem; 
        padding-left: 0;
        padding: 0 !important; 
        margin: 0 !important;
    }

    .bloc .img { /* Selector pentru imaginea din blocurile principale */
        width: 100% !important; /* Ocupă 100% din fieldset */
        height: auto !important; /* Înălțimea se adaptează proporțional */
        padding-left: 0 !important; /* Elimină padding-ul de 25px */
    }

    /* Asigură că săgețile sunt vizibile și centrate pe verticală */
    .prev, .next {
        /* CRITIC: Asigură poziționarea absolută */
        position: absolute !important; 
        /* CORECȚIE: Le centrează pe verticală în containerul de 350px */
        top: 50% !important; 
        /* Le mută puțin în sus pentru a fi perfect centrate (jumătate din înălțimea lor) */
        transform: translateY(-50%) !important; 
        /* Asigură că sunt deasupra imaginii */
        z-index: 10 !important; 
    }
    
    /* Ne asigurăm că butonul "next" rămâne pe dreapta */
    .next {
        right: 0 !important;
    }

  
}