@keyframes MainMenu {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes Turning {
    from {
        transform: rotateY(0);
    }

    to {
        transform: rotateY(1turn);
    }

}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 1s;
}

:root {
    --MainYellow: #f2b569;
    --MainBlue: #003c5a;
    --MainGreen: #59c2a3;
}

body {
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    display: grid;
    grid-template-columns: auto min(100vw, 1400px) auto;
}

div.Gap72px {
    height: 72px;
}

div#HeaderLeft {
    background-color: var(--MainBlue);
    height: 72px;
}

header#HeaderCenter a#Logo img {
    border-bottom-right-radius: 14px;
    width: 110px;
    height: 110px;
    animation: Turning 6s;
}

header#HeaderCenter a#Logo {
    display: block;
}

header#HeaderCenter nav input#HamburgerCheckBox {
    display: none;
    height: 72px;
    width: 72px;
    position: absolute;
    z-index: 2;
    opacity: .22;
}

header#HeaderCenter nav div.HamburgerSpan {
    display: none;
    position: absolute;
    z-index: 1;
}

header#HeaderCenter nav div.HamburgerSpan span {
    display: block;
    width: 72px;
    height: 8px;
    background: white;
    border-radius: 3px;
    margin: 8px 0px;
}

header#HeaderCenter nav img#NavLogo {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: .55;
}

header#HeaderCenter nav ul li a:hover {
    transform: scaleY(1.14);
    color: var(--MainGreen);
}

header#HeaderCenter nav ul li a {
    background-color: var(--MainBlue);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    color: white;
    text-decoration: none;
}

header#HeaderCenter nav ul li {
    flex: 1 1 0px;

}

header#HeaderCenter nav ul li:last-child a {
    border-bottom-right-radius: 14px;
}


header#HeaderCenter nav ul {
    display: flex;
    list-style-type: none;
    animation: MainMenu 3.14s;
}

header#HeaderCenter nav {
    width: 100%;
    position: relative;
    font-size: 110%;
}

header#HeaderCenter a#Language img {
    width: 110px;
    height: 110px;
    border-bottom-left-radius: 14px;
    filter: drop-shadow(8px 8px 10px var(--MainBlue));
}


header#HeaderCenter {
    height: 72px;
    display: flex;
}

@media only screen and (max-width: 1400px) {
    body {
        grid-template-columns: 0 auto 0;
    }
}

@media only screen and (max-width: 777px) {

    header#HeaderCenter nav input#HamburgerCheckBox {
        display: block;
    }

    header#HeaderCenter nav div.HamburgerSpan {
        display: block;
    }

    header#HeaderCenter nav ul li a:hover {
        transform: initial;
        background-color: #65dbb5;
        color: #003c5a;
    }

    header#HeaderCenter nav ul li a {
        justify-content: left;
        padding-left: 88px;
    }

    header#HeaderCenter nav ul {
        display: none;
    }

    header#HeaderCenter nav input#HamburgerCheckBox:checked~ul {
        display: block;
        position: relative;
    }

    header#HeaderCenter nav input#HamburgerCheckBox:checked~ul>img {
        display: block;
    }

    header#HeaderCenter nav {
        background-color: #003c5a;
        z-index: 1;
    }
}


/* Footer */
div#FooterLeft {
    background-color: var(--MainBlue);
}

footer#FooterCenter div#Center div#FooterTitr ul h2 {
    height: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer#FooterCenter div#Center div#FooterTitr ul li a {
    display: block;
    text-decoration: none;
    color: white;
    text-align: Left;
    padding-left: 8px;
}

footer#FooterCenter div#Center div#FooterTitr ul li {
    margin: 14px 22px;
    border-left: 1px var(--MainGreen) solid;
}

footer#FooterCenter div#Center div#FooterTitr ul {
    list-style: none;
    color: white;
    width: 33%;
}

footer#FooterCenter div#Center div#FooterTitr {
    display: flex;
    width: 60%;
    align-items: center;
    justify-content: space-around;
}

footer#FooterCenter div#Center div#LogoDown address table tr td br {
    display: none;
}

footer#FooterCenter div#Center div#LogoDown address table tr td {
    text-align: left;
    color: white;
    font-size: 110%;
    padding: 4px 22px 4px 4px;
}


footer#FooterCenter div#Center div#LogoDown address table {
    width: 100%;
}

footer#FooterCenter div#Center div#LogoDown div#Socail:has(a:hover) a:not(:hover) {
    filter: blur(4px)
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:has(+a + a + a:hover) {
    transform: scale(1.05);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:has(+ a + a:hover) {
    transform: scale(1.15);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:has(+ a:hover) {
    transform: scale(1.3);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:hover {
    transform: scale(1.4);
    opacity: 1;
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:hover+a {
    transform: scale(1.3);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:hover+a+a+a {
    transform: scale(1.05);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a:hover+a+a {
    transform: scale(1.15);
}

footer#FooterCenter div#Center div#LogoDown div#Socail a img {
    display: block;
}

footer#FooterCenter div#Center div#LogoDown div#Socail a {
    border-radius: 14px;
    overflow: hidden;
    opacity: .88;
}

footer#FooterCenter div#Center div#LogoDown div#Socail {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 4% 0 0 0;
}

footer#FooterCenter div#Center div#LogoDown {
    width: 40%;
}

footer#FooterCenter div#Center {
    max-width: 1400px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

footer#FooterCenter div#CopyRight span {
    color: var(--MainGreen);
    animation: Opi 5s ease-in infinite;
}

footer#FooterCenter div#CopyRight {
    text-align: center;
    padding: 1% 0;
    margin-top: 2%;
    border-top: 2px #59c2a3 solid;
    color: white;
}

footer#FooterCenter {
    width: 100%;
    background-color: var(--MainBlue);
}

div#FooterRight div {
    width: 100%;
    height: 132px;
    background-color: white;
}

div#FooterRight {
    background-color: var(--MainBlue);
}

@keyframes Opi {
    50% {
        opacity: 0;
    }
}

@media only screen and (max-width: 1040px) {

    footer#FooterCenter div#Center div#FooterTitr {
        flex-basis: 100vw;
    }

    footer#FooterCenter div#Center div#LogoDown img {
        max-width: 100%;
    }

    footer#FooterCenter div#Center div#LogoDown address table tr td br {
        display: block;
    }

    footer#FooterCenter div#Center div#LogoDown address table tr td {
        text-align: center;
    }

    footer#FooterCenter div#Center div#LogoDown {
        flex-basis: 100vw;
    }

    footer#FooterCenter div#CopyRight {
        font-size: medium;
    }
}