@charset "UTF-8";

* {
    font-family: sans-serif;
}

header {
    width: 100%;
    background:linear-gradient(#5FC3E4, #E55D87);
    padding: 3% 3% 5% 3%;
}

.top {
    width: 80%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    padding: 1% 3% 3% 3%;
    border-radius: 23px;
    font-family: 'Bebas Neue', cursive;
}



h1 {
    color: white;
    /* font-weight: bold; */
    font-size: 3vw;
    font-family: 'Bebas Neue', cursive;
}

h1 span { 
    font-size: 5vw;
    font-family: 'Bebas Neue', cursive;
}

.topimage {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.topimage > img {
    width: 40%;
}

nav > ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-family: 'Bebas Neue', cursive;
}

nav ul li a {
    font-family: 'Bebas Neue', cursive;
}

nav ul li:hover{
    opacity: 0.4;
    transition: 0.2s;
}

nav > ul > li > a > img {
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 25%;
    width: 8vw;
}

nav span {
    display: block;
    margin-top: 10%;
    color: white;
    /* font-weight: bold; */
    text-align: center;
    font-size: 2vw;
    font-family: 'Bebas Neue', cursive;
}

/*** works ***/

.works {
    background-color: #e0e0e0;
}

.works .box:hover {
    position:relative;
    top: 2px;
    left:2px;
    transition: 0.5s;
}

article {
    width: 80%;
    margin: 0 auto;
    padding: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

section {
    width: 40%;
    display: block;
    border-radius: 23px;
    background: #e0e0e0;
    box-shadow:  5px 5px 13px #bcbcbc,
    -5px -5px 13px #ffffff;
    margin: 1%;
    padding: 3% 0;
    text-align: center;
}

section img {
    width: 60%;
    display: block;
    margin: 0 auto;
    /* padding-bottom:3% ; */
}


.works h2, .career h2, .skill h2 {
    font-size: 7vw;
    font-family: 'Bebas Neue', cursive;
    color: #c689c6b3;
    transform: rotate(-90deg);
}

.works {
    position: relative;
}

.works h2 , .career h2, .skill h2 {
    text-align: center;
    position: absolute;
    left: -5%;
    top: 40%;
}

.works h3 {
    width: 80%;
    padding: 5% 0;
    margin: 5% auto;

    border-radius: 23px;
    background: #e0e0e0;
    box-shadow:  5px 5px 13px #bcbcbc,
    -5px -5px 13px #ffffff;

    color: gray;
    font-weight: bold;
}

.works p {
    color: #333;
}


/*** career

"timeline" → "careerbox"
"timeline-date"
"timeline-content" → "contents"

***/

.career {
    background:linear-gradient(#5FC3E4, #E55D87);
    padding: 5% 3% 7% 3%;
    position: relative;
}

.career h2 {
    color: rgba(255, 255, 255, 0.5);
}

.careerbox {
    width: 80%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    /* padding: 1% 3% 3% 3%; */
    padding: 5% 3% 5% 3%;
    border-radius: 20px;
    font-family: 'Bebas Neue', cursive;
}

    .careerbox > li {
        overflow: hidden;
        margin: 0;
        position: relative;
    }

    .timeline-date {
        width: 130px;
        float: left;
        margin-top: 7px;
        font-size: 2vw;
        font-weight: bold;
        color: rgba(255, 255, 255, 0.7);
        font-family: 'Bebas Neue', cursive;
    }

    .contents {
        width: 75%;
        float: left;
        border-left: 3px #e5e5d1 solid;
        padding-left: 50px;
    }

    .contents:before {
        content: '';
        width: 20px;
        height: 20px;
        background: rgba(95, 195, 228, 0.7);
        position: absolute;
        left: 122px;
        top: 24px;
        border-radius: 100%;
    }
    
    .careerbox h3 {
        font-size: 2vw;
        font-weight: bold;
        color: #333;
        padding: 15px 0 10px 3px;
    }

    .careerbox h4 {
        display: block;
        padding: 7px 0 5px 30px;
        margin: 0 0 5px 30px;
        color:rgba(255, 255, 255, 0.8);
        /* font-weight: bold; */
        /* background-color: rgba(255, 255, 255, 0.2); */
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 15px;
        width: 250px;
    }

    .careerbox p {
        padding: 10px 10px 10px 10px;
        color: white;
    }

/* .careerbox img {
    width: 5vw;
    margin: 0 auto;
    z-index: 10;
    background-color: rgba(95, 195, 228, 0.7);
    border: 3px solid white;
    border-radius: 50px;
    padding: 1%;
}

.careerbox h3 {
    display: block;
    width: 20vw;
    height: 4vw;
    background-color: rgba(95, 195, 228, 0.7);
    border: 3px solid white;
    border-radius: 25px;
    padding: 1.5%;
    color: white;
    font-weight: bold;
    text-align: center;    
}

*/


/*** skill ***/

.skill {
    background-color: #e0e0e0;
    position: relative;
}

.skillbox {
    width: 100%;
    margin: 0 auto;
    padding: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card {
    width: 25%;
    display: block;
    border-radius: 23px;
    background: #e0e0e0;
    box-shadow:  5px 5px 13px #bcbcbc,
    -5px -5px 13px #ffffff;
    margin: 1%;
    padding: 3% 0;
    text-align: center;
}

.skilltitle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5% auto;
}

.skilltitle img {
    width: 20%;
    padding: 7px;
}

.skillbox h3 {
    display: block;
    width: 60%;
    margin-left: 5%;
    background-color: rgba(95, 195, 228, 0.7);
    border-radius: 20px;
    padding: 3%;
    color: white;
    font-weight: bold;
    text-align: center;   
}

.txt h4 {
    font-size: 1.3vw;
    color: #E55D87;
    font-weight: bold;
    text-align: left;
}

.txt p {
    font-size: 1.2vw;
    /* padding-top: 3%; */
}

.card li {
    font-size: 1.1vw;
    text-align: left;
    padding-left: 30%;
}

.card li{
    position: relative;
    /* padding-left: 20%; */
}

.card li:before {
    content: "";
    position: absolute;
    top: .1em;
    left: 25%;
    -webkit-transform: rotate(50deg);
    -ms-transform: rotate(50deg);
    transform: rotate(50deg);
    width: 5px;
    height: 10px;
    border-right: 3px solid #41A417;
    border-bottom: 3px solid #41A417;
}

/*** contact ***/

.contact {
    background:linear-gradient(#5FC3E4, #E55D87);   
    display: flex;
    flex-direction: column; 
    padding-bottom: 1%;
}

.contact {
    color: white;
}

.contact p {
    color: white;
    font-size: 3vw;
    margin-left: 10%;
    padding-top: 3%;
    font-family: 'Bebas Neue', cursive;
}

input, textarea {
    display: block;
    background-color: white;
    margin: 1% 1% 1% 10%;
    padding: 1%;
    border-radius: 15px;
    color: white;
    background-color: rgba(51,51,51,0.7);
}

input[type="submit"] {
    padding: 1% 5%;
    /* margin-top: 5%; */
    margin-bottom: 5%;
    background:linear-gradient(45deg, #673AB7, #512DA8);
    border-radius: 30px;
}

input[type="submit"]:hover{
    opacity: 0.9;
}

.copy {
    text-align: right;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2vw;
    padding: 3%;
}

@media screen and (max-width:960px) {
    section {
        width: 80%;
    }

    .careerbox {
        width: 100%;
    }

    .contents {
        width: 100%;
        border-left: none;
        padding-left: 0;
    }

    .contents:before {
        background: rgba(95, 195, 228, 0);
    }

    .timeline-date {
        font-size: 20px;
    }

    .careerbox h3 {
        font-size: 24px;
        color: #555;
        padding: 5px 0 10px 10px;
    }

    .careerbox li {
        padding-bottom: 20px;
    }

    .works h2, .career h2, .skill h2 {
        position: static;
        transform: rotate(0);
        font-size: 50px;
        padding: 30px 0 10px 0;
    }

    .card {
        width: 250px;
        margin: 2%;
    }
}


@media screen and (max-width: 520px) {

    header {
        height: 100vh;
    }

    .top {
        width: 100%;
        background-color: rgba(255, 255, 255, 0);;
    }

    .topimage {
        flex-direction: column;
    }

    h1 {
        padding-top: 30px;
        font-size: 30px;
    }

    h1 span {
        font-size: 50px;
    }

    .topimage > img {
        width: 50vw;
        margin: 40px auto;
    }

    nav > ul > li > a > img {
        width: 60px;
    }

    nav span {
        font-size: 16px;
    }

    /* .works h2, .career h2, .skill h2 {
        position: static;
        transform: rotate(0);
        font-size: 50px;
        padding: 30px 0 10px 0;
    } */

    article {
        width: 100%;
    }

    section {
        margin: 3%;
    }

    /* .careerbox {
        width: 100%;
    }

    .contents {
        width: 100%;
        border-left: none;
        padding-left: 0;
    }

    .contents:before {
        background: rgba(95, 195, 228, 0);
    }

    .timeline-date {
        font-size: 20px;
    }

    .careerbox h3 {
        font-size: 24px;
        color: #555;
        padding: 5px 0 10px 10px;
    }

    .careerbox li {
        padding-bottom: 20px;
    } */

    .skillbox {
        flex-direction: column;
    }

    .card {
        width: 300px;
        margin: 2%;
    }

    .txt h4 {
        font-size: 18px;
    }

    .txt p {
        font-size: 12px;
    }

    .card li {
        font-size: 12px;
    }

    .skilltitle {
        margin: 3% auto;
    }

    .skillbox h3 {
        padding: 2%;
        font-size: 12px;
        width: 40%;
    }

    .contact p {
        font-size: 30px;
        padding: 30px 0;
    }

    input, textarea {
        padding: 3%;
        margin-bottom: 3%;
    }

    input[type="submit"] {
        padding: 3% 5%;
        margin-top: 5%;
        margin-bottom: 10%;
    }
}