@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300&display=swap');

::-webkit-scrollbar { /* make scrollbar transparent */
    width: 0px;
    background: transparent;
}

* {
    font-family: 'Anuphan', sans-serif;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}
body {
    background: #F0F3F4;
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
}
.clear {
    clear: both;
}
.container {
    background: #fff;
    max-width: 920px;
    height: 480px;
    margin: auto;
    transform: translateY(15%);
    box-shadow: 0px 0px 6px 0px #222 73;
}
.container .circles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.container .circles:before {
    content: '';
    position: absolute;
    left: -6%;
    top: -8%;
    width: 200px;
    height: 200px;
    background: #FFE194;
    border-radius: 50%;
}
.container .circles:after {
    content: '';
    position: absolute;
    right: -11%;
    bottom: -15%;
    width: 200px;
    height: 200px;
    background: #1B9C85;
    border-radius: 50%;
}
.container .details-container {
    position: relative;
    display: flex;
}
.container .details-container .avatar {
    margin: 10px auto;
    position: relative;
    float: left;
    padding: 20px;
}
.container .details-container .avatar img {
    max-width: 240px;
    margin-top: -70px;
    border: 10px solid #fff;
    box-shadow: 0px 0px 6px 0px #222 73;
}
.container .details-container .about {
    float: right;
    padding: 20px;
    margin-top: 50px;
}
.container .details-container .about .name p {
    margin: 0;
    color: #222;
    font-size: 1.1em;
    font-weight: bold;
}
.container .details-container .about .name h1 {
    color: #4C4C6D;
    font-weight: bold;
    margin: 0;
    font-size: 3em;
}
.container .details-container .about .about-content p {
    line-height: 1.6em;
}
.container .details-container .about .about-content button {
    border: none;
    color: #222;
    padding: 10px;
    background: #fddb33;
    cursor: pointer;
    font-weight: bold;
    width: 250px;
    height: 40px;
    font-family: 'Nunito', sans-serif;
    box-shadow: 1px 1px 10px 0px #222 2b;
    transition: 0.2s all;
}
.container .details-container .about .about-content button:hover {
    box-shadow: 1px 1px 1px 0px #222 2b;
}
.container .details-container .about .about-content button:focus, .container .details-container .about .about-content button:active {
    outline: 0;
    box-shadow: 1px 1px 10px 0px #222 80;
}
.container .skills-container {
    /* display: flex;
    justify-content: space-between;
    padding: 20px; */
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    text-align-last: center;
}
.container .skills-container button {
    flex: 1;
    padding: 10px;
    margin: 5px;
    border: none;
    color: #222;
    padding: 10px;
    background: #fddb33;
    cursor: pointer;
    font-weight: bold;
    width: 250px;
    height: 40px;
    font-family: 'Nunito', sans-serif;
    box-shadow: 1px 1px 10px 0px #222 2b;
    transition: 0.2s all;
}
.container .skills-container button:hover {
    box-shadow: 1px 1px 1px 0px #222 2b;
}
.container .skills-container button:focus, .container .skills-container button:active {
    outline: 0;
    box-shadow: 1px 1px 10px 0px #222 80;
}
@media only screen and (max-width: 766px) {
    .container {
        height: auto;
   }
    .container .details-container {
        flex-direction: column;
   }
    .container .details-container .avatar img {
        width: 300px;
   }
    .container .details-container .about {
        margin-top: 10px;
   }
}
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
   }
    100% {
        transform: translateX(0);
        opacity: 1;
   }
}
@keyframes slideUpFromBottom {
    0% {
        transform: translateY(70%);
        opacity: 0;
   }
    100% {
        transform: translateX(0);
        opacity: 1;
   }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
   }
    100% {
        opacity: 1;
   }
}

.icons{
    background: none;
    display: flex;
    justify-content: center;
    padding: 0.8rem 0;
}

