@import "liberation.css";
@import "gaeilge.css";

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

html,
body {
    height: 100vh;
    width: 100vw;
    margin: 0px;
    background-color: white;
    font-size: calc(11px + 0.5vw);
}

.container {
    background-color: white;
    justify-content: space-evenly;
    height: 100%;
    width: 100%;
}

.mannheim {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 60px 50% 50%;
    justify-content: space-evenly;
    position: relative;
    height: 100%;
    width: 100%;
    padding: 1%;
}

.mh-image {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    padding-left: 0%;
    padding-right: 0%;
    background-color: white;
    position: relative;
}

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

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

* p,
ul,
h1,
h2,
h3,
ul {
    margin-bottom: 1.5vh;
    padding-right: 1.5vw;
    color: black;
}

* p,
h1,
h2,
h3 {
    margin-bottom: 1.5vh;
    padding-right: 1.5vw;
}

* h1 {
    font-size: 250%;
    font-family: 'gaeilge', serif;
}

* h2 {
    font-size: 175%;
    font-family: 'liberation_serifregular', serif;
}

* h3 {
    font-size: 125%;
    font-family: 'liberation_serifregular', serif;
}

* p,
ul {
    text-align: left;
    font-size: calc(11px + 0.5vw);
    font-family: 'liberation_sansregular', sans-serif;
    hyphens: none;
}

* ul {
    padding-left: 1.5rem;
    list-style-position: outside;
}

* ul ul {
    padding-left: 2.5rem;
    list-style-position: outside;
}

a:link {
  color: black;
}

a:visited {
  color: black;
}

a:hover {
  color: black;
}

a:active {
  color: black;
} 

.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;
}

#menu-btn {
    position: absolute;
    top: -100%;
    left: -100%;
}

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

.menu a {
    text-decoration: none;
    color: black;
}

.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: 5vw;
    padding: 0;
    color: black;
    background-color: white;
    opacity: 0.9;
    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;
    opacity: 0.9;
    width: 25ch;
    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;
}


