html,body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    font-family: "Yu gothic Light", "Zen Kaku Gothic New", sans-serif;
    font-weight: 300;
}

header {
    background-color: #ffffff;
    position: fixed;
    display: grid;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    grid-template-columns: 1fr 1fr 1fr 80px;
    grid-template-rows: 1fr;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    z-index: 1000;
}

header h1 {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 80px;
}

header nav{
    display: flex;
    grid-column: 3;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

header nav a {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #515f68;
}

main {
    margin: 0 auto;
    max-width: 1100px;
    margin-top: 80px;
    padding: 20px 40px 40px 40px;
}

section {
    scroll-margin-top: 80px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
}

section h2 {
    font-size: 25px;
    font-weight: 100;
    margin-top: 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

footer {
    margin-top: 30px;
    width: 100%;
    text-align: center;
}

/*-------------*/

@media (max-width:480px) {

    main {
        margin-top: 0;
        padding: 10px;
    }

    main h2 {
        margin-left: 10px;
        margin-bottom: 10px;
    }

    main > h2 {
        margin-bottom: 20px;
    }

    main p {
        margin-left: 10px;
        margin-top: 0;
    }

    section {
        border: none;
    }

    section > h2 {
        margin: 0;
        font-weight: bold;
    }

    .split {
        display: block;
        gap: 20px;
    }
}