@font-face {
    font-family: Valorant;
    src: url(Valorant\ Font.ttf);
}

html {
    scroll-behavior: smooth;
}

.headline {
    font-family: 'Valorant';
    background-color: rgb(255, 70, 85);
    text-align: center;
    padding: 10px;
    width: fit-content;
    align-self: center;
    margin-top: 3%;
    font-size: 40px;
    border-radius: 20px;
    box-shadow: -5px 5px 5px;
}

h2 {
    font-family: 'Valorant';
    font-size: 30px;
    background-color: rgb(255, 70, 85);
    width: fit-content;
    padding: 8px;
    border-radius: 20px;
    box-shadow: -5px 5px 5px;
    margin-top: 40px;
    align-self: center;
}

p {
    background-color: white;
    font-size: 20px;
    box-shadow: -5px 5px 5px;
    border-radius: 20px;
    padding: 7px;
    width: fit-content;
    max-width: 650px;
    height: fit-content;
    float: right;
    margin-left: 50px;
    margin-right: 50px;
}

p a {
    color: rgb(255, 70, 85);
}

.nav {
    align-self: center;
    font-family: 'Valorant';
    font-size: 25px;
    max-width: fit-content;
}

.nav a {
    text-decoration: none;
    color: rgb(255, 70, 85);
    padding: 7px;
}

.nav a:hover {
    text-decoration: underline;
}

.section {
    display: flex;
    flex-direction: row;
}

.card {
    position: relative;
    margin-left: 50px;
    transform: translate(-50% -50%);
    cursor: pointer;
    width: 1013px;
    height: 570px;
    float: left;
}

.front,
.back {
    overflow: hidden;
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: .6s linear;
}

.front img {
    height: 100%;
    width: 100%;
}

.back img {
    height: 513px;
    width: 510px;
    align-self: center;
    float: right;
}

.back {
    transform: rotateY(180deg);
}

.card:hover .back {
    transform: rotateY(0deg);
}

.card:hover .front {
    transform: rotateY(-180deg);
}