html{
    scroll-behavior: smooth;
}
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    overflow: hidden;
    width: 100%;
    top: 0;
    z-index: 20;
}

#nav ul{
    list-style-type: none;
    text-align: center;
}

ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
  
li {
    margin: 0 10px;
    display: inline;
}
  
#bar{
    padding: 10px;
    width: auto;
    display: inline;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 20;

}
  
@media (max-width: 1200px) {
    nav {
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    
    li {
      margin: 10px 0;
    }
}
  
body{
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
}

#section1{
    height: 700px;
    background-image: url("Home_background_polarbear.png");
    background-position: center;
    background-size: cover;
    display: inline-block;
    width: 100%;
}
#section1 h1{
    text-align: center;
    color: #00D646;
    position: relative;
    margin-top: 30%;
    font-size: 200%;
    font-family: 'Lulo Clean', sans-serif;
    letter-spacing: 5px;
    font-weight:900;
}
.dot{
    color: white;
}

#section1 h3{
    text-align: center;
    color: white;
    font-family: 'Avenir', Helvetica, sans-serif;
    letter-spacing: 3px;
}
#section2{
    height: auto;
    background-image: url("skill_background_polarbear.png");
    background-position: center;
    background-size: cover;
    display: inline-block;
    width: 100%;
}
#section2 h1{
    text-align: center;
    color: #BEC7D5;
    position: relative;
    margin-top: 20%;
    font-family: 'Lulo Clean', sans-serif;
    letter-spacing: 5px;
    font-weight:900;
}


section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}
section:nth-child(odd){
    background-color: #2d2d2b;
}
.wrap{
    max-width: 60%;
}
.bar{
    color:#fff;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    display:inline-block;
    margin-bottom: 3px;
    width: 100%;

}
.bar .thumb{
    position: relative;
    display: inline-block;
    width: 100%;
    height: 10px;
    background-color: #A1F0DF;
    border-radius: 60px;
    margin-top: 5px;
}
.bar span{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to left, #F3F1F5, #00A9D4);
    border-radius: 50px;
}
.bar:nth-child(1) span{
    width: 90%;
}
.bar:nth-child(2) span{
    width: 90%;
}
.bar:nth-child(3) span{
    width: 90%;
}
.bar:nth-child(4) span{
    width: 90%;
}
.bar:nth-child(5) span{
    width: 70%;
}
.bar:nth-child(6) span{
    width: 70%;
}
.bar:nth-child(7) span{
    width: 60%;
}
.bar abbr{
    color: #28347D;
    width: 50px;
    display: inline-block;
    height: 20px;
    border-radius: 50px;
    text-align: center;
    line-height: 20px;
    position: absolute;
    top: 60px;
    margin-left: -5px;
    z-index: 1;
    background: linear-gradient(to left, #F3F1F5, #00A9D4);
    box-shadow: 0 5px 30px #61BBE8, 0 5px 30px #2A5063;
    font-size: 15px;
}
.bar:nth-child(1) abbr{
    left: 90%;
}
.bar:nth-child(2) abbr{
    left: 90%;
}
.bar:nth-child(3) abbr{
    left: 90%;
}
.bar:nth-child(4) abbr{
    left: 90%;
}
.bar:nth-child(5) abbr{
    left: 70%;
}
.bar:nth-child(6) abbr{
    left: 70%;
}
.bar:nth-child(7) abbr{
    left: 60%;
}


#section3{
    height: auto;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.6)),url("experience_background_polarbear_1.png");
    background-position: center;
    background-size: cover;
    display: inline-block;
    width: 100%;
}
#section3 h1{
    text-align: center;
    color: #BEC7D5;
    position: relative;
    margin-top: 0%;
    font-family: 'Lulo Clean', sans-serif;
    letter-spacing: 5px;
    font-weight:900;
}














.timeline{
    position: relative;
    max-width: 100%;
    margin: 100px auto;
}

.container{
    padding: 10px 5%;
    position: relative;
    width: 40%;
    animation: movedown 1s linear forwards;
    opacity: 0;
    z-index: 1;
}
@keyframes movedown {
    0%{
        opacity: 1;
        transform: translateY(-30px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

.container:nth-child(1){
    animation-delay: 0s;
}
.container:nth-child(2){
    animation-delay: 1s;
}
.container:nth-child(3){
    animation-delay: 2s;
}
.container:nth-child(4){
    animation-delay: 3s;
}

.text-box{
    color: #28347D;
    padding: 20px 30px;
    background: #D6F1FF;
    position: relative;
    border-radius: 6px;
    font-size: 15px;
}

.left-container{
    left: 0;
    transform: translateX(-50%);

}

.right-container{
    left: 50%;
    transform: translateX(50%);

}

.container img{
    position: absolute;
    width: 40px;
    border-radius: 50%;
    right: -20px;
    top: 26px;
    z-index: 10;
}

.right-container img{
    left: -20px;
}

.timeline::after{
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: #D6F1FF;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: 0;
    animation: moveline 6s linear forwards;
}
@keyframes moveline {
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
    
}

.text-box h2{
    font-weight:600;
}

.text-box small{
    display: inline-block;
    margin-bottom: 15px;
}

.left-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top: 20px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #D6F1FF;
    right: -15px;
}

.right-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top: 20px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #D6F1FF;
    left: -15px;
}


@media screen and (max-width: 600px){

    .timeline{
        margin: 50px auto;
    }

    .timeline::after{
        left: 31px;
    }
    .container{
        width: 70%;
        padding-left: 80px;
        padding-right: 25px;
    }
    .text-box{
        font-size: 13px;
    }
    .text-box small{
        margin-bottom: 10px;
    }
    .right-container{
        left: 0;
    }
    .left-container img, .right-container img{
        left: 10px;
    }
    .left-container-arrow, .right-container-arrow{
        border-right: 15px solid #BEC7D5;
        border-left: 0;
        left: -15px;
    }

}






#section4{
    height: auto;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.6)),url("contact_background_polarbear_1.png");
    background-position: center;
    background-size: cover;
    display: inline-block;
    width: 100%;
}
#section4 h1{
    text-align: center;
    color: #BEC7D5;
    position: relative;
    margin-top: 30%;
    font-family: 'Lulo Clean', sans-serif;
    letter-spacing: 5px;
    font-weight:900;
}

.info{
    text-align: center;
}
.mailandphone{
    font-size: 25px;
    color:#fff;
}

a.mailandphone{
    color:#fff;
}

.link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    height: 300px; 
}

#link{
    margin: 10px;
}

#link img {
    max-width: 100%;
    height: auto;
    margin: 0 10px;
}
