@import "../css/fonts.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: ff-primary;
    min-height: 100vh;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll;
    overflow-x: hidden;
    text-align: center;
    color: #8C2671;
    padding: 0 15vw;
}
body::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}
h2, p {
    animation: slide-in-bottom 0.5s ease-in-out both;
}
h2 {
    font-size: 2.4rem;
}
p {
    font-size: 1.6rem;
    padding-top: 3vh;
}
a {
    color: #8C2671;
    font-weight: bold;
}
a:hover {
    color: #b43191;
}

@keyframes slide-in-top {
    0% {
      -webkit-transform: translateY(-200px);
      transform: translateY(-200px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
}
@keyframes slide-in-bottom {
    0% {
      -webkit-transform: translateY(300px);
      transform: translateY(300px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding: 0 7vw;
    }
    .img-404 {
        width: 80%;
    }
    .img-403 {
        width: 60%;
    }
    h2 {
        font-size: 1.6rem;
    }
    p {
        font-size: 1.2rem;
    }
}