
/* fitty-fitty */

.fifty-fifty {
    display: flex;
    max-width: 75%;
    margin: 6% auto 2%;
    justify-content: center;
}

.fifty-fifty-billede {
    width: 50%;
}

.fifty-fifty-billede img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* bevarer billedets proportioner */

}

.fifty-indhold {
    position: relative; /* gør at guldhjørnerne kan sidde ovenpå indholdet */
    padding: 4rem;
    width: 50%;
    color: white;
    background-color: #6f4e37;
}

/* arrang - font og tekst farve */

.fifty-indhold h2{
    margin-bottom: 0.5em;
}

.fifty-indhold p{
    font-family: 'roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.fifty-indhold p a, .fifty-indhold-kork p a{
    color: #fff;
    text-decoration: none;
    text-underline-offset: 2px;
}
.fifty-indhold p a:hover, .fifty-indhold-kork p a:hover{
    text-decoration: underline;
}


/*kork baggrunds fifty fifty*/

.fifty-indhold-kork {
    position: relative;
    padding: 4em;
    width: 50%;
    background-image: url(images/kork-baggrund.jpg);
    color: white;
    text-shadow: 2px 4px 4px rgb(0, 0, 0, 0.6);
}

.fifty-kork-baggrund img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fifty-indhold-kork h2 {
    margin-bottom: 0.5em;
}

.fifty-indhold-kork p {
    font-family: 'roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8rem;
}


/*-----------OM CAFEEN SIDE --------------------------------------------------------------------*/
/*Vores histoire afsnit*/

#historie-container{
    display: flex;
    margin: 8% auto 2%;
}

#info-kasse { 
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 5rem; /* indvendig afstand */
    position: relative; 
    max-width: 1200px;
    margin: auto; /* centrerer kassen */
    
}

.historie-billede{
    width: 50%;
    margin: 0 2.5rem; /* afstand til tekst */
    position: relative;
    overflow: visible;
}

.historie-billede img{
    width: 100%;
    aspect-ratio: 6/5;
    object-fit: cover;
}

.silkeborgsbedste{
    position: absolute;
    bottom: -10%;
    right: -5%; /* Rykket tættere på billedet */
    width: 20%;
    transform: rotate(-5deg);
}

.silkeborgsbedste img{
    width: 100%;
    aspect-ratio: inherit;
    height: auto;
}

.historie-tekst{
    width: 50%;
}

.historie-tekst p{
    padding-top: 2%;
    padding-bottom: 2%;
    font-size: 1.1rem;
}


/* Kaffekande-collage galleri */

#billedkande {
    display: flex;

    width: 60%;
    height: 80%;
    margin: auto;
    position: relative;
    align-items: center;
}

#billedkande img{
    width: 60%;
    height: 80%;
    margin: auto;
}  


.cta{
    position: absolute;
    top: 80%;
    right: 0;
}


/*Comuterfri og hundevenlig*/
.fifty-fifty{ 
    margin-bottom: 10%;
}

/*Dette siger vores gæster*/

#gaester{
    margin-top: 10%;
    width: 100%;
    color: black;
    position: relative;
    z-index: 2;
    align-items: center;
    overflow: auto;
    /* white-space: nowrap; */
    margin-bottom: 5%;
    
}

#gaester h2{
    margin-left: 2%;
    margin-bottom: 1%;
}

#gaester-container{
    display: flex;
    background-color: #b08968;
}

#gaesterindhold{
    background-color: #b08968;
    width: 100%;
    display: flex;

    overflow-x: hidden;      /* skjuler scrollbaren */
    overflow-y: hidden; 
    gap: 2rem;
}

.citater{
    background-color: #f8edd1;
    background-image: url(images/kande-baggrund-papaya.jpg);
    background-position: left bottom;
    margin: 2% auto;
    padding: 6% 2%;
    border-radius: 1rem;
    /* width: 20%; */

    flex-grow: 0; /*elementet vokser ikke selvom der er plads i containeren*/
    flex-shrink: 0; /*elementet skrumper ikke selvom der er trangt i containeren*/
    flex-basis: 23%; /*grundstørrelsen på elementet før flex-grow og flex-shrink fylder 23% af containeren*/

}

