@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Andika+New+Basic:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Andika New Basic', sans-serif;
}

#main {
    width: 100%;
    height: 100vh;
    position: relative;
    /* background-image: url(Image/bg2.png); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 1.5s;
}
.navbar {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 30px;
}
.logo img {
    width: 50px;
    height: 50px;
}
.logo h3 {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
}
.navbar nav {
    text-align: center;
    margin-right: 30px;
}
.navbar nav ul {
    list-style: none;
    display: inline-block;
}
.navbar nav ul li {
    display: inline-block;
    color: rgba(255, 255, 255, 0.781);
    font-size: 18px;
    cursor: pointer;
}
.navbar nav ul li:hover {
    color: #fff;
}
.navbar nav ul li:not(:last-child) {
    margin-right: 40px;
}

.circle-box {
    position: absolute;
    height: 450px;
    width: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#svg-circle {
    stroke-dasharray: 1256;
    stroke-dashoffset: 1256;
    transition: 1s;
}

span {
    position: absolute;
    height: 10px;
    width: 10px;
    background: #fff;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

#step1 {
    right: 126px;
    bottom: 57px;
}

#step2 {
    left: 115px;
    bottom: 62px;
}
#step3 {
    left: 20px;
    top: 45%;
}
#step4 {
    left: 50%;
    top: 7px;
}
#step5 {
    right: 21px;
    bottom: 52%;
}

/* main content */
.main-content {
    width: 300px;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    transition: 1s;
    /* z-index: -1; */
}
.content {
    position: absolute;
    cursor: pointer;
}
.content img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}
#about-content{
    /* background-color: #dadada; */
    position: absolute;
    width: 100px;
    padding: 5px;
    border: 1px solid #dadada;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
}
#about-content:hover {
    background-color: #dadada8f;
    color: #111;
    transition: 0.5s;
}
.main-content p {
    margin: 20px 0;
    color: #dadada;
}
.main-content h1 {
    font-size: 26px;
}
/* .content:nth-child(1) {
    display: none;
} */
.content:nth-child(2){
    transform: translateY(400px);
}
.content:nth-child(2) {
    text-align: justify;
}
.content:nth-child(2) h1 {
    text-align: center;
}
.content:nth-child(2) p {
    font-size: 13.5px;
}

/* SKill Style */
.content:nth-child(3) {
    transform: translateY(800px);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    flex-basis: 100%;
    margin: 50px 0;
}
.skill ul {
    list-style: none;
}
.skill-col {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    height: 280px;
    overflow: hidden;
    margin: auto;
    /* transform: translateX(84px); */
}
.skill {
    display: none;
    /* margin: 0 70px; */
}
.skill h1 {
    margin-bottom: 10px;
}
/* .skill:not(:first-child) {
    transform: translateX(66px);
} */
.skill ul li {
    color: #dadada;
}
#slider1, #slider2 {
    position: absolute;
    left: 0;
    font-size: 28px;
    color: #ffffff;
    font-weight: bold;
    user-select: none;
    transition: all 0.5s ease-in-out;
}
#slider1 {
    left: 295px;
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


/* project style */
:is(.info1,.info2,.info3) {
    visibility: hidden;
    opacity: 0;
    color: #fff;
    width: 150px;
    background: #dadada2d;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    font-size: 14px;
}
:is(.info1,.info2,.info3) p {
    color: #dadada;
    font-size: 16;
}
.info1 {
    left: -75px;
    top: -64px;
}
.info2 {
    right: -75px;
    top: 5px;
}
.info3 {
    width: 300px;
    height: 100px;
    left: 5px;
    bottom: -100px;
}
.info1::before {
    content: '';
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-left: 10px solid #dadada2d;
    right: -10px;
    bottom: 13px;
}
.info2::before {
    content: '';
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right: 10px solid #dadada2d;
    left: -10px;
    bottom: 8px;
}
.info3::before {
    content: '';
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent; 
    border-bottom: 10px solid #dadada2d;
    top: -10px;
    left: 135px;
}
.content:nth-child(4) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 300px;
    flex-basis: 100%;
    margin: auto;
    transform: translateY(1250px);
}
.project a {
    text-decoration: none;
    color: #dadada;
}
.project {
    margin: 20px 0;
    background: #dadada2d;
    padding: 5px;
    border-radius: 5px;
}
.project:hover {
    background: #dadada8f;
}
.project:hover a {
    color: #fff;
}
.project:hover :is(.info1,.info2,.info3) {
    visibility: visible;
    opacity: 1;
    transition: all 0.5s ease-in-out;
}
/* Contact Style */
.content:nth-child(5) img {
    width: 60px;
    height: 60px;
    padding: 10px;
}
.content:nth-child(5) {
    transform: translateY(1650px);
}
/* hero section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
    height: 400px;
}
.hero h4 {
    color: #fff;
    font-size: 30px;
    letter-spacing: 2px;
    line-height: 5em;
}
.action {
    color: #dadadaa9;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #dadada;
    cursor: pointer;
}
.action:hover {
    background-color: #dadada34;
    color: #fff;
    transition: 0.5s;
}

/* Media Query */
@media (max-width: 768px) {
    .info1, .info2, .info3 {
        display: none;
    }
}
@media (max-width: 376px) {
    .hero h4 {
        font-size: 14px;
        padding: 10px;
        text-align: center;
    }
    .navbar nav {
        display: none;
    }
    .logo {
        margin: auto;
    }
    svg {
        display: none;
    }
    #step1{
        right: 25%;
        bottom: 12px;
    }
    #step2{
        left: 59%;
        bottom: 12px;
    }
    #step3{
        left: 47%;
        top: 95%;
    }
    #step4{
        left: 35%;
        top: 95%;
    }
    #step5{
        left: 25%;
        bottom: 12px;
    }
    .dot {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .circle-box {
        width: 100%;
    }
}