/*
 * Copyright (C) 2023 TheRealOne78 <bajcsielias78@gmail.com>
 *
 * This file is part of the 'TheRealOne78's error pages' project
 *
 * 'TheRealOne78's error pages' is free software: you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or (at your
 * option) any later version.
 *
 * 'TheRealOne78's error pages' is distributed in the hope that it will be
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
 * Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * 'TheRealOne78's error pages'. If not, see <http://www.gnu.org/licenses/>.
 */

html, body {
  background-color: black;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "VT323";
}

.selected {
  background-color: #ffffff;
  color: black;
  font-family: 'VT323', monospace;
}

a {
  text-decoration-style: dashed;
  color: white;
}

a:hover {
  background: transparent;
  text-decoration: underline;
}

abbr {
  text-decoration: none;
}

/* === Containers === */

.errContainer {
  background-color: black;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-items: center;
}

.errImgContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  background-color: white;
  min-width: 35%;
  min-height: 100vh;
}
@media screen and (max-width: 1325px) {
  .errContentContainer {
    text-align: left !important;
  }
}
@media screen and (max-width: 1125px) {
  .errImgContainer {
    display: none;
  }
}

.errContentContainer {
  font-family: 'VT323', monospace;
  color: white;
  font-size: 35px;
  min-width: 60%;
  margin: 0 50px;
  text-align: justify;
}

#img {
  margin: 0 25px;
  max-height: 80%;
  min-width: 65%;
  max-width: 80%;
  position: relative;
  top: 50vh;
  transform: translateY(-50%);
}

.errItemTitle {
  font-family: 'VT323', monospace;
  font-size: 100px;
  margin: 15px 0 15px 0;
  text-align: left;
}

.infinite-cursor {
  animation: infinite-cursor 1.75s infinite;
}
@keyframes infinite-cursor {
  0% {
    background-color: black;
  }
  50% {
    background-color: black;
  }
  51% {
    background-color: currentColor;
  }
  100% {
    background-color: currentColor;
  }
}