.citater p{
    text-align: center;
    font-size: 1.2rem;
    white-space: normal;
}

.citater h3{
    font-family: 'roboto', sans-serif;
    font-size: 1.3rem;
    white-space: normal;
    text-align: center;
}

.pil {
    width: 2.5%;
    cursor: pointer;
}



/*-----Lille nyhedsbrev----*//*Næsten samme css som til på forsiden, men med små tweaks*/
.nyhedsbrev-overlay{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10%;
    display: flex;
    justify-content: center;
    gap: 8rem;
    z-index: 10;
    width: 70%;
    margin: auto;
}

.brevkorkbaggrund{
    width: 100%;
    position: relative;
    height: 550px;
    margin-top: 10%;
    overflow: hidden; 
}

.brevkorkbaggrund img{
    border-radius: 5rem 5rem 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;            
    position: relative;
}

.brev{
    width: 35%;
}

.brev img { 
    width: 100%;
    border-radius: 0 0 0 0;
}

.nyhedsbrevtekst{
    position: absolute;
    top: 13%;
    width: 100%;
    z-index: 6;
}

.nyhedsbrevtekst p{
    color: white;
    text-align: center;
    font-size: 1.6rem;
}


.tilmeld-kasse {
    width: 40%;
    border-radius: 1rem;
    padding: 1rem;
    line-height: 2.2rem;
    text-align: center;
    z-index: 20;
    
    /* glas-effekt */
    border: solid #fff 3px;
    background: linear-gradient(
      90deg,
      rgba(176,137,104,0.4) 0%,
      rgba(111,78,55,0.4) 100%
    );
    backdrop-filter: blur(0.5rem);
}

.tilmeld-indhold h2 {
    color: #fff;
    margin: 0 0 0.5rem 0;
}
.tilmeld-indhold p {
    font-family: "Roboto", sans-serif;
    font-size: 1.1rem;
    color: #fff;
}

label {
    font-family: "Roboto", sans-serif;
    font-size: 1.1rem;
    color: #fff;
}


#email {
    background-color: transparent;
    border: none;
    border-bottom: solid #fff 2px;
    color: #fff;
    margin-top: 1rem;
    padding: 0.3rem 0.2rem;
    width: 60%;
    box-sizing: border-box;
}

.tilmeld-kasse .cta{
    display: block;
    width: 100%;
    background-color: #738743;
    color: #000;
    text-align: center;
    border: none;
    border-radius: 30px;
    padding: 1rem 2.2rem;
    margin: 1.5rem auto 0 auto;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}
/* 
.cta-input {
    width: 50%;
    background-color: #738743;
    color: #000;
    text-align: center;
    border: none;
    border-radius: 30px;
    padding: 1rem 2.2rem;
    margin-top: 1.2rem;
    font-size: 1.0rem;
    cursor: pointer;

    position: relative;
    overflow: hidden;
    z-index: 1;
}

/*hover effekt*//*

.cta-input:hover{
    color: #000;
} */



/*----------TIL MOBIL-----------------------------------------------------------------------------------*/


