@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Luckiest+Guy&display=swap');
* {
    box-sizing: border-box;
}

body,
html {
    background: #EBE8E2;
    margin: 0;
    padding: 0;
    /* Reference scale = body height*/
    height: 100%;
    width: 100%;
    /* Currently used for title interline */
    line-height: 60%;
}

p {
    font-family: 'Bangers';
}


/* HEADER START */

h1 {
    font-family: 'Luckiest Guy', 'Bangers', cursive, 'Gill Sans Nova Cond Ultra Bold', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 100px;
    color: #F2F2F2;
    line-height: 30%;
    font-stretch: ultra-condensed;
    text-transform: uppercase;
    text-shadow: grey 1px 4px;
    transform: rotate(1.5deg);
}

h1 p {
    text-align: center;
    font-stretch: none;
    font-size: 45px;
}

.top-div1 {
    top: 40px;
    position: relative;
    background-image: linear-gradient(to left, #FFC000, #FFDB69);
    height: 20%;
    text-align: center;
    transform: rotate(1.5deg);
    background-repeat: repeat-x;
}

.top-div2 {
    top: 10px;
    position: relative;
    background-image: linear-gradient(to left, #EA4800, #F18549);
    height: 8%;
    transform: rotate(1.5deg);
    background-repeat: repeat-x;
}

.title-box {
    position: absolute;
    top: 65px;
    right: 180px;
}


/* HEADER END */


/* LAYOUT START */

.layout {
    position: absolute;
    flex-wrap: nowrap;
    align-items: flex-end;
    height: 100%;
    width: 30%;
    top: 5%;
    /* START LAYOUT AFTER 20% of TOTAL BDOY */
    left: 25%;
    z-index: 10;
}

.image-start-mini1 {
    position: relative;
    width: 75%;
    transform: rotate(15deg);
    z-index: 11;
    left: 20%;
}

.image-start-mini2 {
    width: 90%;
    transform: rotate(350deg);
    z-index: 12;
    animation: bounce 0.40s ease infinite alternate;
}


/*MDN instructions*/

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}


/* LAYOUT END */

.introduction {
    position: absolute;
    color: #2527b4;
    font-size: 15px;
    margin: 0 auto;
    padding: 0 1em;
    text-align: center;
    font-family: sans-serif;
    width: 100%;
    top: 5%;
}

.introduction p {
    font-size: 26px;
    line-height: 100%;
    text-align: right;
}

.square {
    position: relative;
    background-color: #D9D9D9;
    margin: 0 auto;
    padding: 0 1em;
    text-align: center;
    font-family: sans-serif;
    width: 48%;
    height: 48%;
    top: 30%;
}

.square img {
    position: relative;
    top: 20%;
    z-index: 999;
    height: 120px;
}

.square img:nth-child(2) {
    animation: bounce 0.40s ease infinite alternate;
}

.square a {
    position: absolute;
    left: 100px;
    top: 125px;
    z-index: 1000;
    background: transparent;
    font-family: 'Bangers';
    font-size: 36px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
}

.square p {
    position: absolute;
    left: 81px;
    top: 90px;
    z-index: 1000;
    background: transparent;
    font-family: 'Bangers';
    font-size: 36px;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
}

.square a:hover {
    transform: scale(1.10);
}

.container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: auto;
    height: 60%;
    width: 35%;
    /* set based on layout (25% +30%) */
    left: 55%;
    top: 5%;
}

.victory {
    position: inherit;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 100px;
}

.victory h2 {
    text-align: center;
    font-family: 'Luckiest Guy';
    font-size: 60px;
    color: rgb(83, 153, 83);
}

.victory p {
    font-family: 'Luckiest Guy';
    font-size: 110px;
    font-stretch: ultra-expanded;
    color: rgb(83, 153, 83);
}

.victory img {
    position: inherit;
    width: 8%;
    height: 8%;
    z-index: 999;
    right: 450px;
}

.defeat {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    top: 100px;
}

.defeat h2 {
    position: inherit;
    text-align: center;
    font-family: 'Luckiest Guy';
    font-size: 60px;
    padding-top: 20px;
    color: rgb(255, 177, 148);
    text-transform: unset
}

.defeat p {
    font-family: 'Luckiest Guy';
    font-size: 90px;
    font-stretch: ultra-expanded;
    color: rgb(255, 177, 148);
    text-transform: lowercase;
}

.defeat img {
    position: relative;
    width: 20%;
    z-index: 999;
}