@import url('https://fonts.googleapis.com/css2?family=Kulim+Park:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,600;1,700&family=Manrope:wght@200..800&display=swap');

* {
    box-sizing: border-box;
    /* include border/padding */
}

body {
    background-color: #f5fbfd;
    margin: 0;
}

.index-content {
    display: flex; 
    flex-direction: column;
    justify-content: space-around;
    margin: auto;
    width: 80%;
    gap: 100px;
}

.page-content {
    width: 80%;
    margin: auto;
}

.about-columns {
    display: flex;
    flex-direction: row;
    gap: 70px;
}

.portfolio-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.card {
    border: 1px solid #BCBCBC;
    border-radius: 10px;
    box-shadow: 6px 6px 4px 2px rgba(#000000, .25);
    background-color: white;
    padding: 25px;
    width: 30%;
}

.video-card {
    padding: 0px;
}

.portfolio-card, .card-text-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-title {
    font-family: "Kulim Park", serif;
    font-weight: 800;
    margin: 0;
    font-size: 30px;
}

.card-subtitle, .card-text {
    font-family: "Manrope", serif;
    font-weight: 400;
    margin: 0;
    font-size: 16px;
}

.card-subtitle {
    font-style: italic;
}

.portfolio-card img {
    width: 100%;
}

.large-portfolio-card img {
    width: 60%;
    object-fit: contain;
}

.vertical-stacked-cards {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vertical-stacked-cards a {
    height: 48%;
    width: 100%;
}

.video-card {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.large-portfolio-card {
    width: 65%;
    display: flex;
    flex-direction: row;
}

.page-header {
    font-family: "Kulim Park", serif;
    font-weight: 800;
}

.navigation {
    font-family: "Kulim Park", serif;
    font-weight: 400;
    display: flex;
    width: 100%;
    padding-top: 32px;
    justify-content: space-between;
}

#header-name {
    font-weight: normal;
    display: inline-block;
    width: 150px;
    text-align: center;
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 8px;
}

.navigation {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: black;
}

strong {
    font-weight: 800;
}

.navigation-links {
    list-style-type: none;
    display: flex;
    gap: 5rem;
    flex-direction: row;
    margin: 0;
    margin-right: 50px;
}

.navigation-links a:hover, .selected {
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 8px;
}

.hero {
    font-family: "Manrope", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 1.3rem;
    padding: 0 100px;
    margin: auto;
    line-height: 2.3rem;
    width: 100%;
}

.hero p {
    margin-bottom: 60px;
}

.icons, .about-icons {
    display: flex;
    flex-direction: row;
}

.icons {
    gap: 30px;
}

.about-icons {
    justify-content: space-between;
}

.icons img {
    height: 40px;
}

.about-icons img {
    height: 35px;
}

.about-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.about-button {
    border: 1px solid #C8C8C8;
    border-radius: 5px;
    background-color: #E4E4E4;
    padding: 5px 10px;
    font-family: "Kulim Park", serif;
    font-weight: 400;
    font-size: 24px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.about-spiel p {
    margin-top: 0;
    font-family: "Manrope", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 1.3rem;
}

.additional-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.additional-info img {
    object-fit: contain;
}

@media only screen and (max-width: 980px) {
    .row {
        flex-direction: column;
        gap: 30px;
    }

    .card, .vertical-stacked-cards {
        width: 100%;
    }

    .vertical-stacked-cards {
        gap: 30px;
    }

    .large-portfolio-card {
        flex-direction: column;
    }

    .large-portfolio-card img {
        width: 100%;
    }
}

@media only screen and (max-width: 760px) {
    .page-content, .index-content {
        width: 80%;
        margin: auto;
        gap: 50px;
    }

    .about-columns {
        flex-direction: column;
        gap: 30px;
    }

   .navigation * {
        font-size: 16px;
    }

    .navigation-links {
        gap: 3rem;
        margin-right: 10px;
    }

    .about-spiel p {
        font-size: 1rem;
    }

    .hero {
        font-size: 1rem;
        padding: 0 25px;
    }

    .icons {
        gap: 20px;
    }

    .icons img {
        height: 24px;
    }
}

@keyframes blink {
    50% { border-color: transparent; }
}
.cursor {
    border-right: 2px solid orange;
    animation: blink 0.9s step-end infinite;
}