@media screen and (max-width: 600px) {

    /*Fifty fifty afsnit*/

    .fifty-fifty{
        min-width: 90%;
        margin: 15% auto 0;
    }

    .fifty-fifty, .fifty-fifty-billede img{
        display: block;
    }
    
    .fifty-indhold, .fifty-indhold-kork, .fifty-fifty-billede{
        width: 100%;
    }
    .fifty-indhold, .fifty-indhold-kork{
        padding: 3rem;
    }

    .fifty-indhold p, .fifty-indhold-kork p{
        font-size: 1rem;
    }

    .fifty-indhold p a, .fifty-indhold-kork p a{
        text-decoration: underline;
    }

    .fifty-indhold p a:hover, .fifty-indhold-kork p a:hover{
        text-decoration: underline;
    }


    /*-----Om caféen-----*/

    /*Vores historie afsnit*/

    #historie-container{
        display: block;
        width: 100%;
        margin: 30% auto 2%;
    }

    #info-kasse {
        display: block;
        flex-direction: column;
        
        width: 100%;
        margin-top: 20%;
        padding: 3.5rem;  
    }

    .historie-billede{
        width: 100%;
        margin: auto; /*Fjerner margin mellem billede og tekst*/
        padding: 0; /*Fjerner padding omkring billedet*/
    }

    .historie-billede img{
        aspect-ratio: 1/1;
    }

    .historie-tekst{
        width: 100%;
        margin-top: 5%;
    }

    .silkeborgsbedste{
        width: 25%;
        right: -7%;
    }

    .silkeborgsbedste img{  /*Dont know what to do with this....*/
        width: 100%;
        aspect-ratio: inherit;
    }

    /*Kaffekande billede*/
    #billedkande{
        width: 100%;
        margin-bottom: 10rem;
    }

    #billedkande img{
        width: 80%;
    }

    #billedkande .cta{
        top: 95%;
        left: 4%;
    }


    /*Dette siger vores gæster*/
    #gaesterindhold{
        gap: 1rem;   
        padding: 5% 2%; 
    }

    .citater{
        flex-basis: 48%;
    }

    .citater h3, .citater p{
        font-size: 0.9rem;
    }

    .pil {
    width: 8%;
    }

    /*Nyhedsbrev*/

    .brevkorkbaggrund{
        height: 750px;
        position: relative;
    }

    .nyhedsbrev-overlay{
        position: absolute;
        top: 38%;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        width: 90%;
        margin-bottom: 1rem;
    }

    .tilmeld-kasse, .brev {
        position: static;
        width: 85%;
        height: auto;
    }

    .nyhedsbrevtekst{
        padding: 0;
        margin: 0;
        top: 7%;
    }

    .nyhedsbrevtekst p{
        font-size: 1.2rem;
        width: 90%;
        margin: auto;
        padding: 0;
    }
}

/* tablet størrelse ------------------------------------------------*/

@media screen and (min-width: 601px) and (max-width: 730px) {
    .fifty-fifty{
        max-width: 85%;
    }
    .fifty-indhold p, .fifty-indhold-kork p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .silkeborgsbedste{
        width: 22%;
        right: 0;
        bottom: 25%;
    }
}

@media screen and (min-width: 601px) and (max-width: 1000px){
    .fifty-fifty{
        max-width: 85%;
    }

    .fifty-indhold p, .fifty-indhold-kork p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    /*nyhedsbrev sektion*/

    .brev{
        bottom: 16%;
    }

    .tilmeld-indhold h2 {
        font-size: 1.8rem;
    }

    /* om caféen afsnit ----------------*/

    #info-kasse{
        width: 90%;
        margin-top: 6rem;
        padding: 3rem;
    }

    .historie-tekst p{
        font-size: 1rem;
    }

    .historie-billede {
        margin: 0;
        padding: 1.5rem;
    }

    .historie-billede img {
        aspect-ratio: 2/3;
    }

    .silkeborgsbedste{
        width: 25%;
        right: 1%;
    }

    .silkeborgsbedste img{  
        width: 100%;
        aspect-ratio: inherit;
    }

    #billedkande{
        width: 90%;
        height: auto;
        overflow: hidden;
    }
    #billedkande .cta{
        top: 75%;
        left: 65%;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }

    .nyhedsbrev-overlay{   /* ændringer så nyhedsbrevet er pænere???*/
        gap: 3rem;
        justify-content: center;
        align-items: flex-start;
        width: 90%;
        flex-wrap: nowrap;
        margin: 0 auto;
    }
}