/* ===============
   Hero Section Styles
=============== */

/* Hero Section */

.hero {
    background-image: url(/img/hero.jpg);
    background-position: center;
    height: 938px;
    margin-bottom: 10em;
    
}

.hero h1{
    font-size: 64px;
    color: #fff;
    margin: 0;
}

.hero p {
    font-size: 36px;
    font-style: italic;
    font-weight: 300;
    color: #fff;
}

.hero_karmen {
    text-align: right;
    padding-right: 270px;
    padding-top: 400px;
}

/* hero end */

.index {
    background-color: #fff;
}

.cart {
    background-color: #f5f7f9;
    height: 859px;
}

.logo {
    width: 122px;
    height: 55px;
}

.offers-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 150px;
    padding-bottom: 199px;
    
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.offer {
    display: flex;
    background-color:#f5f7f9;
    border-radius: 5px;
    margin-bottom: 20px;
}

.offer:hover {
    background-color: #fff;
    box-shadow:  0 20px 40px 0 rgba(0, 0, 0, 0.10);
    transition: all 500ms; 
}

.offer:hover .offer-image-background {
    box-shadow:  0 20px 40px 0 rgba(0, 0, 0, 0.30);
    transition: all 500ms;
}

.offer-image {
    width: 104px;
    height: 134px;
    margin: 17px 89px;
}

.offer-image-background {
    width: 281px;
    background-color: #FFE9E9;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 247px;
    left: -54px;
    position: relative;
    box-shadow:  0 4px 4px 0 rgba(0, 0, 0, 0.25);

}

.offer-box {
    background-color: #ffe9e9;
    width: 281px;
    left: 100px;
}

.offer-details {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin-top: 75px;
    margin-right: 160px;

}

.offer-details-left {
    width: 160px;
}

.offer-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #24282a;
}

.offer-description {
    font-size: 16px;
    color: #a7b0b4;
}

.offer-price {
    font-size: 18px;
    font-weight: 700;
    color: #24282a;
    margin-left: 210px;
    margin-bottom: 64px;
}

.old-price {
    font-size: 16px;
    color: #a7b0b4;
    text-decoration: line-through;
}

.blog-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding-top: 40px;
    text-align: center;
}


.blog-container h2 {
    padding-top: 282px;
    padding-bottom: 92px;
}


.posts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.post {
    width: 30%;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    margin-bottom: 50px;
}

.post:hover, .post:hover .post-image  {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /*ændring ift design i Figma */
}

.post:hover .post-image {
    transform: scale(1.05); /*tilføjelse til design i Figma*/
}

.post:hover .fa-arrow-right {
    transform: translateX(10px); /*tilføjelse til design i Figma*/
}

.post:hover .read-more {
    transform: scale(1.05); /*tilføjelse til design i Figma*/
    margin-left: 10px;
}

.post:hover .post-content {
    transform: scale(1.05);
    transition: all 500ms;
}

.post-image {
    width: 100%;
    height: auto;
}

.post-content {
    padding: 20px;
    text-align: left;
}

.post-content h3 {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 28px;
}


h1 {
    font-size: 48px;
    font-weight: 700;
    color: #24282a;
    margin-bottom: 40px;
}

h2 {
    color: #24282A;
    margin-bottom: 10px;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    color: #24282a;
}

.h2-light {
    color: #939FA4;
    font-weight: 300;
    line-height: 56px;
}

p {
    color: #a7b0b4;
    margin-bottom: 20px;
}

.read-more {
    font-size: 16px;
    color: #f9c4d2;
    text-decoration: none;
    display: flex;
    align-items: center;
    
}

.read-more i {
    margin-left: 17px;
    transition: transform 0.3s ease;
}

.post-content-box {
    height: 120px;
}

/* Media Queries TABLET */

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

    .hero {
        background-image: url(/img/hero1.jpg);
        background-position: center;
        height: 609px;
        margin-bottom: 100px;
        
    }

    .hero h1{
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero_karmen {
        text-align: right;
        padding-right: 104px;
        padding-top: 279px;
    }

    .cart {
        height: 900px;
    }

    .offers-container {
        max-width: 768px;
        padding-top: 50px;
        padding-bottom: 109px;
        
    }

    h2 {
        padding-top: 35px;
        margin-left: 90px;
        font-size: 24px;
    }
    
    .offer {
        flex-direction: column;
        margin-bottom: 20px;
    }

    
    .offer-image {
        width: 104px;
        height: 134px;
        margin: 17px 89px;
    }
    
    .offer-image-background {
        width: 281px;
        margin: 0 auto;
        left: 0;
        box-shadow:  none;
    
    }
    
    .offer-box {
        background-color: #ffe9e9;
        width: 281px;
        left: 100px;
    }
    
    .offer-details {
        justify-content: center;
        align-items: center;
        margin: 0;
    
    }
    
    .offer-details-left {
        width: 160px;
    }
    
    .offer-name {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
        color: #24282a;
    }
    
    .offer-description {
        font-size: 16px;
        color: #a7b0b4;
    }
    
    .offer-price {
        margin-left: 108px;
        margin-top: 31px;
    }

    .offer-details-right {
        text-align: end;
    }
    
.blog-container h2 {
    font-size: 24px;
    line-height: 10px;
    padding-top: 100px;
    padding-bottom: 30px;
    margin: 0 auto; 
}

.blog-container {
    margin-bottom: 0;
}
.posts {
    padding-top: 0;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.post {
    width: 390px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

}

/* Media Queries Mobil */

@media screen and (max-width: 360px) {
    .burger {
        display: flex;
        align-self: flex-end;
        padding: 0.5em;
        padding-right: 1em;
    }

    .burger i {
        font-size: 2em;
    }

    .burger i.fa-xmark {
        transform: scale(1.3);
    }

    .hero {
        background-image: url('/img/hero1ekstra.jpg');
        background-position: center;
        height: 357px;
        margin-bottom: 70px;  
    }

    .hero h1{
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .hero_karmen {
        text-align: right;
        padding-right: 48px;
        padding-top: 164px;
    }

    .cart {
        height: 700px;
    }

    .offers-container {
        width: 360px;
        padding-top: 27px;
        padding-bottom: 61px;
    }

    h2 {
        padding-top: 51px;
        padding-bottom: 31px;
        margin-left: 68px;
        font-size: 20px;
    }

    .header {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .offers-container {
       margin-bottom: 0;
    }

    .offer {
        flex-direction: column;
        margin-bottom: 62px;
    }

    
    .offer-image {
        width: 54px;
        height: 67px;
        margin: 5px 39px;
    }
    
    .offer-image-background {
        width: 131px;
    }
    
    .offer-box {
        background-color: #ffe9e9;
        width: 281px;
        left: 100px;
    }
    
    .offer-details {
        width: 262px;
        margin: 0 auto;
    
    }
    
    .offer-details-left {
        width: 104px;
    }
    
    .offer-name {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .offer-description {
        font-size: 12px;
    }
    
    .offer-price {
        font-size: 14px;
        margin-left: 80px;
    }

    .old-price {
        font-size: 12px;
    }

    .offer-details-right {
        text-align: end;
    }
    
.blog-container h2 {
    font-size: 20px;
    padding-top: 50px;
    padding-bottom: 10px;
}

.blog-container {
    margin-bottom: 0;
}
.posts {
    padding-top: 0;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.post {
    width: 318px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



}

