:root {
    --text-color: #1a1c20;
    --link-color: #4a76ee;
    --background-color: #f5f5f5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Google Sans', sans-serif;
    background-color: var(--background-color);
}

a {
    color: var(--link-color);
    text-decoration: none;
}

/* NAVBAR */
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    height: 80px;
}

nav .links a {
    color: var(--text-color);
    margin: 0 10px;
    font-size: 20px;
}

nav .rechts a {
    color: var(--text-color);
    margin: 0 10px;
}

nav .rechts a:last-child {
    color: var(--background-color);
    background-color: var(--text-color);
    padding: 5px 15px;
    border-radius: 5px;
}

nav .rechts a span {
   margin-left: 5px; 
}

/* SECTION 1: Hero */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    margin: 50px 0;
    margin-bottom: 100px;
    gap: 40px;
}

.hero-section .text {
    flex: 5;
}

.hero-section .text h2 {
    font-size: 45px;
    margin-bottom: 7px;
}

.hero-section .text .linkjes {
    margin-top: 15px;
}

.hero-section .text .linkjes a {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10x;
    transition: 250ms;
}

.hero-section .text .linkjes a:hover {
  color:var(--text-color);
  border: 2px solid var(--text-color);
}

.hero-section .headshot {
    flex: 2;
    display: flex;
    justify-content: right;
}

.hero-section .headshot img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid black;
}

@media (max-width: 900px) {
    .hero-section .text h2 {
        font-size: 35px;
    }
}

@media (max-width: 740px) {
    .hero-section {
        flex-direction: column-reverse;
    }

    .hero-section .headshot img {
        width: 300px;
        height: 300px;
    }

    .hero-section .text h2 {
        font-size: 20px;
    }
}





@media (max-width: 600px){
    /*NAVBAR*/
    nav{
        padding: 0 20px;
    }

    nav .rechts a {
        font-size: 22px;
    }

    nav .rechts a:last-child {
        color: var(--text-color);
        background-color: transparent;
        padding: 0;
    }

    nav .rechts a span{
        display: none;
    }

    /* SECTION 1: HERO */
    .hero-section {
        padding: 0 20px;
    }

    .hero-section .text h2 {
        font-size: 20px;
    }
}