* {
    padding: 0;
    margin: 0;
}

:root{
    --section-height: 100svh;
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Triade";
    src: 
        url("content/fonts/Triade-Upright.otf") format("opentype");
}
@font-face{
    font-family: "Carina_regular";
    src:
        url("content/fonts/FF\ Carina\ W04\ Regular.ttf");
}
@font-face{
    font-family: "Carina_bold";
    src:
        url("content/fonts/FF\ Carina\ W04\ Bold.ttf");
}

@font-face{
    font-family: "Alright";
    src:
        url("content/fonts/AlrightSans-Regular-v3.otf");
}

@font-face{
    font-family: "Alright_bold";
    src:
        url("content/fonts/AlrightSans-Bold-v3.otf");
}


body{
    font-size: 15px !important;
    font-family: "Carina_regular";
}

/*----------------*/
/*----REUSABLE----*/
/*----------------*/

.carina-bold {
    font-family: "Carina_bold";
}

.alright {
    font-family: "Alright";
}

.alright-bold {
    font-family: "Alright_bold";
}

section {
    min-height: var(--section-height);
    max-height: max-content;
    padding: 2rem;
}

.bg-image{
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.index {
    text-align: center;
    padding: 1rem 0;
    font-size: 2.3rem;
    font-family: "Triade";
}

.row{
    display: flex;
    flex: 0 0 100%;
    min-height: max-content;
    padding-top: 4rem;

}

.span-1-of-2{
    display: flex;
    flex: 1 1 50%;
    align-items: center;
}

.headline {
    font-family: "Carina_bold";
    margin-bottom: 0.5rem;
}

.text {
    font-size: 1.2rem;
    line-height: 1.9rem;
    letter-spacing: 0.01rem;
    margin-bottom: 0.7rem;
}

.bubble-line{
    display: block;
    margin-top: 4rem;
}

.bubble {
    font-family: "Triade";
    display: block;
    cursor: pointer;
}

.bubble img {
    display: block;
    margin: 0 auto;
    width: 5.5rem;
}

.bubble-text {
    display: block;
    align-self: center;
    padding-left: 1rem;
    font-family: "Carina_bold";
    font-size: 1.3rem;
}

.popup {
    /*visibility: hidden;*/
    display: none;
    position: absolute;
    z-index: 10;
    height: auto;
    max-width: 50svw;
    background-color: #fff;
    border: 2px solid black;
    border-radius: 25px;
    padding: 1rem;
    top: 0;
    left: 0;
}

.popup .text {
    margin: 0;
    font-family: "Alright";
    font-size: 1rem;
    line-height: 1.5rem;
}

ul {
    list-style: none;
}

/*------------*/
/*----MENU----*/
/*------------*/

#menu {
    background-image: url(content/grafika/bg/bg4k.png);
    height: var(--section-height);
}

.gif{
    text-align: center;
}

.gif img{
    display: block;
    margin: 0 auto;
    width: 25rem;
    border-bottom: 1px solid #000;
    padding-bottom: 0.5rem;
}

.gif h1{
    display: inline-block;
    font-size: 1.5rem;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: normal;
}

nav {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    padding: 0.7rem;
    background-color: #fff;
    border-radius: 3rem;
    width: max-content;
}

nav li{
    padding: 0;
    margin: 0.4rem;
    display: inline-block;
    font-family: "Triade";
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 400ms;
}

nav li:nth-of-type(1):hover{
    color: rgb(140,194,232);
}
nav li:nth-of-type(2):hover{
    color: rgb(145,199,184);
}
nav li:nth-of-type(3):hover{
    color: rgb(255,222,145);
}
nav li:nth-of-type(4):hover{
    color: rgb(255,142,124);
}
nav li:nth-of-type(5):hover{
    color: rgb(228,168,184);
}


/*-----------*/
/*---INTRO---*/
/*-----------*/

#intro {
    background-image: url(content/grafika/bg/letters/4K_b.png);
}

#intro .index{
    color: rgb(140,194,232);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: inherit;
    margin-top: 7rem;
}

.intro-grid .col:nth-of-type(2) {
    padding-right: 17svw;
}

#intro .bubble-line {
    display: flex;
    margin-top: 4rem;
}

#intro .bubble-text {
    display: inline-flex;
}

#intro .popup {
    background-color: #f4f9fd;
    border-color: rgb(140,194,232);
}


/*------------*/
/*---VISION---*/
/*------------*/

#vision {
    background-image: url(content/grafika/bg/letters/4K_e.png);
}


#vision .index{
    color: rgb(145,199,184);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2svw;
    min-height: inherit;
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.vision-grid  .col:nth-of-type(2) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-grid  .col:nth-of-type(1) {
    padding-left: 17svw;
}

#vision .popup {
    background-color: #f4f9f8;
    border-color: rgb(145,199,184);
}

#vision ul {
    list-style: disc;
    padding-left: 1rem;
}

#vision ul li::marker {
    color: rgb(145,199,184);
    font-size: 1.4rem;
}

#vision .bubble {
    margin: 0 auto 1rem auto;
}

#vision .bubble-text {
    text-align: center;
}




/*------------*/
/*---BOUNDS---*/
/*------------*/

#bounds{
    background-image: url(content/grafika/bg/letters/4K_l.png);
}


#bounds .index{
    color: rgb(255,222,145);
}

#bounds .span-1-of-2:nth-of-type(1){
    padding-left: 15svw;
}

#bounds .popup {
    background-color: #fffcf4;
    border-color: rgb(255,222,145);
}

#bounds .bubble {
    margin: 0 auto 1rem auto;
}

#bounds .bubble-text {
    padding: 0;
}

.bounds-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.bounds-grid .col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bounds-grid .col:nth-of-type(1) {
    justify-content: end;
}

.bounds-grid .col:nth-of-type(3),
.bounds-grid .col:nth-of-type(9) {
    justify-content: start;
}

.bounds-grid .col:nth-of-type(5){
    display: block;
}

#bounds ul {
    list-style: disc;
    padding-left: 1rem;
}

#bounds ul li::marker {
    color:  #ccb274;
    font-size: 1.4rem;
}

.conn h4,
.conn p {
    text-align: center;
}

.conn h3 {
    text-align: center;
    font-size: 1.4rem;
}

.conn h4 {
    font-size: 1.3rem;
}

.conn p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

#bounds .popup h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

#bounds .popup h5:nth-of-type(2){
    margin-top: 0.7rem;
}


/*------------*/
/*---MYSELF---*/
/*------------*/


#myself{
    background-image: url(content/grafika/bg/letters/4K_s.png);
    transition: background-image 1s ease-in-out;
}

#myself .index{
    color: rgb(255,142,124);
}

#myself .span-1-of-2{
    padding-left: 17svw;
}

#myself h4 {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgb(255,142,124);
}

#myself ul {
    list-style-type: disc;
    padding-left: 1.1rem;
    font-size: 1.1rem;
}

#myself ul li::marker {
    color: rgb(255,142,124);
  }


/*-------------*/
/*---CONTACT---*/
/*-------------*/



#contact {
    background-image: url(content/grafika/bg/letters/4K_o.png);
}

#contact .index{
    color: rgb(228,168,184);
}

#contact .row {
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#contact h3, 
#contact h4,
#contact p {
    display: block;
    text-align: center;
}

h3 {
    font-size: 2em;
}

#contact h4 {
    font-size: 1.4rem;
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.facebook {
    margin: 3rem auto 0 auto;
    width: 3.5rem;
}

.hero-img {
    display: none;
    width: 11.5rem;
    border-radius: 50%;
    margin-top: 5rem;
}