/*----------------------------------

Made by Schwizer Design GmbH
Say hello @ schwizerdesign.ch

Titel: EMTB
Autor: Schwizer Design GmbH
Version 1.0

-----------------------------------*/

:root {
    --black: #3E403C;
    --red: #E20D18;
    --green: #8DAD70;

    --fonttitle: 50px;
    --fontnormal: 26px;
    --fontbutton: 21px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    margin: 0 auto;
    padding: 0;
}

/*----------------------------------
    Font
-----------------------------------*/

h1, h2, h3, button, a, p, ul, li, .toggle-button, .close-button {
    font-family: "nobel", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: white;
    font-size: var(--fonttitle);
    font-optical-sizing: auto;
}

h3 {
    font-size: 30px;
}

p {
    font-weight: 400;
    font-size: var(--fontnormal);
}

button, a{
    font-weight: 300;
    font-size: var(--fontbutton);
}

button, .button-c a {
    background-color: var(--red);
    border: none;
    padding: 10px 20px;
    transition: padding 0.5s ease;
    cursor: pointer;
    text-decoration: none;
}

.button-c a:hover {
    padding: 10px 25px;;
}

.button-c {
    display: flex;
    gap: 20px;
}

.button-c.sline {
    margin-top: 15px;
}

/*----------------------------------
    Logo
-----------------------------------*/
.emtb-logo-c {
    position: absolute;
    left: calc(50% - 100px);
    background-color: var(--black);
    width: 200px;
    height: 250px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.emtb-font {
    width: 175px;
    margin-top: 45px;
    padding: 30px 20px 10px;
}

.emtb-logo {
    width: 120px;
}


/*----------------------------------
    Basic
-----------------------------------*/
.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.left-c, .right-c {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden; 
}

.left-c img, .right-c img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.left-c:hover img, .right-c:hover img {
    transform: scale(1.05);
}

.info-c {
    position: absolute;
    top: 10vh;
    left: 50px;
}
.info-c-right {
    position: absolute;
    top: 10vh;
    right: 50px;
}

/*----------------------------------
    Nav
-----------------------------------*/
nav {
    position: relative;
    z-index: 2000;
}
.toggle-container {
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 1000;
}

.toggle-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.toggle-button:hover {
    transform: scale(1.4);
}

.toggle-button.rotated {
    transform: rotate(45deg);
}

.slideout-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100%;
    background-color: var(--green);
    color: white;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.slideout-panel.open {
    right: 0;
}

.panel-content {
    padding: 30px;
}

.panel-content .image-row {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.panel-content .image-row div {
    flex: 1;
}

.panel-content .image-row img {
    width: 100%;
    height: auto;
}


/*----------------------------------
    Footer
-----------------------------------*/
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.footer {
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 40px;
    align-items: flex-end;
}
.footer-logos {
    display: flex;
    width: 100%;
    gap: 40px;
    justify-content: space-around;
    align-items: flex-end;
}

.footer-logos a img {
    width: 100%;
}

.footer-links {
    cursor: pointer;
    display: flex;
    gap: 5px;
    font-size: 12px;
    flex-direction: column;
    justify-content: flex-end;
}

.footer-links a {
    font-size: 15px;
}

/*----------------------------------
    Impressum Datenschutz AGB
-----------------------------------*/
.slideout-panel-footer {
    position: fixed;
    top: 0;
    left: -500px;
    width: 500px;
    height: 100%;
    background-color: var(--black);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    padding: 30px;
}

.slideout-panel-footer.open {
    left: 0;
}


.close-button {
    position: absolute;
    top: 50px;
    left: 400px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.info h3  {
    margin-top: 50px;
    border-top: 1px solid;
    padding-top: 10px;

}

.info p, .info li  {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 300;
}

/*----------------------------------
    Cookiebanner
-----------------------------------*/

#cookiebanner {
    position: fixed;
    bottom: -250px;
    right: 30px;
    border-radius: 10px;
    width: 350px;
    background-color: white;
    padding: 15px;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.2, 0.8, 0.3, 2);
}

#cookiebanner p {
    color: var(--black);
    margin: 0;
    font-size: 20px;
    font-weight: 300;
    padding-bottom: 20px;
}

#cookiebanner.visible {
    bottom: 30px;
}

.cookie-button {
    padding: 10px 15px;
    margin-top: 20px;
    margin-right: 10px;
}

/*----------------------------------
    Responsiv
-----------------------------------*/

@media only screen and (max-width: 1260px) {
    /* Footer */
    .footer {padding: 20px;}
}

@media only screen and (max-width: 1000px) {
    /* Logo */
    .emtb-logo-c { left: 20px; width: 120px; height: 135px;}
    .emtb-font {width: 90px; margin-top: 20px; padding: 0px;}
    .emtb-logo {width: 90px;}

    /* Main */
    .container {flex-direction: column; height: auto;}
    .left-c, .right-c {width: 100%; height: 90vh;}
    .info-c {bottom: 30px; top: auto; left: 20px;}
    .info-c-right {top: 30px; left: 20px;}
    /* Footer */
    footer{position: relative;}
}

@media only screen and (max-width: 910px) {
    /* Root */
    :root {
        --fonttitle: 36px;
        --fontnormal: 22px;
        --fontbutton: 18px;
    }

    /* Panel */
    .slideout-panel {right: -320px;width: 320px;}
    .toggle-container {top: 20px;right: 20px;}
    .slideout-panel-footer {left: -320px;width: 320px;}
    .close-button { top: 20px; left: 260px;}

   /* Footer */
   .footer-logos {flex-direction: column; gap: 20px;align-items:flex-start;}
   .footer-logos a img {width: 120px;}

}

@media only screen and (max-width: 620px) {
    /* cookies */
    #cookiebanner {
        right: 15px;
        border-radius: 10px;
        width: calc(100% - 30px);
        padding: 15px;
        z-index: 9999;
        transition: bottom 0.5s cubic-bezier(0.2, 0.8, 0.3, 2);
    }
}
