@import "gentiumplus.css";
@import "utmcaviar.css";

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


    html, body {
        height: 100svh;
        width: 100svw;
        margin: 0px;

    }


    .container {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        justify-content: space-evenly;
  
        position: relative;
        background-color: black;
        height: 100%;
        width: 100%;

    }


    .image {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
        
        max-height: 90%;
        
        padding-left: 0%;
        padding-right: 0%;
        position: relative;
        background-color: black;
        
    }


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

    }

    
    .text-overlay {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
        
        position: absolute;
        width: 100%;
        padding: 1rem;
        color: white;
        font-family: 'UTMCaviar', sans-serif;
        font-size: calc(2px + 1.5vh + 1vw);
        text-align: left;
        top: 50%;
        left: 50%;
        transform: translate(-45%, -130%);
        
    }
    
    
    .text {
        max-width: 100%;
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
        justify-self: center;
        background-color: white;
        padding: 1rem;
        max-width: 80ch;

        font-family: 'GentiumPlusW', serif;
        font-size: calc(11px + 0.5vw);
        
    }


    .text p {
        margin-bottom: 1.5vh;
        padding-right: 1.5vw;
        text-align: justify;
        
    }


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


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


    .menuwrapper {
        grid-column-start: 1;
        grid-column-end: 2;
        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-icon {
        grid-column-start: 1;
        grid-column-end: 2;
        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;
        box-shadow: 0 0 2px 2px white;
    }
    
    
    .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;
        box-shadow: 0 0 3px 3px white;
    }
    
    
    .menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: right;
        margin-right: 2rem;
        max-width: unset;
        max-height: 0;
        transition: max-height 0.2s ease-out;
        overflow: hidden;
        margin: 0;
        padding: 0;
        opacity: 0.75;
        background-color: #fff;
        box-shadow: 10px 10px black;
    }

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

    }

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


