﻿/* Desktops and laptops ----------- */

:root {
    --ratio: 1.5 ;
  }

@media (orientation: landscape) and (min-device-aspect-ratio: 17/9) 
{
    body {
        background-color: #f5f7f8;
    }
    
    .SAPlogo {
        position: fixed;
        top: 3vh;
        left: calc(3vw/var(--ratio));
    }

    .home {
        position: fixed;
        top: 3vh;
        right: 3vw;
    }

    .imgHome{
        height: 2vw;
    }
    
    .imgSAPlogo{
        height: calc(3vw/var(--ratio));
    }
    
    .ItForYoufooter {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        text-align: center;
        z-index: -1;
    }
    
    .Content {
        display: block;
        justify-content: center;
        margin: auto;
        border-radius: 25px;
        height: 100px;
        width: 50%;
        background-color: aqua;
    }
    
    .Centered {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -15em;
        margin-left: -20em;
        width: 40em;
        height: 30em;
        background-color: white;
    }
    
    .CenteredFloating {
        position: absolute;
        left: 50%;
        top: 50%;
        width: calc(81vw/var(--ratio));
        height: 76vh;
        margin-left: calc(-40vw/var(--ratio)) ;
        margin-top: -37vh;
        background-color: white;
        overflow: auto;
    }
    
    .Shadow {
        box-shadow: 0 0 20px 2px #cccccc;
        border-radius: 10px;
    }
    
    @font-face{
        font-family: "local72black";
        src: url(72-Black.ttf);
    }
    
    @font-face {
        font-family: "local72";
        src: url(72-Regular.ttf);
    }
    
    .imgLink {
        text-decoration: none;
    }

    .imgChao{
        height:calc(20vw/var(--ratio));
    }

    .imgNewHire{
        height:calc(12vw/var(--ratio));
    }
    
    h1 {
        font-size: calc(3vw/var(--ratio));
        font-family: local72;
        margin: calc(2vw/var(--ratio)) calc(2vw/var(--ratio)) 0em calc(2vw/var(--ratio));
        text-align: center;
    }
    
    h2 {
        font-size: calc(2.2vw/var(--ratio));
        font-family: local72;
    }
    
    h3 {
        font-size:calc(1.5vw/var(--ratio));
        font-family: local72;
        font-weight: normal;
        margin: 0; 
    }
    
    p {
        font-family: local72;
        font-size:calc(1.1vw/var(--ratio));
        justify-self: center;
        margin: calc(0.5vw/var(--ratio));
    }

    footer{
        font-family: local72;
        font-size: calc(1vw/var(--ratio));
        display: block;
        margin-block-start: calc(1vw/var(--ratio));
        margin-block-end: calc(1vw/var(--ratio));
        margin-inline-start: 0px;
        margin-inline-end: 0px;
    }
    
    .imgProgress {
        height: calc(1vw/var(--ratio));
    }

    .ContentSecondPageGrid {
        justify-content: center;
        display: grid;
        grid-template-columns: 485px;
        /*grid-template-rows: 25px 320px;*/
        height: 240px;
    }
    
    .ContentPageGrid {
        justify-content: center;
        display: grid;
        grid-template-columns: 485px;
        /*grid-template-rows: 25px 320px;*/
        /*height: 240px;*/
    }
    
    .imgContent{
        height:calc(20vw/var(--ratio))
    }

    .slide1HeadImg{
        height: calc(18vw/var(--ratio));
    }

    
    .ContentFirstPageGrid {
        padding-top: 40px;
        justify-content: center;
        display: grid;
        grid-template-columns: calc(15vw/var(--ratio)) auto;
        grid-template-rows: calc(17vw/var(--ratio));
    }

    .ContentFirstPageInnerGrid {
        margin-left: 2em;
        display: grid;
        grid-auto-columns: calc(55vw/var(--ratio));    
    }
    
    .ContentLastPageGrid{
        padding-top: 50px;
        justify-content: center;
        display: grid;
        grid-template-columns: calc(18vw/var(--ratio)) auto;
        grid-template-rows: calc(20vw/var(--ratio));
    }
    
    .ContentLastPageInnerGrid {
        margin-left: 2em;
        display: grid;
        grid-auto-columns: calc(55vw/var(--ratio));
    }

    .contentNewHireGrid{
        margin-top: 50px;
        justify-content: center;
        display: grid;
        grid-template-columns: calc(25vw/var(--ratio)) auto;
        grid-template-rows: calc(20vw/var(--ratio));
    }
    
    .contentNewHiresInnerGrid {
        margin-left: 2em;
        display: grid;
        grid-auto-columns: calc(30vw/var(--ratio));
        grid-auto-rows: calc(7vw/var(--ratio));
    }
        
    .ContentExistingPagesGrid{
        justify-content: center;
        display: grid;
        grid-template-columns: calc(50vw/var(--ratio));
        /*grid-template-rows: 25px 320px;*/
        height: calc(20vw/var(--ratio));  
    }
    
    .ContentExistingPagesInnerGrid{
        justify-content: center;
        display: grid;
        grid-template-columns: calc(27vw/var(--ratio)) auto;
        grid-template-rows: auto;   
    }
    
    .imgFooter{
        height: calc(2vw/var(--ratio));
    }
    
    .ButtondFooter{
        display:flex;
        flex-direction: row;
    }

    .ButtonLeft {
        border: 0px;
        height: calc(4vw/var(--ratio));
        transition: 0.2s;
        filter: drop-shadow(3px 3px 3px #888888);
        position: absolute;
        bottom: calc(1.5vw/var(--ratio));
        right: calc(7vw/var(--ratio));
    }

    .ButtonLeft:hover {
        border: 0px;
        cursor: pointer;
        filter: drop-shadow(0px 0px 0px #888888);
    }    


    .ButtonRight {
        border: 0px;
        height: calc(4vw/var(--ratio));
        transition: 0.2s;
        filter: drop-shadow(3px 3px 3px #888888);
        position: absolute;
        bottom: calc(1.5vw/var(--ratio));
        right: calc(2vw/var(--ratio));
    }
    
    .ButtonRight:hover {
        border: 0px;
        cursor: pointer;
        filter: drop-shadow(0px 0px 0px #888888);
    }    
    .blueBoxParent{
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    
    .verticalCenter{
        margin-left: 2em;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        left: 50%;
        top: 50%;
    }
    
    .blueBox{
        margin: 0em 5em;
        padding: 1em 1em 1em 1em;
        background-color: #0070F2;
        border-radius: 10px;
        font-size: calc(1.2vw/var(--ratio));
        font-family: local72;
        font-weight: bold;
        width: calc(12vw/var(--ratio));
        height: calc(7vw/var(--ratio));
        line-height: calc(7vw/var(--ratio));
        text-align: center;
        overflow-wrap: break-word;
        box-shadow: 3px 3px 6px 3px rgba(100, 100, 100, 1);
        transition-property: box-shadow;
        transition: 0.2s;
    }
    
    .blueBox:hover{
        cursor: pointer;
        box-shadow: 0 0 0 0 rgba(100,100,100, 1);
    }
    
    span {
        display: inline-block;
        vertical-align: middle;
        line-height: normal;
        text-decoration: none;
        color: white;
      }
    
    .margin10{
        margin: 10px 10px 10px 10px;
    }
}

