html {
    font-family: 'Inter', sans-serif;
    color: #474747;
    letter-spacing: 1%;
    margin: 0;
    padding: 0;
    font-size: 20px;
}

body {
    background-color: #EDEDED;
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0;
    overflow-y: scroll;
    flex-direction: column;
}

header {
    display: flex;
    width: 100vw;
    height: 10vh;
    position: fixed;
    top: 0;
    background-color: white;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);

    img {
        height: 10vh;
        width: auto;
    }
}

main {
    display: flex;
    width: 100vw;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 10vh;
}

.Intro,
.OverMij,
.Expertises {
    /* box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.25); */
    box-shadow: 0 30px 80px -35px rgba(0, 0, 0, 0.15);
    width: 100vw;
}

h1,
h2,
h3 {
    color: #004469;
    font-weight: bold;
}

h1 {
    margin-bottom: 0;
}

.Intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    h1{
        text-align: center;
    }

    p {
        width: 90vw;
    }
}

hr {
    border-top: #9DA1A4 solid 5px;
    width: 50vw;
    margin-bottom: 20px;
}

.Expertises {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#imgExpertise {
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #9DA1A4;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#imgExpertiseDiv {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.ExpertisesCard {
    width: 90vw;
    background-color: white;
    /* box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.25);
    box-shadow: -1px -1px 4px 0px rgba(0, 0, 0, 0.25); */
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #9DA1A4;
    margin-bottom: 5%;
    padding-bottom: 5%;
    border-radius: 10px;

    h2 {
        padding-left: 5%;
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        padding-bottom: 5px;
    }

    li {
        position: relative;
        padding-left: 7%;
        margin-bottom: 5%;
    }

    li:before {
        content: "";
        position: absolute;
        left: 2%;
        top: 45%;
        width: 10px;
        height: 10px;
        background-color: #1f4e79;
    }
}

#imageIntro {
    width: 100vw;
}

.ContactDiv {
    background-color: rgba(0, 55, 85, 0.20);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    border: 1px solid #9DA1A4;
    border-radius: 10px;
    padding: 5%;
    width: 80vw;

    h3 {
        margin: 0;
    }

    p {
        margin-top: 0;
        margin-bottom: 10px;
    }
}

#phoneImage {
    transform: scale(-1, 1);
}

.emailAndPhoneDiv {
    display: grid;
    grid-template-columns: 30px auto;
}

.grid-column-2 {
    grid-column: 2;
}

a.grid-column-2 {
    color: #004469;
}

.Contact {
    margin-bottom: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    background-color: #004469;
    color: white;
    padding: 5%;

    p, a {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.7);
    }

    hr {
        border-top: rgba(157, 161, 164, 0.14) solid 1px;
        width: 100%;
    }
}

.OverMij {
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 100vw; 

    h1,
    p {
        justify-self: center;
    }

    p {
        width: 80vw;
        line-height: 150%;
        text-wrap: wrap;
    }
}

#imgOverMij {
    width: 100vw;
}

#ruud {
    width: 300px;
    height: auto;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: #474747 3px solid;
    margin:0 calc(50% - 160px);
}

.hamburger {
    width: 40px;
    height: 35px;
    position: relative;
    display: block;
    border: none;
    cursor: pointer;
    background: none;
    z-index: 40;
    margin-right: 20px;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #004469;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger::before {
    top: 0;
}

.hamburger span {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::after {
    bottom: 0;
}

.hamburger.active::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span {
    opacity: 0;
}

.hamburger.active::after {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

nav {
    position: fixed;
    top: 10vh;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: max-height 0.4s ease;
    z-index: 25;
}

nav.active {
    max-height: 300px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    border-bottom: 1px solid rgba(157, 161, 164, 0.2);
}

nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #004469;
    text-decoration: none;
    transition: background 0.2s ease;
}

nav a:hover {
    background-color: rgba(0, 55, 85, 0.08);
}



/*----------------------------------
│                                  │
│                                  │         
│                                  │
│                                  │
│            Laptop view           │
│                                  │ 
│                                  │
│                                  │
│                                  │
----------------------------------*/



@media (min-width: 576px) {

    body {
        background-color: white;
    }

    .hamburger {
        display: none;
    }

    nav {
        position: static;
        max-height: none;
        display: flex;
        margin-left: auto;
        align-items: center;
        padding-right: 5vw;
        box-shadow: none;
        width: auto;
    }

    nav ul {
        display: flex;
        gap: 32px;
        padding: 0;
        margin: 0;
    }

    nav li {
        display: flex;
        align-items: center;
        border: none;
    }

    nav a {
        padding: 5px 0;
        position: relative;
        text-decoration: none;
        color: #004469;
        font-weight: 600;
        transition: color 0.2s ease;
        display: inline-block;
    }

    nav a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0px;
        width: 0;
        height: 3px;
        background-color: #004469;
        transition: width 0.25s ease;
    }

    nav a:hover {
        background: white;
    }

    nav a:hover::after {
        width: 100%;
    }

    main,
    .Intro,
    .OverMij {
        width: 80vw;
        align-self: center;
        background-color: #EDEDED;
    }

    .Intro {
        p {
            width: 64vw;
        }

        text-align: center;
    }

    .Expertises {
        width: 80vw;
    }

    #imgExpertiseDiv {
        grid-column: 2;
        grid-row: 2;
        width: 20vw;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }

    .ExpertisesGrid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2vw;
        margin-bottom: 5%;
    }

    .ExpertisesCard {
        display: flex;
        flex-direction: column;
        width: 20vw;
        height: 100%;
        padding: 0 2%;
        background-color: white;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
        border: 1px solid #9DA1A4;
        border-radius: 10px;

        h2 {
            font-size: clamp(1rem, 1.5vw, 1.5rem);
            padding-left: 5%;
        }

        ul li {
            position: relative;
            padding-left: 7%;
            margin-bottom: 5%;
            font-size: clamp(0.9rem, 1vw, 1.2rem);
        }
    }

    #imgExpertise {
        width: calc(100% + 4%);
        margin: 0 -2%;
        height: 100%;
        object-fit: cover;
        object-position: 90%;
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
        border: 1px solid #9DA1A4;
    }

    .ContactDiv {
        width: 40vw;
        padding: 2% 5%;
    }

    .Contact {
        width: 80vw;
        #linkedIn{
            float: left;
        }
    }

    header {
        display: flex;
        width: 100vw;
        height: 10vh;
        position: fixed;
        top: 0;
        background-color: white;
        z-index: 1;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);

        img {
            width: auto;
            height: 10vh;
            margin: 0;
        }
    }

    #imageIntro {
        width: 80vw;
        height: 25vw;
    }

    #expertises,
    #contact {
        scroll-margin-top: 10vh;
    }

    .OverMij {
        width: 80vw;
        display: block;

        p {
            width: 64vw;
        }
    }

    #imgOverMij {
        width: 80vw;
        height: 25vw;
    }

    #ruud {
        float: right;
        margin-right: 10vw;
        margin-left: 2vw;
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
        border-radius: 10px;
        border: #474747 3px solid;
    }

    #linkedIn {
        margin-top: 20px;
        color: #004469;
        text-decoration: none;
        float: right;
    }
}