@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
form,
input,
div {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

body::-webkit-scrollbar {
    width: 0.5em;
}

body::-webkit-scrollbar-thumb {
    background-color: #df5d20;
    border-radius: 5em;
}

.main {
    display: flex;
    flex-direction: column;
}

/* html{
    font-size: ;
} */

/* #particles-js canvas {
    display: block;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: opacity .8s ease, -webkit-transform 1.4s ease;
    transition: opacity .8s ease, transform 1.4s ease
}

#particles-js {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -10;
    top: 0;
    left: 0
} */

body {
    animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* input[type = checkbox]{
    width: 60px;
    height: 30px;
    appearance:  none !important;
    -moz-appearance:none !important;
    -webkit-appearance:none !important;
    background: #c6c6c6;
    outline: none;
    border-radius: 20px;
    transition: .5s;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
}

input:checked[type = checkbox]{
    background: #df5d20;
}

input[type = checkbox]:hover::after{
    text-align: center;
    content: attr(data-tooltip);
    padding-top: 5px;
    margin-top: 10px;
    width: 60px;
    height: 40px;
    float: right;
    color: #df5d20;
    border-radius: 10px;
    top: 10px;
    background: black;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    transition: .5s;
}


input[type = checkbox]:before{
    content: '';
    width: 30px;
    height: 30px;
    float: right;
    border-radius: 50%;
    top: 10px;
    margin-right: 30px;
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    transition: .5s;
}

input:checked[type = checkbox]:before{
    margin-right: 0px;
}

input:checked[type = checkbox]:hover::after{
    text-align: center;
    content: attr(data-tooltip);
    padding-top: 5px;
    margin-top: 10px;
    width: 60px;
    height: 40px;
    float: right;
    color: #df5d20;
    border-radius: 10px;
    top: 10px;
    background: white;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    transition: .5s;
} */

#open {
    font-size: 30px;
    cursor: pointer;
    color: #df5d20;
    position: fixed;
    padding-left: 1rem;
    z-index: 5;
}

#home {
    padding: 5rem;
    display: grid;
    background-color: #efefef;
    grid-template-columns: 60% 40%;
}

#des {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    margin: auto;
}

#headimg {
    margin: auto;
    width: 80%;
}

.nav {
    padding: 10px 15px;
    background-color: #efefef;
}

#made_by {
    color: white;
    text-align: center;
}

.vertxt {
    position: absolute;
    /* left:-3rem; */
    font-weight: bold;
    font-size: 3rem;
    width: fit-content;
    transform-origin: left;
    transform: rotate(-90deg) translate(-170%, 30%);

    /* Legacy vendor prefixes that you probably don't need... */

    /* Safari */
    -webkit-transform: rotate(-90deg) translate(-130%, 30%);

    /* Firefox */
    -moz-transform: rotate(-90deg) translate(-130%, 30%);

    /* IE */
    -ms-transform: rotate(-90deg) translate(-130%, 30%);

    /* Opera */
    -o-transform: rotate(-90deg) translate(-130%, 30%);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.heading {
    font-size: 2rem;
    font-weight: bold;
}

.section {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    /* display: grid; */
    /* grid-template-columns: 40% 60%; */
}

.imganimate {
    /* display: flex; */
    /* position: relative; */
    /* padding: 2rem; */
    /* height: 60vh; */
    margin: auto 0;
}

.imganimate > img {
    height: 50vh;
}
.back {
    top: 17%;
    position: relative;
    width: 250px;
    height: 250px;
    margin: auto;
    border: 1px dashed rgba(223, 93, 32, 0.5);
    box-sizing: border-box;
    border-radius: 50%;
    overflow: visible;
    /* transform: translate(0%, 100%); */
    animation: rotation 6s infinite linear;
    transform-origin: center;

    /* background-color: rgba(0, 0, 0, 0); */
}

@keyframes rotation {
    0% {
        transform: rotate(360deg);
    }
}

.ele {
    position: absolute;
    /* border: 1px solid rgba(223, 93, 32, 0.5); */
    /* padding: 5px; */
    /* border-radius: 100%; */

    transform: translate(-50%, -50%);
}

#code {
    top: 50%;
    /* animation: rotat 4s infinite linear; */
    /* transform: rotate(45deg) translateX(-150px); */
}

.resume {
    border-radius: 10px;
    border: 1px #df5d20 solid;
    color: #df5d20;
    width: 45%;
    padding: 0.5rem 0;
}

.resume:hover {
    border: 1px #df5d20 solid;
    background-color: #df5d20;
    color: white;
    cursor: pointer;
    transition-duration: 1s;
}

#game {
    left: 50%;
    /* transform: rotate(-45deg) translateX(150px); */
}

#type {
    left: 100%;
    top: 50%;
    /* transform: rotate(45deg) translateX(150px); */
}

#bball {
    left: 50%;
    top: 100%;
    /* transform: rotate(-45deg) translateX(-150px); */
}
@keyframes rotat {
    0% {
        transform: rotate(360deg);
    }
}

