*{
    margin: 0;
    padding: 0;
    font-family: Riddler ;
}

@font-face {
    font-family: "Riddler";
    src: url("./Batman_Riddler_Font_Family_(Fontmirror)/Riddler.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

body{
    box-sizing: border-box;
    /* overflow: hidden; */
}

:root{
    --nav_color: rgba(255, 255, 255, 0.678);
    --text: rgb(136, 59, 59);
    --butonshadow: rgb(114, 49, 49);
    --buttonriddler:  rgba(53, 119, 82, 0.945);
}



/* trupi */
.container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}


.container::before {
    content: "";
    position: fixed;
    inset: 0;

    background: url(/first-option.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    filter: sepia(0.5);
    z-index: -1;

    animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom{
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.05);
    }
}


@media (max-width: 768px) {

    .intro-text{
        text-align: center;
        scale: 1.4;
        font-size: 1rem;
        margin: auto;

    }


  .container::before {
    background-size: auto 100%;
    background-position: center top;
    background-repeat: no-repeat;
  }

}




/* navigation */

.navigation ul{
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 0px 0px white ;
}

li{
    padding: 1rem;
    display: flex;
    list-style: none;
}

.navigation a{
    font-size: clamp(1rem, 10vw, 2rem);
    text-decoration: none;
    color: var(--text);
    transition: 100ms transform ease-in-out;

}

.navigation a:hover{
    transform: scale(1.1);
    text-shadow: 2px 2px 5px gray;
    color:  var(--buttonriddler);
}

.navigation{
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 2rem auto 0 auto; 
    display: flex;
    height: 80px;
    background: rgba(252, 240, 229, 0.725);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-bottom: 2px solid var(--buttonriddler);
}

/* hamburger menu */
#hamburger-icon {
    padding: 3rem;
    display: none;
    cursor: pointer;

}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
  transform-origin: center;
}


.open .bar1 {
  transform: rotate(45deg) translateY(12px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  transform: rotate(-45deg) translateY(-12px);
}



.mobile-menu {
  display: none;
  position: absolute;
  top: 129px;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}


@media only screen and (max-width: 800px) {
  .navigation {
    display: none;
  }

  #hamburger-icon {
    display: block;

  }

.mobile-menu{
    font-size: 1.5rem;
    background-color: var(--buttonriddler);
}

.mobile-menu a{
    color: white;
    text-decoration: none;
    transition: 100ms transform ease-in-out;
}

.mobile-menu a:hover{
    transform: scale(1.1);
    font-weight: 600;
    text-shadow: 1px 1px 8px rgb(236, 231, 231);
    color: var(--text);
}

#hamburger-icon.open{
    background-color: var(--buttonriddler);
}

}




/* footer */
.footer{
    color: var(--text);
    background-color: var(--nav_color);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 10px;
    margin-top: auto;
}

svg{
    display: block;
    fill: var(--text) !important;
    padding: 0px;
    margin: 0px;
}

@media (max-width: 424px) {
  .powered br {
    display: block;
  }

  .footer{
    justify-content: center;
    gap: 1rem;
  }

}

@media (min-width: 425px) {
  .powered br {
    display: none;
  }
}






/* trupi */
img{
    width: 180px;
    height: auto;
    display: flex;
    margin: auto;
}   

.card:hover{
    box-shadow: 0px 0px 15px 1px white;
    background-color: var(--buttonriddler) !important;
    transform: scale(1.02);
}

.card:hover .description{
    color: white;
}

.characters-cont .description{
    color: var(--butonshadow);
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 10px;
}

.characters-cont {
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 300px));
    gap: 2rem;
    width: 90%;
    max-width: 1300px;
    text-align: center;
    justify-content: center;
}

.characters-cont .card {
    padding: 10px;
    height: stretch;
    margin: auto;
    min-width: 0;
    box-sizing: border-box;
    background-color: var(--nav_color);
    transition: transform 200ms ease-in-out;
    
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

h3 {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    padding: 3rem;
    color: var(--nav_color);
    mix-blend-mode: exclusion;   
}


/* EFEKTI I HAPJES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


p{
    font-size: 13px;
}

/* HAPJA KOHORE */
.characters-cont .card:nth-child(1) {
    animation-delay: 0s;
}

.characters-cont .card:nth-child(2) {
    animation-delay: 0.3s;
}

.characters-cont .card:nth-child(3) {
    animation-delay: 0.6s;
}

.characters-cont .card:nth-child(4) {
    animation-delay: 0.9s;
}