body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont,  "Segoe UI", "Roboto", "Oxygen",
        "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #F4FBFA;
    color: #333;
    line-height: 1.3em;
    font-size: 25px;
}
/* html, body {
    overflow: hidden;
    overflow-y: scroll;
} */

header .logo-wrapper {
    text-align: center;
    /* margin-bottom: 30px; */
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    position: sticky;
    top: 0;
    height: 2.5em;
    background-color: rgb(255, 255, 255, 0.5);
    box-shadow: rgba(99, 99, 99, 0.1) 0px 0px 8px 0px;
    z-index: 1000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.logo {
    width: 100%;
    /* width: 700px; */
    /* height: 90px; */
    /* height: 100%; */
    margin-top: 110px;
}
object {
    width: 100%;
}

.wrapper {
    width: 90%;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.logo-wrapper h1 {
    font-size: 30px;
    padding: 0 0 20px 0;
    color: #157A70;
    font-weight: 300;
    text-align: center;
    /* margin-bottom: 50px; */
}

/* h1 {
    font-family: Graebenbach,sans-serif;;
    font-size: 220px;
    font-weight: 1000;
    color: #157A70;
    line-height: 1.2em;
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
    word-wrap: break-word;
} */

a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease-out;
}

.wrapper a.app {
    display: block;
    margin-top: 50px;
}


.link a {
    color: #157A70;
    text-decoration: none;
    transition: color 0.3s ease-out;
}

/* a:hover {
    color: #F4B001;
} */

h2 {
    font-size: 30px;
    margin: 10px 0;
    word-wrap: break-word;
    font-weight: 700;
}

.summary {
    font-size: 25px;
    word-wrap: break-word;
}

.box {
    background-color: #fff;
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    padding: 50px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

a.app:hover .box {
    /* background-color: #cfebe0; */
    background-color: #fbeea3;
    -webkit-transition: background-color 250ms linear;
    -ms-transition: background-color 250ms linear;
    transition: background-color 250ms linear;
}

.icon-no-border {
    width:185px;
    height:185px;
    overflow:hidden;
}

.icon {
    width:185px;
    height:185px;
    border-radius:40px;
    overflow:hidden;
    border: 1px solid #d8d8d8;
}

.no-border {
    border: none;
}

.desc {
    margin-left: 25px;
}

.caption {
    color: #c8c8c8;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
}

.tag {
    background-color: black;
    color: white;
    font-weight: 600;
    display: inline-block;
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 20px;
}

footer {
    padding: 80px 0 30px;
    line-height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact {
    font-weight: 300;
    line-height: 1.2em;
    display: flex;
    gap: 50px;
    margin: 30px auto;
    width: 400px;
}

.copyright {
    margin-top: 10px;
    margin-bottom: 80px;
    font-weight: 700;
    text-align: center;
}

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

    .profile {
        font-size: 30px;
        margin-bottom: 15px;
    }
    h2 {
        font-size: 30px;
    }
    h1 {
        font-size: 60px;
    }

    .icon-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .icon {
        width:150px;
        height:150px;
    }
    .desc {
        margin-left: 0;
    }
    .desc h2 {
        text-align: center;
    }
    .box {
        flex-direction: column;
        padding: 50px 20px;
        margin-left: 0;
    }

    .summary {
        font-size: 22px;
    }

    .tags {
        justify-content: center;
        display: none;
    }
    
    footer {
        font-size: 25px;
    }
}

/* dark mode style */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #242424;
        color: #e0e0e0;
        }
        
        .logo-wrapper h1 {
        color: white;
        }
        
        a {
        color: #e0e0e0;
        }
        
        .link a {
        color: #4ecdc4;
        }
        
        .box {
        background-color: #333;
        box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 3px 0px, rgba(255, 255, 255, 0.06) 0px 1px 2px 0px;
        }
        
        a.app:hover .box {
        background-color: #4d4d4d;
        }
        
        .icon {
        border: 1px solid #555;
        }
        
        .caption {
        color: #888;
        }
        
        .tag {
        background-color: #919191;
        color: #1a1a1a;
        }

        .nav {
            background-color: rgb(36, 36, 36, 0.5);
        }

        .nav svg {
            color:rgb(124, 124, 124)
        }

        img.logo, object.logo {
            fill: white;
            filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
        }
}