.icons li{
    list-style-type: none;
    background: #fddb33;
    color: #fff;
    width: 40px;
    height: 40px;
    margin: 0 0.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.icons li:hover{
    background: #FFE194;
    color: #000;
}

/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
@media (min-width: 1000px) {
    #timeline .demo-card:nth-child(odd) .head::after, #timeline .demo-card:nth-child(even) .head::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
   }
    #timeline .demo-card:nth-child(odd) .head::before, #timeline .demo-card:nth-child(even) .head::before {
        position: absolute;
        content: "";
        width: 9px;
        height: 9px;
        background-color: #bdbdbd;
        border-radius: 9px;
        box-shadow: 0px 0px 2px 8px #f7f7f7;
   }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
    order: 1;
}
.demo-card:nth-child(2) {
    order: 4;
}
.demo-card:nth-child(3) {
    order: 2;
}
.demo-card:nth-child(4) {
    order: 5;
}
.demo-card:nth-child(5) {
    order: 3;
}
.demo-card:nth-child(6) {
    order: 6;
}
/* Border Box */
* {
    box-sizing: border-box;
}
#timeline {
    padding: 200px 0;
    background: #F0F3F4;
    /* border-top: 1px solid rgba(191, 191, 191, 0.4);
    border-bottom: 1px solid rgba(191, 191, 191, 0.4); */
}
#timeline h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 20px;
}
#timeline p.leader {
    text-align: center;
    max-width: 90%;
    margin: auto;
    margin-bottom: 45px;
}
#timeline .demo-card-wrapper {
    position: relative;
    margin: auto;
}
@media (min-width: 1000px) {
    #timeline .demo-card-wrapper {
        display: flex;
        flex-flow: column wrap;
        width: 1170px;
        height: 1650px;
        margin: 0 auto;
   }
}
#timeline .demo-card-wrapper::after {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px solid rgba(191, 191, 191, 0.4);
}
@media (min-width: 1000px) {
    #timeline .demo-card-wrapper::after {
        border-left: 1px solid #bdbdbd;
   }
}
#timeline .demo-card {
    position: relative;
    display: block;
    margin: 10px auto 80px;
    max-width: 94%;
    z-index: 2;
}
@media (min-width: 480px) {
    #timeline .demo-card {
        max-width: 60%;
        box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
   }
}
@media (min-width: 720px) {
    #timeline .demo-card {
        max-width: 40%;
   }
}
@media (min-width: 1000px) {
    #timeline .demo-card {
        max-width: 450px;
        height: 400px;
        margin: 90px;
        margin-top: 45px;
        margin-bottom: 45px;
   }
    #timeline .demo-card:nth-child(odd) {
        margin-right: 45px;
   }
    #timeline .demo-card:nth-child(odd) .head::after {
        border-left-width: 15px;
        border-left-style: solid;
        left: 100%;
   }
    #timeline .demo-card:nth-child(odd) .head::before {
        left: 491.5px;
   }
    #timeline .demo-card:nth-child(even) {
        margin-left: 45px;
   }
    #timeline .demo-card:nth-child(even) .head::after {
        border-right-width: 15px;
        border-right-style: solid;
        right: 100%;
   }
    #timeline .demo-card:nth-child(even) .head::before {
        right: 489.5px;
   }
    #timeline .demo-card:nth-child(2) {
        margin-top: 180px;
   }
}
#timeline .demo-card .head {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 400;
}
#timeline .demo-card .head .number-box {
    display: inline;
    float: left;
    margin: 15px;
    padding: 10px;
    font-size: 35px;
    line-height: 35px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.17);
}
#timeline .demo-card .head h2 {
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: inherit;
    letter-spacing: 2px;
    margin: 0;
    padding-bottom: 6px;
    line-height: 1rem;
}
@media (min-width: 480px) {
    #timeline .demo-card .head h2 {
        font-size: 165%;
        line-height: 1.2rem;
   }
}
#timeline .demo-card .head h2 span {
    display: block;
    font-size: 0.6rem;
    margin: 0;
}
@media (min-width: 480px) {
    #timeline .demo-card .head h2 span {
        font-size: 0.8rem;
   }
}
#timeline .demo-card .body {
    background: #fff;
    border: 1px solid rgba(191, 191, 191, 0.4);
    border-top: 0;
    padding: 15px;
}
/* @media (min-width: 1000px) {
    #timeline .demo-card .body {
        height: 315px;
   }
} */
#timeline .demo-card .body p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
}
#timeline .demo-card .body img {
    display: block;
    width: 100%;
}
#timeline .demo-card--step1 {
    background-color: #025464;
}
#timeline .demo-card--step1 .head::after {
    border-color: #025464;
}
#timeline .demo-card--step2 {
    background-color: #E57C23;
}
#timeline .demo-card--step2 .head::after {
    border-color: #E57C23;
}
#timeline .demo-card--step3 {
    background-color: #E8AA42;
}
#timeline .demo-card--step3 .head::after {
    border-color: #E8AA42;
}
#timeline .demo-card--step4 {
    background-color: #19A7CE;
}
#timeline .demo-card--step4 .head::after {
    border-color: #19A7CE;
}
#timeline .demo-card--step5 {
    background-color: #B799FF;
}
#timeline .demo-card--step5 .head::after {
    border-color: #B799FF;
}
#timeline .demo-card--step6 {
    background-color: #F0C1E1;
}
#timeline .demo-card--step6 .head::after {
    border-color: #F0C1E1;
}
