@font-face {
    font-family: 'Minecraft';
    src: url('Minecraft.woff2') format('woff2'),
        url('Minecraft.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333333ab;
    overflow: hidden;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    height:50px;
  }

.links {
}

.topnav img {
    padding-left:10px;
    padding-right:10px;
    padding-top:7px;
    max-height: 35px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
}
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 14px;
    height:50px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Add a color to the active/current link */
  .topnav a.active {
    background-color: #049caa;
    color: white;
  }

body{
    background-image: url("background.jpg");
    background-size:cover;
    font-family: 'Minecraft';
    color:white;
    font-size: 16px;
    text-shadow: 2px 2px 3px black;
    margin:0px;
}

footer {
    background-color: #333;
    overflow: hidden;
    text-align:center;
    margin-top:7%;
    font-size:16px;
}



#sezoane{
    display:flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
    padding:50px;
}

#sezoane div{
    margin-right:30px;
}


#sezonactiv{
    color:aqua;
}

.exista{
    transition: transform 0.3s ease-in-out;
}

.exista:hover{
    transform: scale(1.1);
    cursor:pointer;
}

.sezon{
    padding:2%;
    background-color:#333;
    display:flex;
    flex-direction: column;
    justify-content: start;
    align-items: left;
    margin-left:10%;
    margin-right:10%;
    border-radius:25px;
}

.descriere{
    padding-bottom:25px;
    text-align:center;
    line-height: 1.6;
}

.textmare{
    font-size:28px;
    padding-bottom:2%;
    padding-top:2%;
}

.membri{
    display:flex;
    flex-wrap:wrap;
    gap: 80px;
    justify-content: left;
    align-items: left;
    margin-left:2.8%;
}

/*class membru e useless*/

.membru2{
    display: flex; /* Use flex only to organize the content inside each grid item */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:none;
    margin:none;
    text-decoration:none;
    color:white;
}

.membru2:hover{
    color:#00eaff;
}

.membru2 img:hover {
    transform: scale(1.1);
}

.cap{
    max-width:210px;
    padding-bottom:10px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease-in-out;
}

.separator{
    margin-bottom:3%;
}

/*#sezonul4{
    display:none;
}*/

.hidden{
    display:none;
}

.visible{
    display:block;
}

.buton {
    all: unset;
  box-sizing: border-box;
  display: inline-block;
}

@media only screen and (max-width: 1300px) {
  .topnav {
    flex-direction:column;
    height:100px;
    
   align-items:center;

  }
  .topnav img {
   object-fit:contain;
   padding-bottom:10px;
  }
  
}

@media only screen and (max-width:768px){
 .sezon{
  
    margin-left:0%;
    margin-right:0%;
    border-radius:0px;
    padding:5%;
    margin-bottom:20%;
 }
 
 #sezoane{
  flex-wrap:wrap; 
  row-gap:15px;
 }
 
 .membri{
  align-items:center;
  justify-content:center;
 }
 
 .textmare{
  padding-bottom:20px; 
  text-align:center;
 }
}

