body {
    background-color: rgb(0, 0, 0);
    color: white;
    margin: 0;
}
.everything {
     margin: 5vw 6vw;
}
h1 {
    font-size: 2.8rem;
}
.title {
    background-color: rgb(235, 39, 39);
    padding: 3vw;
    margin-top: 0;
    margin-bottom: 4vw;
    display: flex;
    justify-content: center;
}
h2 {
    color: rgb(254, 53, 53);
    font-size: 2.1rem;
    margin-top: 0;
}
.franchise {
    display:flex;
    margin-bottom: 5vw;
    justify-content: center;
    font-size: 1.1rem;
}
.info {
    width: 35vw;
    font-family: "Body";
    font-size: 1.2rem;
    line-height: 1.6;
}
.card {
    margin-left: 6vw;
    width: 21%;
    border: 2px rgb(255, 255, 255) solid;
    border-radius: 10px;
    background-color: white;
    color:black;
    transition: all 200ms;
    font-family: "Body";
}
.button {
    text-decoration: none;
    background-color: rgb(235, 39, 39);
    color: white;
    padding: 8px 10px;
    border-radius: 10px;
    display: inline-block;
    transition: all 200ms;
}
.content {
    padding: 15px;
}
.content h3 {
    margin-top: 0;
    font-family: "Title";
    font-size: 1.3rem;
}
.picture{
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    
}
.picture img {
    width: 100%;
    height: 100%;
    transition: all 500ms;
}
h1, h2 {
    font-family: "Title";
}
.saw {
    width: 4vw;
    padding-left: 4vw;
}
.mask {
    width: 4vw;
    padding-left: 4vw;
}
.doll {
      width: 5vw;
    padding-left: 4vw;
}

/* Hover */
.card:hover {
    transform: translateY(-4px);
    .picture img {
        transform: scale(1.1);
    }
    .saw {
        animation: saw 350ms cubic-bezier(.17,.67,.41,1.01) 4 alternate;
    }
    .mask {
        animation: mask 500ms cubic-bezier(0.5, 0.82, 0.165, 0.5) 3 alternate;
    }
    .doll {
        animation: doll 600ms cubic-bezier(0.5, 0.82, 0.165, 0.5) 2 alternate;
    }
}
.button:hover {
    transform: scale(1.1);
} 


/*Animations*/
@keyframes saw {
    0% {transform: translateX(-7px)}
    100% {transform: translateX(7px)}
}
@keyframes mask {
    0% {transform: rotate(-6deg);}
    100% {transform: rotate(6deg);}
} 
@keyframes doll {
    0% {transform: rotate(5deg);}
    25% {transform: translateX(5px);}
    75% {transform: rotate(-5deg);}
    100% {transform: translateX(-5px);}
}

/* Fonts */
@font-face {
    font-family: "Title";
    src: url(Trade_Winds/TradeWinds-Regular.ttf);
}
@font-face {
    font-family: "Body";
    src: url(Poltawski_Nowy/PoltawskiNowy-VariableFont_wght.ttf);
}
.trade-winds-regular {
  font-family: "Trade Winds", system-ui;
  font-weight: 400;
  font-style: normal;
}

