/* ARCHIVE BACK TO HOME */
.logo {
    cursor: pointer;
}
.main-text {
    text-align: center;
}
.main-text24 {
    text-align: center;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
  }
  
  .modal-content, .close {
    animation: zoom 0.3s ease-in-out;
  }
  
  @keyframes zoom {
    from {transform: scale(0.8);}
    to {transform: scale(1);}
  }
  
  .close {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  

/* ABOUT */
/* Default state of elements (hidden initially) */
#Skills .sec,
#Projects .row,
#Services .prj-list,
#Contact .contact-list {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s ease-out;
}

/* Visible state when elements come into view */
#Skills .sec.visible,
#Projects .row.visible,
#Services .prj-list.visible,
#Contact .contact-list.visible {
    opacity: 1;
    transform: translateY(0);
}

@font-face {
    font-family: 'NTBrickSans';
    src: url('./fonts/NTBrickSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
    scroll-behavior: smooth;
}

#name-title {
    font-family: 'NTBrickSans', sans-serif;
  }
  

  body {
    color: white;
    background: 
        /* url('../img/flash.png') no-repeat center center fixed, */
        url('../img/mainbg.png') no-repeat center center fixed;
    background-size: cover;
    /* background-blend-mode: overlay; or try: overlay, lighten, soft-light , cover*/
}



/*navbar*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* or however tall you want it */
    padding: 0 10%;
    /* background: #252525; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    overflow: hidden;
}
.navbar a {
    padding: 5px 15px; /* smaller padding */
}


.logo {
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    letter-spacing: 5px;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}
.navbar {
    display: flex;
    gap: 0px; /* <-- control spacing here */
    align-items: center;
}

/* NAVBARRR */  
.navbar a {
    display: inline-block;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 15px; /* ← Adjust this for smoother corners */
}


.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #ffaa33;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 15px; /* ← Same radius as .navbar a */
}


.navbar a:hover {
    color: #ffaa33;
    background-color: rgba(255, 234, 0, 0.051);
    box-shadow: inset 0 4px 8px rgba(255, 234, 0, 0.051), 0 0 10px #ffaa33, 0 0 20px #ffaa33;
    transform: translateY(2px); /* Button "press" effect */
    border-radius: 15px; /* Keep corners smooth */
}


.navbar a:hover::before {
    opacity: 1;
}

.navbar a.active {
    color: #ffaa33;
    background-color: rgba(255, 234, 0, 0.051);
}

.navbar a:hover {
    box-shadow: 0 0 10px #ffaa33, 0 0 20px #ffaa33;
}

/*home*/

.home {
    position: relative;
    width: 100%;
    justify-content: space-between;
    min-height: 100vh;
    /* background-color: black; */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 75x 15% 0;
}

.home-content {
    max-width: 600px;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    letter-spacing: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: 1s;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h4 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.home-content h4 span {
    color: #ffaa33;
    font-size: 32px;
    font-weight: 700;
}

.home-content h4:nth-of-type(2) {
    margin-bottom: 30px;

}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #ffaa33;
    border-radius: 50%;
    font-size: 20px;
    color: #ffaa33;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.home-sci a:hover {
    background: #ffaa33;
    color: #000;
    box-shadow: 0 0 20px #ffaa33;
}
.home-content {
    max-width: 800px;
    margin-left: 100px; /* Adjust this value as needed */
}

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: #ffaa33;
    border-radius: 40px;
    font-size: 15px;
    text-align: center;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.btn-box:hover {
    box-shadow: 0 0 5px #ffaa33, 0 0 25px #ffaa33, 0 0 50pc #ffaa33, 0 0 100px #ffaa33, 0 0 200px #ffaa33;
}

.img {
    display: inline-block;
    position: absolute;
    left: 55%;
    bottom: 15%;
    margin-right: 5%;
    padding: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0;
    animation: slideUP 1s ease forwards;
    animation-delay: 1s;
    z-index: 2;
    max-width: 40vw; /* Responsive width based on viewport */
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 50%; /* Makes the image circular */
}

