@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');

html {
    font-size: 100%;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
 font-family: "Noto Sans";
 background-color: #1b1b1b;
 margin: 0;
 z-index: 0;
 min-width: 720px;
 color: white;
}

#mainwrapper {
  display: flex;
  margin-top: 80px;
  padding: 10px;
  min-height: 865px;
  background-color: rgb(52, 52, 52);
  z-index: 1;
  align-content: center;
  align-items: center;
  flex-direction: column;
}

.infowrapper {
  display: flex;
  margin-top: 80px;
  padding: 10px;
  min-height: 550px;
  background-color: rgb(52, 52, 52);
  flex-direction: row;
  min-width: 580px;
}

a {
  text-decoration: none;
  color: #d8748c;
}

a .navbar {
  font-size: 1.2em;
}

h3 {
  color: #d8748c;
  margin: 20px 0 0;
}

/* #region overlay content*/

.overlaycontent {
  font-size: 20px;
  color: white;
  background-color: #505050;
  min-width: 613px;
  border-radius: 25px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0 20%;
  align-items: center;
  min-width: 680px;
}

.overlaycontent p {
 margin: 0;
 padding: 10px;
}

.overlaycontent h3 {
  margin: 0;
}

.overlaycontent img {
  border-radius: 25px;
  margin-bottom: 20px;
}

  .overlaycontent p h3 {
    margin: 0 10%;
}

/* #endregion overlay */

/* #region cards */

.card {
  background-color: #505050;
  color: white;
  padding: 1rem;
  height: 250px;
  width: 250px;
  z-index: 3;
  border-radius: 12px;
  text-align: center;
}

#cards {
  background-color: #2e2e2e;
  display: grid;
  gap: 5px;
  z-index: 2;
  min-height: 650px;
  max-height: 3000px;
  min-width: 340px;
  height: auto;
  font-size: 1.2em;
  padding: 0;
}

.card:hover {
  transform: scale(1.1);
  transition: 0.2s ease-in-out all;
  z-index: 4;
}

/* #endregion cards */

/* #region overlays */

.overlay {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 6;
  cursor: pointer;
}

/* #endregion overlays */

/* #region media queries */

/* @media (min-width: 800px) {
  #cards { 
    grid-template-columns: repeat(2, 1fr); 
    min-width: 730px;
    height: 1350px;
  }
}

@media (min-width: 1365px) {
  #cards { 
    grid-template-columns: repeat(4, 1fr); 
    min-width: 1300px;
    max-height: 680px;
  }
} */



/* #endregion media queries */

/* #region navbar */
.navbar a {
    position: relative;
    text-decoration: none;
    color: white;
}

.navbar a:hover {
    color: #000;
}

.list {
  display: inline;
}

.list2 {
  display: inline;
}

.astolfo {
  padding: 3px;
  position: relative;
  top: 8px;
  border-radius: 12px;
}

 .link::before {
    content: "";
    position: absolute;
    height: 3px;
    right: 0px;
    bottom: -3px;
    left: 0px;
    background-color: #d8748c;
}

.list .link {
  display: inline;
  position: relative;
  bottom: 13px;
  text-align: center;
  text-decoration: none;
  padding: 0px 10px;
  box-sizing: content-box;
}

.navbar {
  height: 80px;
  list-style-type: none;
  margin-top: 0px;
  width: 100%;
  padding: 2px;
  background-color: rgb(85, 85, 85);
  position: fixed;
  min-width: 720px;
  top: 0;
  /* filter: drop-shadow(0px 0px 20px black); */
  z-index: 5;
}

/* #endregion navbar */

/* #region text */

.text {
  margin: 0px 10px 20px;
  display: flex;
  flex-direction: column;
  font-size: 1.2em
}

/* #endregion text */

/* #region list */

table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  position: relative;
}

td {
  width: 10%;
  text-align: center;
  padding: 15px;
  border: 1px solid black;
}

tr > td:first-child {
  width: 4%
}

tr:nth-child(even) {
  background-color: #f8acbc
}
tr:first-child, tr:last-child {
  background-color:#60ccfc
}

tr:nth-child(3) {
  background-color: white;
}

/* #endregion list */

/* #region input */

#start-form {
  background-color: #2e2e2e;
  width: 30%;
  margin: 20px auto;
  font-size: 1rem;
  text-align: center;
}

.inputfield input, select {
  width: 9vw;
  margin-top: 10px;
}

#formsubmitbutton {
  width: 9vw;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* #endregion input */