.main {
    width: 60vw;
    max-width: 50rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2rem;
    box-shadow: 0px 0px 2rem 0.5px rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem 2rem;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.banner,
.main,
.footer {
    display: none;
    transition: all 1s ease;
}

.main h1 {
    text-align: center;
    font-size: 1.8rem;
}

.main h1 a::before {
    content: "";
    width: 6rem;
    height: 6rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 2rem;
    border-radius: 50%;
    background-image: url(/image/logo.svg);
    background-size: 6rem 6rem;
    background-repeat: no-repeat;
}

.main h1 a {
    height: 8rem;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
}

.main .version {
    position: absolute;
    top: 1rem;
    right: 2rem;
    height: 8rem;
    padding: 1rem;
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
}

.main .version h2 {
    font-size: 1rem;
    color: crimson;
}

.main .version p {
    font-size: 0.75rem;
}

.main .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 2rem;
    box-shadow: 0 0 0.2rem 0.2rem rgba(0, 0, 0, 0.2);
    padding: 2rem 2rem 0.5rem;
    cursor: default;
}

.main .content h2 {
    font-size: 1.2rem;
}

.main .content .resume {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1rem;
}

.main .content h3 {
    font-size: 1.1rem;
    font-weight: normal;
    font-style: italic;
    text-align: end;
}

.main .content h2,
.main .content .resume p,
.main .content h3 {
    margin-bottom: 1.5rem;
}

.main .content .resume p {
    font-weight: bold;
}

.main .content .resume .service ul {
    display: flex;
    justify-content: space-between;
    align-content: space-between;
    flex-wrap: wrap;
}

.main .content .resume .service li {
    display: block;
}

.main .content .resume .service a {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    font-weight: bold;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0.2rem 0.2rem rgba(0, 0, 0, 0.1);
    border-radius: 2rem;
    transition: all 1s ease;
}

.main .content .resume .service a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.footer {
    margin: 2.5rem 0;
}

@media(max-width:940px) {
    .main {
        width: 90vw;
        padding: 0.5rem 1rem 1rem;
        border-radius: 1rem;
        margin-top: 3rem;
    }

    .main h1 {
        text-align: unset;
    }

    .main h1 a::before {
        width: 3rem;
        height: 3rem;
        margin-right: 1rem;
        background-size: 3rem 3rem;
    }

    .main h1 a {
        height: 4rem;
        margin-bottom: 0.5rem;
        padding: 0.5rem;
        border-radius: 1rem;
    }

    .main .content h2,
    .main .content .resume p,
    .main .content h3 {
        margin-bottom: 1rem;
    }

    .main .content {
        padding: 1rem 1rem 0rem;
        border-radius: 1rem;
    }

    .main .content .resume .service a {
        width: auto;
        height: 1.5rem;
        padding: 0 1rem;
        margin-bottom: 1rem;
        line-height: 1.5rem;
        border-radius: 1rem;
    }

    .main .version {
        top: 0.5rem;
        right: 1rem;
        height: 4rem;
        padding: 0.5rem;
    }

    .footer {
        margin: 1rem 0;
    }
}
