@import "liberationsans.css";

*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html, body {
  height: 100vh;
  width: 100vw;
  margin: 0px;
}


.container {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 50px auto auto;
  justify-content: space-evenly;
  position: relative;
  height: 100%;
  width: 100%;
  padding: 1%;
  background-color: white;
}

.image {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  padding-left: 0%;
  padding-right: 0%;
  max-width: 100%;
  max-height: 50svh;
  background-color: white;
  position: relative;
}

.image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background-color: white;
}

.text {
  max-width: 100%;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 4;
  overflow-y: scroll;
  background-color: white;
  padding: 1rem;
  font-family: 'liberation_sansregular', sans-serif;
  font-size: calc(11px + 0.5vw);
}

.text p, h1, h2, h3, h4, h5 {
  margin-top: 1.5vh;
  padding-right: 1.5vw;
  color: black;
}

.link-list {
  line-height: 2.5;
}

.text ul {
  padding-left: 2vw;
  color: black;
}

a:link {
  color:inherit;
}

.menuwrapper {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  position: absolute;
  object-fit: contain;
  justify-self: end;
  right: 3vh;
}
  
#menu-btn {
  position: absolute;
  top: -100%;
  left: -100%;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: right;
  margin-right: 2rem;
  opacity: 0.85;
}

.menu a {
  text-decoration: none;
  color: white;
}
  
.menu-btn {
  display: none;
}

.menu-icon {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  padding: 30px 20px 30px 0;
  position: relative;
  user-select: none;
  visibility: visible;
}
  
.navicon {
  background: black;
  display: block;
  height: 4px;
  width: 33px;
  position: relative;
}
  
.navicon:before {
  top: 10px;
}
  
.navicon:after {
  top: -10px;
}
  
.navicon:before,
.navicon:after {
  background: black;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  transition: all 0.2s ease-out;
}
  
.menu {
  max-width: unset;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 10px black;
}

.menu a {
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  color: black;
  background-color: white;
  width: 45vw;
  text-align: right;
  font-family: 'liberation_sansregular', sans-serif;
}

  
.menu-btn:checked ~ .menu {
  max-height: 200vh;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}
   
   
.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:before,
.menu-btn:checked ~ .menu-icon .navicon:after {
  top: 0;
}
