@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --line-height: 1.4;
  --light-gray: rgb(247, 247, 247);
  --default-border-radius: 7px;
}

body {
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  font-family: "Open Sans", sans-serif;
}

/*  main */

main {
  display: flex;
  justify-content: center;
  max-height: calc(100vh - 80px);
}

.main-content-container {
  display: flex;
  flex: 1;

  max-width: 85%;
  width: 100%;

  box-shadow: 0px 0 5px rgba(51, 51, 51, 0.322),
    -0px 0 5px rgba(51, 51, 51, 0.322);
}

.main-section-container {
  width: 100%;
}

.main-row {
  display: flex;
}

.left-section:nth-child(2n + 1) {
  display: flex;
  align-items: start;
  justify-content: end;
}

.right-section:nth-child(2n + 2) {
  display: flex;
  align-items: start;
  justify-content: start;

  flex-direction: column;
}

.left-section:nth-child(2n + 1) {
  width: 50%;
}

.right-section:nth-child(2n + 2) {
  width: 50%;
}

.main-row img {
  width: 100%;
  aspect-ratio: 1/1;

  box-shadow: 0px 3px 10px rgb(1, 1, 1);
  border-radius: var(--default-border-radius);
  user-select: none;
}

.main-section-container section {
  width: 100%;

  padding: 15px;

  box-shadow: 0px 2px 8px rgb(58, 58, 58);

  letter-spacing: 0.1rem;
  border-radius: var(--default-border-radius);
  line-height: var(--line-height);
  font-size: 1.4rem;
  background-color: var(--light-gray);
}

.left-row-container,
.right-row-container {
  margin: 50px 15px 25px 15px;
}

.left-row-container {
  display: flex;
  justify-content: end;

  position: relative;

  margin-left: 7%;
  width: 100%;
}

.right-row-container {
  display: flex;
  justify-content: start;

  margin-right: 7%;
}

.left-row-container button {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 82px;

  border: none;

  border-radius: 0 0 var(--default-border-radius) var(--default-border-radius);

  font-size: 2.5rem;
  font-weight: bold;
}

button:hover {
  cursor: pointer;
}

.hansens-button {
  background-color: rgb(154, 217, 234);
  color: rgb(34, 34, 34);
  font-size: 3rem;
}

.hansens-button:hover {
  background-color: rgb(31, 206, 255);
  color: black;
}

.games-button {
  background-color: rgb(176, 0, 0);
  color: rgb(233, 233, 233);
}

.games-button:hover {
  background-color: rgb(200, 0, 0);
  color: rgb(250, 250, 250);
}

.calc-button {
  background-color: rgb(220, 220, 220);
}

.calc-button:hover {
  background-color: rgb(240, 240, 240);
}
