@font-face {
    font-family: MinecraftSeven;
    src: url('resources/fonts/seven.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Home-Font;
    src: url('resources/fonts/crooker.otf');
    font-weight: normal;
    font-style: normal;
}

a, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration: none;
}

body {
    background-color: white;
    color: black;
    font-family: Helvetica;
    padding: 0;
    margin: 0;
}

/* This is Home part */

.home-page-navbar {
    display: flex;
    justify-content: center;
}

.home-page-title {
    display: flex;
    justify-content: center;
    height: 75px;
    width: fit-content;
}

.home-page-title p {
    transition: transform 0.3s ease;
    transform:rotate(5deg);
    font-family: Home-Font;
    font-size: 56px;
    color: #6d96e3;
}

.home-page-title:hover p {
    transform: rotate(-5deg);
}

.home-page-wrapper {
    padding: 2vw 24vw;
    font-family: Home-Font;
}

.cards-array-wrapper{
    display: flex;
    justify-content:center;
    width: 100%;
}

.cards-array {
    position: relative;
    width: 300px;
    height: 300px;
}

.card {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.5s ease;
}

#card-left {
    z-index: 3;
    background-image: url('resources/pics/background-art.png');
    background-size: contain;
}

#card-center {
    z-index: 1;
    background-image: url('resources/pics/background-minecraft.png');
    background-size: contain;
}

#card-right {
    z-index: 2;
    background-image: url('resources/pics/background-extra.png');
    background-size: contain;
}

.cards-array-wrapper:hover #card-left {
    transform: translateX(-380px) rotate(-8deg);
}

.cards-array-wrapper:hover #card-center {
    transform: translateY(-12px);
}

.cards-array-wrapper:hover #card-right {
    transform: translateX(380px) rotate(8deg);
}

.cards-array-wrapper:hover #card-left p{
    transform: translateY(42px);
}

.cards-array-wrapper:hover #card-center p{
    transform: translateY(42px);
}

.cards-array-wrapper:hover #card-right p{
    transform: translateY(42px);
}

.card p{
    margin: 5px;
    text-align: center;
    font-size: 24px;
    transition: transform 0.5s ease;
}

/* This is Minecraft Part of stylesheet */

.mc-page {
    padding: 2vw 10vw;
}

.mc-top-bar{
    display: grid;
    grid-template-columns: 3fr repeat(3, 1fr);
    padding: 0;
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    background-image: url('resources/pics/top-background.png');
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10
}

.mc-top-bar p {
    color: #FFFF00;
    font-family: MinecraftSeven;
    padding: 24px;
    margin: 0;
    text-align: center;
    transition: 0.3s;
}

.mc-top-bar p:hover{
    color: #FFFFFF;
    font-family: MinecraftSeven;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(1px);
}

.mc-navbar-image {
    padding: 0px 0 0 115px;
    text-align: left;
    transform: translateY(10px);
}