@font-face {
    font-family: "Tamil";
    src: url("/assets/fonts/tamil-sangam-mn.ttf") format("ttf");
}

@font-face {
    font-family: "Snell";
    src: url("/assets/fonts/SnellBT-Regular.otf") format("otf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tamil, sans-serif;
    color: #333;
    line-height: 1.6;
    font-weight: 100;
    background-color: #FFF1F0;
    scroll-behavior: smooth;
    scroll-snap-type: y;
}


/* Header and Navigation */
header {
    background-color: #FEAF9E;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;

}

.page-wrapper {
    min-height: 100vh;
    overflow-y: scroll;
}

section {
    min-height: 100vh;
    /* max-width:1200px ; */
    margin: 0 auto;
    overflow-x: hidden;

}

.hero-wrapper {
    background-image: url('assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;

    .hero-text {
        font-size: 3rem;
        margin-bottom: 20px;
        color : #FFAF9E;
        text-shadow: 2px 2px 5px black;
        letter-spacing: 1rem;
        font-weight: 100;
        transform: scale(1, 1.2);
    }

    .hero-subtext {
        font-size: 2em;
        color : white;
        text-shadow: 2px 2px 5px black;
        letter-spacing: 10px;
    }
}

.quote-mark {
    font-size: xx-large;
}
.content-wrapper {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    color: white;
    display: flex;
    flex-direction: column;

    &.about-us {
        background-image: url('assets/images/about-us-extended.jpeg');

    }

    &.vare-fagomrader {
        background-image: url('assets/images/Personalet-6.jpg');
        justify-content: flex-start;
        font-weight: 400;
        box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3);

        li {
            padding-top: 5%;
            list-style-type: none;
        }
    }

    &.vare-verdier {
        background-image: url('assets/images/what-are-we.jpg');
        box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.4);

    }

    .background-color {
        background-color : #FFAF9E;
    }

    .left-text-wrapper {
        width: 50%;
        padding: 10% 5% 10% 3%;
        margin: 5%;
    }

    .page-title {
        font-size: x-large;
        letter-spacing: .3rem;
        padding-bottom: 15px;

    }
    p {
        padding-top: 5%;
        padding-left: 5%;
        letter-spacing: .2rem;
    }

    ul {
        padding-left: 5%;
        letter-spacing: .2rem;
    }

    .top-text-wrapper {
        padding: 10% 5% 10% 3%;
        margin: 3%;
    }

    .right-text-wrapper {
        padding: 10%;
        color: white;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: center;
    }

    .bottom-text-wrapper {
        padding: 5% 3% 5% 3%;
        width: 100%;
        justify-content: center;
        display: flex;
    }

    .qoate {
        letter-spacing: 1px;
        display: flex;
        flex-direction: column;
        font-family: 'Snell', sans-serif;
        align-items: end;
        
        .qoate-text {
            letter-spacing: 2px;
            font-size: xx-large;
            font-style: italic;
            text-align: center;
            padding-bottom: 10px;
        }
        .author-name {
            letter-spacing: 2px;
        }

        .qoate-author {
            display: flex;
            flex-direction: column;
            align-items: start;
            width: fit-content;
        }

        .author-title {
            font-size: small;
            span {
                font-weight: 700;
            }
        }
    }
}

.employee-section {
    display: flex;
    align-items: center;
    justify-content: center;


.employees-wrapper {
    display: flex;
    flex-wrap: wrap;
    font-family: 'Sneil', sans-serif;
    .employee {
        border: .5px solid white;
        flex:1;
        min-width: 500px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;

        img {
            max-width: 100%;
        }

        .employee-info {
            display: flex;
            flex-direction: column;
            align-items: start;
            padding-bottom: 5%;
        }

        span {
            letter-spacing: 2px;
        }

        .employee-nor {
            display: none;
        }

        .name {
            font-size: larger;
        }

        .job-title-wrapper {
            display: flex;
            font-size: small;
        }

        .job-title {
            font-weight: 600;
        }
    }
}
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 5px;

    .logo-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: solid 1px black;
        aspect-ratio: 1 / 1;
        font-weight: 500;
        letter-spacing: 3px;
        img {
            max-width: 50vw;
        }
    }

    .company-name {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        .name {
            margin-top: 20px;
            font-size: 3rem;
            margin-bottom: 20px;
            color : #FFAF9E;
            letter-spacing: 1rem;
            font-weight: 500;
            transform: scale(1, 1.2);
        }
        .subtext {
            letter-spacing: 3px;
            text-align: center;
            margin-bottom: 50px;
        }
    }

    .contact-info {
        font-size: xx-large;
        border: solid 2px grey;
        color: grey;
        a {
            color: inherit;
            text-decoration: none;
            padding: 10px;
            letter-spacing: 3px;
        }
    }
}



@media  (max-width: 500px) {
    .hero-wrapper {
        justify-content: end;
        box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3);

        background-image: url('assets/images/hero-mo.jpg');
        padding-bottom: 20%;
        .hero-text {
            font-size: 1.1rem;
        }
    
        .hero-subtext {
            font-size: .8em;
            letter-spacing: 5px;
        }
    }

    .employees-wrapper {
        .employee {
            img{
                max-height: 80vh;
            }

            .employee-ex {
                display: none;
            }

        }
    }

    .employee-section {
        & .employees-wrapper {
            & .employee {
                .employee-nor {
                    display: block;
                }
            }
        }
    }

    .contact-wrapper {
        .company-name {
            .name {
                font-size: 1rem;
            }
        }
    }

    .company-name {
        .subtext {
            max-width: 85%;
        }
    }

    .content-wrapper {
        .left-text-wrapper {
            width: 80%;
            margin: auto;
        }

        .right-text-wrapper {
            padding-left: 0%;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: auto;
        }

        &.vare-fagomrader {
            background-image: url('assets/images/experties-mo.jpg');
        }
        
    }

    .qoate-text {
        font-size: larger !important;
    }
}

@media  (max-width: 1400px ) and (min-width: 501px) {
    .hero-subtext {
        font-size: 1.5em !important;
    }
}
