@import url('https://fonts.googleapis.com/css2?family=Acme&family=Dosis:wght@200&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Mukta:wght@200;300;400;500;600;700;800&family=Nanum+Gothic+Coding:wght@700&family=Orbitron:wght@900&family=VT323&display=swap');

body,
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    color: rgb(217 225 225);
    background-color: rgb(47 47 47);
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}

img {
    background-color: transparent;
}

section {
    width: 97dvw;
    margin: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.social {
    padding: 5px 10px;
    margin-top: 7px;
    border: 1px solid rgb(61 60 60);
    margin-left: 13px;
    cursor: pointer;
    float: right;
}

.social:hover {
    border: 1px solid rgb(255 124 124);
    transition: ease-in;
    transition-duration: .2s;
}

i:hover,
a:hover {
    color: rgb(246 192 165) !important;
}

.hero {
    display: flex;
    justify-content: center;
    margin-top: 70px;
    flex-wrap: nowrap;
}

#pic {
    border-left: 3px solid rgb(246 192 165);
    border-radius: 50%;
    margin-left: 50px;
}

.detail {
    width: 700px;
    text-wrap: inherit;
    text-align: right;
    align-self: center;
}

.tag {
    color: rgb(246 192 165);
    text-decoration: underline;
}

#schclg,
a {
    text-decoration: none;
}

.bb:first-letter {
    color: rgb(246 192 165);
}

.anubhav {
    display: flex;
    justify-content: space-evenly;
    padding: 50px;
    margin-top: 50px;
}

.exp {
    width: 373px;
}

#year,
#month,
#day,
#projectDone,
#dots sub {
    color: rgb(246 192 165);
    font-size: x-large;
}

#dots {
    animation: bb ease-in-out 2s infinite;
}

#edu-qua {
    text-align: center;
    margin-top: 40px;
}

.logos {
    height: 50px;
    width: 80px;
}

.skill {
    height: 100px;
    width: 130px;
    animation: logo 5s infinite;
    margin: 30px;
}

.resume .resume-title {
    font-size: 30px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 40px;
}

.resume p {
    font-size: 14px;
    margin-bottom: 0px !important;
}


.footerNav {
    display: none;
    background-color: transparent;
    position: fixed;
    top: 300px;
    left: 0px;
    background-color: transparent;
}

.footerNav ul {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}


.Nav {
    flex-direction: column;
    list-style: none;
    height: 20px;
    padding: 10px;
    margin: 10px;
}

.footerNav ul,
.footerNav ul li:hover {
    color: rgb(255 124 124);
}

.resume .resume-item {
    padding: 0 0 20px 20px;
    margin-top: -2px;
    border-left: 2px solid #1f5297;
    position: relative;
    font-size: 20px;
}

.resume .resume-item h4 {
    line-height: 18px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    margin-bottom: 10px;
}

.resume .resume-item h5 {
    font-size: 10px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 10px;
}

.resume .resume-item ul {
    padding-left: 20px;
    font-size: 20px;
}

.resume .resume-item ul li {
    padding-bottom: 10px;
    font-size: 14px;
}

.resume .resume-item:last-child {
    padding-bottom: 0;
}

.resume .resume-item::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50px;
    left: -9px;
    top: 0;
    background: #fff;
    border: 2px solid #1f5297;
}


.project_logo {
    border-radius: 20px;
    width: 150px;
    height: 150px;
    color: wheat;
}

.project {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 50vw;
    margin-top: 20px;
    padding: 5px;
    border-bottom: 2px solid gray;
}

.github-redictct-btn img:hover {
    cursor: pointer;
    border-radius: 20px;
    background-color: rgb(255, 255, 255)
}

