

:root {
    --shadow: 0px 40px 150px #000;
    --c_light: #ECE3D7;
    --c_dark: #0A0C09;
    --c_deko: #374F39;
}


* { margin: 0; padding: 0; box-sizing: border-box; }


/* raleway-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 200;
  src: url('/fonts/raleway-v34-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/raleway-v34-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


body {
    font-family: Raleway, sans-serif;
    font-weight: 200;
    color: var(--c_light);
    display: grid;
    place-items: center;
    height: 100vh;
    background-image: url(img/bg.svg);
    background-repeat:no-repeat;
    background-size: cover;
    background-position: center;
}


a{
    text-decoration: none;
}


h1 {
    font-weight: 200;
    font-size: 8.9vw;
    font-size: 70px;
    line-height: 120%;
    text-shadow: var(--shadow);
}

h2{
    font-weight: 500;;
}

.subline {
    font-size: 32px;
    text-shadow: var(--shadow);
}








#impressum a{
    color: #7D7770;
}


.container {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(3, auto);
    
    text-align: center;
    width: calc(100vw - 120px);
    min-height: calc(100vh - 120px);
}

    

#logo{
grid-column: span 1 / span 1;
grid-row-start: 1;
}





#footer{
grid-column-start: span 3;
grid-row-start: 3;
align-self: end;
justify-self: center;
width: 100%;
}
/* impressum link */
#footer a{
    color: #7D7770 ;
}


.content {
    grid-column: span 3 / span 3;
    grid-row-start: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 50px;
}

.row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.button {
    display: flex;
    height: 50px;
    padding: 10px 60px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--c_light);
    box-shadow: var(--shadow);
    font-weight: 500;
    border-radius: 100px;
    color: var(--c_light);
    cursor: pointer;
    font-size: 20px;
}
/* Kontakt Button */
#openPopup{
    background: rgba(236, 227, 215, 0.15);

}

#linkedin{
    background: none;
}

.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(40px);
    display: none;
    align-items: center;
    justify-content: center;
}



.popup {
    background: var(--c_light);
    color: var(--c_dark);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-weight: 500;
}

.popup a{
    color: var(--c_dark);
}

.popup a:hover{
    color: var(--c_deko);
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}







@media (max-width: 768px) {

    #logo {
        grid-column: 2;
        align-self: end;
        justify-self: center;
    }

    .container {
        width: calc(100vw - 60px);
        min-height: calc(100vh - 60px);
    }

    h1{
        font-size: 33px;
    }

    .subline {
        font-size: 20px;    

    }
    .button {
        padding: 10px 30px;
    }



}