/* If you're using .responsive separately */
.responsive {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

@media screen and (max-width: 768px) {
    .img {
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 60vw;
        max-width: 300px;
        transform: translateX(20%); /* Shift to the right */
        animation: none;
        opacity: 1;
    }
}
.section-heading {
    margin-top: 90px;
}

@media screen and (max-width: 768px) {
    .section-heading {
        margin-top: 30px; /* smaller margin for mobile */
    }
}


/*about*/

.about {
    /* background-color: black; */
    display: grid;
    grid-template-columns: repeat(2, .5fr);
    /*align-items: center;*/
    /*gap: 1.5rem;*/
    width: 100%;
    justify-content: space-between;
    min-height: 100vh;
    padding: 70px 5% 0;
}

.about-img {
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-right: 10%;
    margin-top: 2.5%;
    /*margin-top: 7.5%;*/
    opacity: 1;
}

.abt-res {
    width: 100%;
    height: auto;
    max-width: 492px;
    max-height: 492px;
    border-radius: 90px;
    /*box-shadow: 0 0 5pc #ffaa33, 0 0 5px #ffaa33, 0 0 10px #ffaa33;*/
    border: #ffaa33 5px solid;
}

.about-text {
    margin-right: 2%;
}

.about-text h2 {
    font-size: 60px;
    letter-spacing: 5px;
}

.about-text h2 span {
    color: #ffaa33;
}

.about-text p {
    color: aliceblue;
    font-size: 20px;
    line-height: 2;
    letter-spacing: 2px;
    margin-bottom: 4rem;
    text-align: justify;
    text-justify: inter-word;
}

.abtbtn-box {
    display: inline-block;
    padding: 12px 28px;
    background: #ffaa33;
    border-radius: 40px;
    font-size: 15px;
    text-align: center;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
}

.abtbtn-box:hover {
    box-shadow: 0 0 5px #ffaa33, 0 0 25px #ffaa33, 0 0 50pc #ffaa33, 0 0 100px #ffaa33, 0 0 200px #ffaa33;
}


/* Skills */
#Skills
.subtitle {
    text-align: center;
    font-size: 60px;
    padding-bottom: 10px;
    padding-top: 70px;
    
}

.subtitle span {
    color: #ffaa33;
}

.sec {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0px;
}

.container1 {
    width: 600px;
    max-height: 500px;
    padding: 10px;
    margin-left: 100px;
}
.container2 {
    width: 600px;
    max-height: 500px;
    padding: 10px;
    margin-left: 100px;
}

.heading1 {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 5px;
    margin-bottom: 0px;
}

.bar {
    font-size: 23px;
}

.Technical-bars .bar {
    margin-top: 40px 0;
    padding: 5px;
}

.Technical-bars .bar:first-child {
    margin-top: 0;
}

.Technical-bars .bar:last-child {
    margin-bottom: 0;
}

.Technical-bars .bar .info {
    margin-bottom: 5px;
}

.Technical-bars .bar .info span {
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

.Technical-bars .bar .progress-line {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 5px;
    background-color: #000;
    animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.Technical-bars .bar .progress-line span {
    height: 100%;
    background-color: #ffaa33;
    position: absolute;
    border-radius: 10px;
    animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.progress-line.html span {
    width: 90%;
}

.progress-line.css span {
    width: 80%;
}

.progress-line.python span {
    width: 60%;
}

.progress-line.java span {
    width: 30%;
}

.progress-line.cpls span {
    width: 30%;
}


.progress-line span::after {
    position: absolute;
    padding: 1px 8px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: -20px;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

.progress-line.html span::after {
    content: "90%";
}

.progress-line.css span::after {
    content: "80%";
}

.progress-line.python span::after {
    content: "60%";
}

.progress-line.java span::after {
    content: "30%";
}

.progress-line.cpls span::after {
    content: "30%";
}

.progress-line span::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #000;
    top: -10px;
    right: 0;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

.radial-bars {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.radial-bars .radial-bar {
    width: 50%;
    height: 170px;
    margin-bottom: 10px;
    position: relative;
}

.radial-bars .radial-bar svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 120px;
    height: 160px;
}

.radial-bars .radial-bar .progress-bar {
    stroke-width: 10;
    stop-color: black;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
}

.path {
    stroke-width: 10;
    stroke: #ffaa33;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
}

.path.path-1 {
    animation: animate-path1 1s 1s linear forwards;
}

.path.path-2 {
    animation: animate-path2 1s 1s linear forwards;
}

.path.path-3 {
    animation: animate-path3 1s 1s linear forwards;
}

.path.path-4 {
    animation: animate-path4 1s 1s linear forwards;
}

.radial-bar .percentage {
    position: absolute;
    align-items: center;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

.radial-bar .text {
    width: 100%;
    position: absolute;
    text-align: center;
    left: 15%;
    bottom: 5px;
    transform: translateX(-50px);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

/*projects*/
#Projects
.main-text {
    padding-top: 50px;
    margin-top: 10px;
    padding-bottom: 130px;
}

.main-text h2 {
    font-size: 60px;
    line-height: 1;
    text-align: center;
    padding: 50px;
    padding-bottom: 110px;
}

.main-text h2 span {
    color: #ffaa33;
}

.serv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Wider cards */
    gap: 30px;                          /* Adds spacing between cards */
    justify-items: center;
    padding: 20px;
}


.row {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 460px;                  /* Limit card width */
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
}


.row img {
    width: 100%;
    max-width: none;              /* remove width limit */
    height: 290px;                /* fixed height for consistent cards */
    object-fit: cover;            /* fills the box neatly */
    border-radius: 15px;
    display: block;
    transition: transform 0.5s;
    padding: 0;
}


.layer {
    width: 100%;
    height: 0;
    opacity: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), #ffaa33);
    position: absolute;
    border-radius: 0 0 15px 15px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: height 0.5s, opacity 0.5s;
}


.layer h5 {
    color: #fffbfb;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}

.layer p {
    color: rgb(255, 255, 255);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    text-align: justify;
}

.layer i {
    color: #ad7220;
    margin-top: 20px;
    font-size: 20px;
    background: #000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.row:hover img {
    transform: scale(1.01);
}

.row:hover .layer {
    height: 100%;
    opacity: 1;
}


/* Service*/

#Services

.sub-title {
    text-align: center;
    font-size: 60px;
    padding-top: 0px;
    padding-bottom: 70px;
}
#Services .prj-list p {
    font-size: 1.1rem;
    line-height: 1.6;
}


.sub-title span {
    color: #ffaa33;
}

.prj-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.prj-list div {
    background-color: transparent;
    padding: 40px;
    font-size: 13px;
    font-weight: 13px;
    border-right: 10px;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s;
    /*box-shadow: 1px 1px 20px #012290f7, 1px 1px 40px #0053b8f7;*/
    border: #ffaa33 5px solid;
}

.container {
    padding: 50px;

}

.prj-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

.prj-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.prj-list div a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.read {
    display: inline-block;
    padding: 12px 20px;
    background: #ffaa33;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 1s;
}

.read:hover {
    box-shadow: 0 0 5px #ffaa33, 0 0 25px #ffaa33, 0 0 50pc #ffaa33, 0 0 100px #ffaa33, 0 0 200px #ffaa33;
}

.prj-list div:hover {
    transform: translateY(-2px);
}
/* contacts section */
.contacts {
    display: grid;
    align-items: center;
    gap: 3rem;
    padding: 40px;
    padding-top: 70px;
    justify-content: center;
}

.contact-text {
    align-content: center;
}

.contact-text h2 {
    font-size: 80px;
    line-height: normal;
    text-align: center;
}

.contact-text h2 span {
    color: #ffaa33;
}

.contact-text h4 {
    margin: 15px 0;
    color: rgb(228, 228, 228);
    font-size: 28px;
    font-weight: 600;
}

.contact-list {
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
/* Contact columns */
.contact-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    min-width: 350px;
}

/* Left align Gmail */
.contact-item.left-align {
    align-items: flex-start;
    padding-left: 20px;
}

/* Right align Phone and Facebook */
.contact-item.right-align {
    align-items: flex-end;
    padding-right: 20px;
}

.contact-item li {
    display: flex;
    align-items: center;
    gap: 12px;  /* Slightly smaller gap to avoid wrapping */
    list-style: none;
    margin-bottom: 15px;
    font-size: 22px;
    white-space: nowrap;  /* Prevent line breaks between icon and text */
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-item i {
    font-size: 28px;
    color: #ffaa33;
    font-weight: 600;
    transition: all 0.4s ease;
    padding: 0;  /* Removed excess padding causing layout issues */
    min-width: 30px;  /* Ensure icon doesn't squish text */
    text-align: center;
}

.contact-item li:last-child {
    margin-bottom: 0;
}
/* Remove default link styling */
a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use the current color for text */
}

/* Optional: Add custom styles for the links */
.contact-item a {
    color: #ffffff;  /* Set your desired color for links */
    font-weight: bold;  /* Optional: make it bold for emphasis */
    display: flex;
    align-items: center;
    gap: 12px; /* Space between icon and text */
}

.contact-item a:hover {
    color: #ff7f00;  /* Optional: change color on hover */
}

/* Icons general */
.contact-list i {
    display: inline-block;
    color: #ffaa33;
    font-size: 24px;
    font-weight: 600;
    transition: all .40s ease;
    padding: 10px;
}

/* Social Icons (optional block) */
.contact-icons i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #ffaa33;
    border-radius: 50%;
    font-size: 24px;
    color: #ffaa33;
    text-decoration: none;
    margin: 0px 15px 0px 0;
    opacity: 1;
}

.contact-icons i:hover {
    background: #ffaa33;
    color: #000;
    box-shadow: 0 0 20px #ffaa33;
}


.last-text p{
    width: 100%;
    text-align: center;
    padding: 25px;
    background: black;
    font-weight: 300;
    margin-top: 0px;
}
.top{
    position: fixed;
    bottom: 2.1rem;
    left: 1rem;
    display: flex;
    opacity: 0;
    transition: all .4s;
}

.top.active{
    bottom: 32px;
    pointer-events: auto;
    opacity: 1;
}

.top i{
    color: black;
    background: #ffaa33;
    font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.top i:hover {
    box-shadow: 0 0 5px #ffaa33,
    0 0 25px #ffaa33, 0 0 50px #ffaa33,0 0 200px #ffaa33;
}



@keyframes animate-path1 {
    100% {
        stroke-dashoffset: 180;
    }
}

@keyframes animate-path2 {
    100% {
        stroke-dashoffset: 140;
    }
}

@keyframes animate-path3 {
    100% {
        stroke-dashoffset: 90;
    }
}

@keyframes animate-path4 {
    100% {
        stroke-dashoffset: 50;
    }
}

@keyframes animate-bar {
    100% {
        stroke-dashoffset: -1;
    }
}

@keyframes showText {
    100% {
        opacity: 1;
    }
}

@keyframes animate {

    100% {
        transform: scaleX(1);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideUP {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@media (max-width: 900px) and (min-width: 700px) {
    .header{
        display:block;
    }
    .logo {
        position: relative;
        font-size: 30px;
        font-weight: 500;
        text-align: center;
    }
    .logo::after{
        content: "\a";
        white-space: pre;
    }
    .navbar a {
        font-size: 25px;
        font-weight: 200;
        margin-left: 0px;
        padding: 10px 10px 0 0;
    }
    .navbar a::after{
        content: "\a";
        white-space: pre;
    }
    
}

@media (max-width: 700px) and (min-width: 400px) {
    *{
        overflow-x: hidden;
        overflow-y: inherit;
    }
    /*navbar*/
    .header{
        display:block;
        
    }
    .logo {
        position: relative;
        font-size: 20px;
        font-weight: 500;
        text-align: center;
    }
    .logo::after{
        content: "\a";
        white-space: pre;
    }
    .navbar a {
        font-size: 15px;
        font-weight: 200;
        margin-left: 0px;
        padding: 10px 10px 0 0;
    }
    .navbar a::after{
        content: "\a";
        white-space: pre;
    }

    /*home*/
    .home{
        align-items: normal;
        padding-top: 40%;
        padding-bottom: 0;
    }
    .home-content h1 {
        font-size: 40px;
        font-weight: 600;
    }
    
    .home-content h3 {
        font-size: 30px;
        font-weight: 300;
    }
    
    .home-content h4 {
        font-size: 18px;
        font-weight: 200;
    }
    
    .home-content h4 span {
        font-size: 18px;
        font-weight: 200;
    }
    .img{
        max-width: 400px;
        position: relative;
        left: -10%;
        top: 2%;
        padding-bottom: 30px;
        padding-left: 0;
        margin-left: 0;
    }
    .btn-box:hover {
        box-shadow: 0 0 5px #ffaa33, 0 0 10px #ffaa33, 0 0 15pc #ffaa33, 0 0 20px #ffaa33, 0 0 25px #ffaa33;
    }
    /*about*/
    .about{
        padding-bottom: 20px;
        min-height: auto;
    } 
    .about-text h2 {
        font-size: 30px;
        letter-spacing: 5px;
    }
    
    .about-text p {
        font-size: 15px;
        line-height: normal;
        letter-spacing: 1px;
        margin-bottom: 4rem;
        text-align: left;
    }
    .abtbtn-box:hover {
        box-shadow: 0 0 5px #ffaa33, 0 0 10px #ffaa33, 0 0 15pc #ffaa33, 0 0 20px #ffaa33, 0 0 25px #ffaa33;
    }

    /*skills*/
    .subtitle{
        font-size: 50px;
        text-align: center;
    }
    .container1 {
        width: 600px;
        max-height: 500px;
        padding: 20px;
        margin-left: 50px;
    }
    .container2 {
        width: 600px;
        max-height: 500px;
        padding: 10px;
        margin-left: 0px;
    }
    .bar .info .addhtml::before {
        content: "90%";
    }
    
    .bar .info .addcss::before {
        content: "80%";
    }
    
    .bar .info .addpy::before {
        content: "60%";
    }
    
    .bar .info .addjava::before {
        content: "30%";
    }
    
    .bar .info .addc::before {
        content: "30%";
    }
    
    

    /*project*/
    .main-text {
        padding-top: 20px;
        margin-top: 10px;
        padding-bottom: 50px;
    }
    .main-text h2 {
        font-size: 50px;
        padding-bottom: 15px;
    }
    .layer p {
        line-height: normal;
    }
    /*service*/
    .sub-title {
        font-size: 50px;
        padding-bottom: 50px;
    }
    .prj-list div{
        padding: 20px;
    }
    /*contact*/
    .contacts h2{
        font-size: 50px;
    }
    .contact-list i{
        font-size: 15px;
        padding: 5px 5px 0 0;
    }
    
    .top{
        position: fixed;
        bottom: 2rem;
        left: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        opacity: 0;
        transition: all .4s;
    }
    
}

@media (max-width: 400px) {
    *{
        overflow-x: hidden;
    }
    .header{
        display:block;
    }
    .logo {
        position: relative;
        font-size: 20px;
        font-weight: 500;
        text-align: center;
    }
    .logo::after{
        content: "\a";
        white-space: pre;
    }
    .navbar a {
        font-size: 13px;
        font-weight: 200;
        margin-left: 0px;
        padding: 10px 4px 0 0;
    }
    .navbar a::after{
        content: "\a";
        white-space: pre;
    }

    /*home*/
    .home{
        width: 100%;
        align-items: normal;
        padding-top: 40%;
        padding-bottom: 0;
    }
    .home-content h1 {
        font-size: 30px;
        font-weight: 600;
    }
    
    .home-content h3 {
        font-size: 20px;
        font-weight: 300;
    }
    
    .home-content h4 {
        font-size: 15px;
        font-weight: 200;
    }
    
    .home-content h4 span {
        font-size: 15px;
        font-weight: 200;
    }
    .btn-box:hover {
        box-shadow: 0 0 5px #ffaa33, 0 0 10px #ffaa33, 0 0 15pc #ffaa33, 0 0 20px #ffaa33, 0 0 25px #ffaa33;
    }
    .img{
        max-width: 300px;
        position: relative;
        left: -10%;
        top: 2%;
        padding-bottom: 30px;
        padding-left: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    /*about*/
    .about{
        padding-bottom: 20px;
        min-height: auto;
    }
    .about-text h2 {
        font-size: 30px;
        letter-spacing: 5px;
    }
    
    .about-text p {
        font-size: 15px;
        line-height: normal;
        letter-spacing: 0px;
        margin-bottom: 4rem;
        text-align: left;
    }
    .abtbtn-box:hover {
        box-shadow: 0 0 5px #ffaa33, 0 0 10px #ffaa33, 0 0 15pc #ffaa33, 0 0 20px #ffaa33, 0 0 25px #ffaa33;
    }

    /*skills*/
    .subtitle{
        font-size: 50px;
        text-align: center;
    }
    .container1 {
        width: 600px;
        max-height: 500px;
        padding: 20px;
        margin-left: 50px;
    }
    .container2 {
        width: 600px;
        max-height: 500px;
        padding: 10px;
        margin-left: 0px;
    }
    .radial-bar .text{
        left: 25%;
    }
    .bar .info .addhtml::before {
        content: "90%";
    }
    
    .bar .info .addcss::before {
        content: "80%";
    }
    
    .bar .info .addpy::before {
        content: "60%";
    }
    
    .bar .info .addjava::before {
        content: "30%";
    }
    
    .bar .info .addc::before {
        content: "30%";
    }
    

    /*project*/
    .main-text {
        padding-top: 20px;
        margin-top: 10px;
        padding-bottom: 50px;
    }
    .main-text h2 {
        font-size: 50px;
        padding-bottom: 15px;
    }
    .layer p {
        line-height: normal;
    }

    /*service*/
    .sub-title {
        font-size: 50px;
        padding-bottom: 50px;
    }

    /*contact*/
    .contacts h2{
        font-size: 50px;
    }
    .contact-list i{
        font-size: 13px;
        padding: 5px 5px 0 0;
    }
    
    .top{
        position: fixed;
        bottom: 2rem;
        left: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        opacity: 0;
        transition: all .4s;
    }
    .top i{
        color: #000;
    }
}