@keyframes logo {
    0% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.centerText {
    position: relative;
    z-index: 0;
    width: 400px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    padding: 2rem;

    &::before {
        content: '';
        position: absolute;
        z-index: -2;
        left: -50%;
        top: -50%;
        width: 200%;
        height: 200%;
        background-color: gray;
        background-repeat: no-repeat;
        background-size: 50% 50%, 50% 50%;
        background-position: 0 0, 100% 0, 100% 100%, 0 100%;
        background-image: linear-gradient(black, gray), linear-gradient(white, orange);
        animation: rotate 3s linear infinite;
    }

    &::after {
        content: '';
        position: absolute;
        z-index: -1;
        left: -1px;
        top: 2px;
        width: calc(100% - 12px);
        height: calc(100% - 12px);
        background: white;
        border-radius: 5px;
        background-color: inherit;
    }

}

.services {
    display: flex;
    margin: 60px;
    justify-content: space-around;
    flex-wrap: wrap;
}

.idol {
    margin: 30px;
    border: .3px solid;
    width: 300px;
    height: 300px;
}

.tech-stack {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.filters {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background: none;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #4a4949;
    color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.2);
}

.tech-item img {
    width: 150px;
    height: 120px;
    object-fit: contain;
}

.tech-name {
    font-size: 1rem;
}

#toTopButton {
    display: inline-block;
    background-color: #FF9800;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
        opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 100000;
}

#toTopButton::after {
    content: "\f0aa";
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#toTopButton:hover {
    cursor: pointer;
    background-color: rgb(53, 53, 53);;
}

#toTopButton:active {
    background-color: #555;
}

#toTopButton.show {
    opacity: 1;
    visibility: visible;
}

.project {
    position: relative;
}

.github-redictct-btn {
    position: absolute;
    right: 0px;
}
.github-redictct-btn img{
    height: 30px;
    width: 80px;
    border-radius: 30px;
    background-color: rgb(194, 191, 191)
}

@media (min-width: 500px) {
    .content {
        width: 43%;
    }

    #button {
        margin: 30px;
    }
}

.content h1 {
    margin-bottom: -10px;
    color: #03a9f4;
    line-height: 1.5;
}

.content h3 {
    font-style: italic;
    color: #96a2a7;
}
ul{
    margin-bottom: 0px !important;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

#det {
    height: 300px;
}

@keyframes bb {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media only screen and (max-width: 1000px) {
    .social {
        float: left
    }

    .detail {
        width: 100% !important;
        text-wrap: inherit;
        text-align: center !important;
        margin-top: 50px;
    }

    .hero {
        flex-wrap: wrap-reverse;
    }

    .hero-image {
        height: 100%;
        margin-top: 30px;
    }

    #edu-qua {
        margin-top: 30px;
    }

    .sch {
        margin-top: 60px;
    }

    .jrny {
        margin-top: 40px;
    }

    .project {
        width: 75dvw;
    }

    #pic {
        border-left: none;
        border-bottom: 3px solid rgb(246 192 165);
    }

    .footerNav {
        display: block;
        width: 100vw;
        position: fixed;
        top: auto;
        bottom: 0px;
        border-top: 2px solid gray;
    }

    .footerNav ul {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }

    .Nav {
        flex-direction: column;
        list-style: none;
        padding: 20px;
        margin: 20px;
    }

    .look {
        display: none;
    }
    #toTopButton{
        bottom: 100px;
    }
}



.skills-grid {
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 35px;
    justify-items: center;
  }
  
  .skill-item {
    width: 150px;
    height: 150px;
    position: relative;
  
    filter: drop-shadow(0px 8px 18px rgba(0, 0, 0, 0.55))
            drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.35));
  }
  
  .skill-svg {
    width: 100%;
    height: 100%;
  }
  
  .skill-border {
    fill:transparent;                
    stroke: url(#skillStroke);  
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  .skill-item span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    pointer-events: none;
  }
  
  @media (max-width: 880px) {
    .skill-item {
      width: 120px;
      height: 120px;
    }
    .skill-item span {
      font-size: 15px;
    }
  }
  