@font-face {
    font-family: cerem;
    src: url(ceremoniousone.ttf);
}
*{
    font-family: cerem;
    margin: 0;
    padding: 0;
}
.header{
    width: 100%;
    height: 100vh;
    background: radial-gradient(rgba(0, 0, 0, 0.018),rgba(0, 0, 0, 0.42)), url(img/header.jpg) center/cover no-repeat;

}
h1{
    text-transform: capitalize;
    font-size: 200px;
    position: absolute;
    z-index: 10;
    text-align: center;
    top: 20%;
    color: rgb(168, 8, 8);
    width: 100%;
    text-shadow: 5px 5px 0 rgb(206, 142, 142);
}
.history{
    width: 100%;
    height: 100vh;
    background: linear-gradient(90deg,rgba(34, 34, 34, 1) 80%, rgba(34, 34, 34, 0.52) 100%),url(img/main.jpg) right/contain no-repeat;
}
h2{
    text-align: center;
    font-size: 150px;
    color: white;
}
.history p{
    width: 1200px;
    margin: auto;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
}
.history p::first-letter{
    font-size: 80px;
}
.history p::first-line{
    font-weight: 900;
}
.heroes{
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.72)), url(img/heroes.jpg) center/cover no-repeat;
}
.heroes ul{
    list-style: none;
    width: 1380px;
    margin: auto;
}
.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.heroes figure {
    min-width: 250px;
    height: auto;
    flex-grow: 1;
    transition: 0.4s;
}
.heroes figure img, .heroes figure figcaption {
    width: 100%;
}

.heroes figure figcaption{
    background: #222;
    font-size: 50px;
    color: white;
    text-align: center;
}
.heroes p {
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-size: 30px;
    flex-grow:5;
    padding: 15px;
}
.hero:nth-of-type(2n) {
    flex-direction: row-reverse;
}
.heroes figure:hover{
box-shadow: 0 0 10px white;
transform: scale(1.05);
}
.memory{
    background: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.72)), url(img/memory.jpg) top/cover no-repeat;
    min-height: 140vh;
    width: 100%;
}
.memory-content{
    display: flex;
    justify-content: space-around;
    align-items: center;
    perspective: 1000px;
}
.memory-item{
    width: 15%;
    position: relative;
    transition: 0.2s;
    transform-style: preserve-3d;
}
.memory-item:nth-of-type(1){
   align-self: flex-end; 
}
.memory-item:nth-of-type(3){
   align-self: flex-start; 
}
.memory-front img{
    width: 100%;
}
h2{
    width: 55%;
    margin: auto;
    text-align: center;
}
.memory-front{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}
.memory-back{
     position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    color: white;
    padding: 20px;
}
.memory-item:hover{
    transform: rotateY(180deg);
}
.memory-back p{
font-size: 30px;
height: 100%;
}