.abtme-content {
    display: grid;
    grid-template-columns: 35% 65%;
}

.abtme-txt {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    font-size: 1.15rem;
    gap: 1rem;
}

.abtme-txt > p {
    text-align: justify;
}

.card {
    padding: 2rem;
    text-align: left;
    border-radius: 20px;
    background-color: white;
    /* width: 100%; */
    display: grid;
    grid-template-columns: 70% 30%;
}

.card-content {
    display: flex;
    flex-direction: column;
    font-size: 1.15rem;
    margin: auto 0;
    gap: 0.5rem;
}

.card-heading {
    color: #df5d20;
    font-weight: 600;
    font-size: 1.5rem;
}

.card-subheading {
    display: flex;
    gap: 1rem;
    font-weight: 500;
    font-size: 1.25rem;
}

.role {
    color: #df5d20;
}

.respon {
    display: flex;
    flex-direction: column;
}

.card-img {
    margin: auto;
}

.comp-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.respon > span {
    font-weight: 500;
}

.project {
    /* padding: 2rem; */
    text-align: left;
    border-radius: 20px;
    background-color: white;
    min-height: 50vh;
    /* height: 50vh; */
    display: grid;
    grid-template-columns:50% 50%;
}
.project-img {
    display: flex;
    overflow: hidden;
    margin: auto;
}

.project-img > img {
    width: 100%;
    max-width:fit-content;
    height:fit-content;
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1rem;
    padding: 2rem;
}

.project-heading {
    font-weight: bold;
    margin: 0 auto;
    font-size: 1.5rem;
}

.project-des {
    text-align: justify;
    font-size: 1.15rem;
}

.ts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    overflow: hidden;
    flex-wrap: wrap;
}
.ts > img {
    width: 100%;
    max-width: 100px;
    height: fit-content;
}

.tech {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.tech-stacks {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.tech-stack {
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 250px;
    position: relative;
}
.tech-stack > span{
    position: absolute;
    bottom: 2px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}
.tech-stack > img {
    width: 180px;
    height: auto;
    margin: auto;
}

.achievs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.achievs-card {
    border-radius: 20px;
    background-color: white;
    padding: 1rem;
    max-height: 72vh;
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: 600;
    color: black;
    font-size: 1.25rem;
}

.position {
    font-size: 1.25rem;
    color: #df5d20;
}

#admin {
    height: 56vh;
}

#admin > img {
    align-content: center;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #df5d20;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    border-radius: 0px 20px;
}

.logos {
    display: flex;
    margin: 10px 0;
    justify-content: space-around;
}
/* 
.logo {
    width: 8px;
} */

a {
    text-decoration: none;
    /* color: #df5d20; */
}

.footer-box {
    padding: 0 5rem;
    overflow: hidden;
}

.footer {
    border-radius: 50px;
    height: 7vh;
    padding: 0 2rem;
    display: flex;
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; */
    background-color: #df5d20;
    overflow: visible;
}

.contact {
    overflow: visible;
    margin: auto;
    /* height: 100%; */
}

.contact > a {
    color: white;
    margin: auto;
    height: 100%;
    font-size: 2rem;
}

/* .contact> */

.contact > a :hover {
    color: #f79d37;
    transition-duration: 1s;
}

.buttons {
    display: flex;
    justify-content: center;
    align-content: flex-start;
    align-items: center;
}

.button {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: #323232 1px solid;
    color: #323232;
}

.button:hover {
    background-color: #323232;
    color: white;
    cursor: pointer;
    transition-duration: 1s;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 1.75rem;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f79d37;
    transition-duration: 1s;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 1.75rem;
    margin-left: 50px;
}

.responsiveimg {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1025px) {
    #home {
        padding: 4rem;
    }
    .section {
        padding: 4rem;
    }
    .project {
        grid-template-columns: 1fr;
    }
    .project-img > img {
        max-height: 25vh;
    }
}

@media screen and (max-width: 770px) {
    html {
        font-size: 10px;
    }
    .imganimate > img {
        height: 30vh;
    }
    #open {
        font-size: 15px;
        padding-left: 0.5rem;
    }
    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 15px;
        margin-left: 50px;
    }
    .project {
        grid-template-columns: 1fr;
    }
    .project-img > img {
        max-height: 25vh;
    }
}

@media screen and (max-width: 450px) {
    html {
        font-size: 8px;
    }
    .abtme-content {
        grid-template-columns: 1fr;
    }
    #home {
        display: flex;
        flex-direction: column-reverse;
    }
    #headimg {
        height: 30vh;
    }
    .project {
        grid-template-columns: 1fr;
    }
    .project-img > img {
        max-height: 25vh;
    }
    .tech-stack > img {
        max-height: 6vh;
    }
    .achievs {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .card {
        display: flex;
        flex-direction: column-reverse;
    }
    .card-img > img {
        margin: auto;
        max-height: 15vh;
    }
}
