:root {
    --bodyColor: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

body {
    background-color: #1F2125;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    outline: none;
}

.custom-btn {
    padding: 14px 28px;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 30px;
    background-color: #fff;
    color: #000;
    cursor: pointer;
}

.anim-div {
    position: absolute;
    inset: 0;
    background-color: inherit;
    z-index: 20;
    overflow: hidden;
}

.anim-div .logo {
    animation: loadanim 3s ease forwards;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background-color: red; */
}

@keyframes loadanim {
    0% {
        opacity: 1;
        transform: rotate(0) scale(2) translate(-50%, -50%);
    }

    50% {
        top: 50%;
        left: 50%;
        transform: rotate(360deg) scale(1) translate(-50%, -50%);
        opacity: 1;
    }

    80% {
        top: 50%;
        left: 50%;
        opacity: 1;
    }

    100% {
        top: 100px;
        left: 150px;
        opacity: 0;
    }
}

.nav-overlay {
    background-color: #EFE9E0;
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    z-index: 15;
    inset: 0;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    visibility: hidden;
}

.nav-overlay .close-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
    font-size: 2rem;
}

.nav-overlay .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 100px;
}

.nav-overlay .nav-links .nav-item {
    font-size: 8rem;
    font-weight: 100;
    cursor: pointer;
}

.header {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    font-weight: 600;
    z-index: 10;
}

.header .logo {
    height: 60px;
    width: auto;
    animation: logoanim 1s ease;
}

@keyframes logoanim {
    from {
        transform: rotate(0) scale(2);
    }

    to {
        transform: rotate(360deg) scale(1);
    }
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header .hamburger {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.designation {
    margin-top: 100px;
    width: 100%;
    height: calc(100vh - 100px);
    /* background-color: red; */
    text-align: center;
    padding: 100px 20px;
    color: #fff;
}

.designation .small-txt {
    animation: smallTxtAnim 1s 3s ease;
    /* background-color: red; */
}

.designation button {
    font-size: 1rem;
    color: var(--bodyColor);
    border: 2px solid var(--bodyColor);
    border-radius: 30px;
    margin-top: 10px;
    transition: all 0.2s ease;
    padding: 10px 30px;
    cursor: pointer;
    animation: buttonanim 1s 3s ease-out;
}

@keyframes buttonanim {
    from {
        transform: translateY(600px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.designation button:hover {
    background: #84CAB9;
    color: black;
}

@keyframes smallTxtAnim {
    from {
        transform: translateY(-600px);
    }

    to {
        transform: translateY(0);
    }
}

.designation .head-1 {
    font-size: 8rem;
    text-transform: uppercase;
    animation: head1Anim 1s 3s ease;
    /* background-color: blue; */
}

@keyframes head1Anim {
    from {
        transform: translateX(-600px);
    }

    to {
        transform: translateX(0);
    }
}

.designation .head-2 {
    font-size: 8rem;
    text-transform: uppercase;
    animation: head2Anim 1s 3s ease;
    /* background-color: green; */
}

@keyframes head2Anim {
    from {
        transform: translateX(600px);
    }

    to {
        transform: translateX(0);
    }
}

.designation .head-3 {
    font-size: 5rem;
    text-transform: lowercase;
    font-style: italic;
    animation: head3Anim 1s 3s ease;
    /* background-color: gray; */
}

@keyframes head3Anim {
    from {
        transform: translateY(600px);
    }

    to {
        transform: translateY(0);
    }
}

.designation .head-4 {
    font-size: 2rem;
    text-transform: lowercase;
    font-style: italic;
    font-weight: bolder;
    opacity: 0;
    animation: head4Anim 1s 4s ease forwards;
    margin-bottom: 20px;
}

@keyframes head4Anim {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.designation .head-4 small {
    font-weight: normal;
}

.about {
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.about .content {
    width: 50%;
    line-height: 1.5rem;
}

.about .action-btn {
    width: 20%;
    padding: 54px;
    text-align: center;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    position: relative;
    cursor: pointer;
    /* background-color: red; */
}

.about .action-btn img {
    transition: all 0.5s ease-in-out;
}

.about .action-btn:hover img {
    transform: rotate(45deg);
}

.about .action-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.about .action-btn button {
    text-transform: uppercase;
    font-size: 1rem;
    position: absolute;
    cursor: pointer;
    height: 100%;
    width: 100%;
    color: #fff;
}

.skills {
    text-align: left;
    /* margin: 50px; */
    padding: 250px 100px;
}

.skills .heading-2 {
    font-size: 2rem;
    margin-bottom: 50px;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding-top: 20px;
    gap: 10px;
}

.skill-pill {
    animation: head1Anim 1s ease;
    background: #000000;
    border-radius: 20px;
    padding: 12px 24px;
    margin: 0 10px 10px 0;
    color: white;
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 5px 5px 20px #84CAB9;
}

.projects {
    padding: 0 100px;
}

.projects .active-text {
    font-size: 10rem;
    text-align: center;
    text-transform: uppercase;
}

.projects .project-list {
    padding: 100px 50px;
}

.projects .project-list .proj {
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: right;
}

.projects .project-list .proj:nth-of-type(odd) {
    justify-content: flex-end;
    text-align: left;
}

.projects .project-list .project {
    width: 90%;
    max-width: 600px;
    position: relative;
    border-radius: 20px;
}

.projects .project-list .project .proj-img {
    cursor: pointer;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    object-fit: cover;
    z-index: 3;
}

.projects .project-list .project::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, black, transparent);
    border-radius: 20px;
    z-index: 5;
    pointer-events: none;
}

.projects .project-list .proj:nth-of-type(odd) .project::before {
    background: linear-gradient(to right, black, transparent);
}

.projects .project-list .project .desc {
    position: absolute;
    top: 70%;
    right: -50px;
    z-index: 7;
    pointer-events: none;
}

.projects .project-list .proj:nth-of-type(odd) .project .desc {
    left: -50px;
}

.projects .project-list .project .title {
    font-size: 3.5rem;
    text-transform: capitalize;
}

.projects .project-list .project .proj-desc {
    /* text-transform: uppercase; */
    font-size: 0.9rem;
    font-weight: 100;
}

.projects .project-list .project .technologies {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 100;
    margin-top: 8px;
}

.projects .project-list .project img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: transform 0.2s ease-in-out;
}

.projects .project-list .project:hover img {
    transform: scale(1.1);
}

.projects .project-list .project:hover::before {
    opacity: 0.8;
}

.projects .view-all-btn {
    transform: translateY(-100px);
}

.projects .view-all-btn,
.contact .cont-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.interests {
    min-height: 70vh;
    padding: 100px 0;
}

.interests .active-text-1 {
    font-size: 3rem;
    text-align: center;
}

.interests .active-text-2 {
    font-size: 8rem;
    text-align: center;
    text-transform: uppercase;
}

.interests .hobby-list {
    margin-top: 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    padding: 20px;
    /* background-color: red; */
}

.interests .hobby-list .hobby {
    border-radius: 20px;
    position: relative;
}

.interests .hobby-list .hobby .intname {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    font-size: 1.3rem;
    padding: 20px;
    text-transform: capitalize;
    white-space: nowrap;
}

.interests .hobby-list .hobby::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, black 20%, transparent);
    z-index: 1;
    border-radius: 20px;
}

.interests .hobby-list .hobby:not(:first-child) {
    margin-left: 30px;
}

.interests .hobby-list .hobby img {
    border-radius: 20px;
    height: 300px;
    object-fit: cover;
    z-index: 0;
}

.interests .hobby-list .hobby:hover {
    transform: translateY(-10px);
}

.certifications {
    min-height: 100vh;
    padding: 150px 100px;
}

.certifications .title {
    font-size: 2rem;
    white-space: nowrap;
    text-transform: capitalize;
}

.certifications .certs {
    overflow-x: auto;
    width: 100%;
    /* background-color: red; */
    padding: 60px 0;
}

.certifications .certs table {
    /* background-color: blue; */
    width: 100%;
    /* table-layout: fixed; */
}

.certifications .certs table td {
    padding: 40px 20px;
    text-transform: capitalize;
    border-bottom: 1px solid gray;
}

.certifications .certs table tr td:nth-child(2) {
    font-size: 2rem;
    white-space: nowrap;
}

.certifications .certs table tr td:nth-child(1) {
    white-space: nowrap;
}

.certifications .certs table tr td:nth-child(3),
.certifications .certs table tr td:nth-child(4) {
    white-space: nowrap;
}

.certifications .certs table tr td.work-desc {
    font-size: 0.8rem;
    text-transform: none;
    white-space: normal;
    width: 40%;
}

.cert-images {
    padding: 200px 100px;
    /* margin-top: 300px; */
    padding-bottom: 100px;
}

.cert-images .cert-grid {
    display: flex;
    gap: 20px;
}

.hack-head {
    text-align: left;
    margin-bottom: 30px;
    margin-top: 200px;
}

.hack-head a {
    color: rgb(0, 161, 255);
    text-decoration: underline;
}

.hacker-cert,
.intern-cert {
    padding: 10px;
    box-shadow: 2px 5px 50px #84CAB9;
    border-radius: 5px;
    /* margin-bottom: 50px; */
}

.intern-cert img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.hacker-cert img {
    width: 100%;
    object-fit: cover;
}

.contact {
    margin-top: 100px;
    height: 100vh;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-style: italic;
}

.contact .tit-1 {
    font-size: 4rem;
}

.contact .tit-1 span:first-of-type {
    font-size: 2rem;
}


.contact .tit-2 {
    font-size: 8rem;
    text-transform: uppercase;
}

.contact .tit-3 {
    font-size: 3rem;
}

.contact .tit-3 span:first-of-type {
    text-transform: uppercase;
    font-weight: bolder;
}

.contact .tit-3 span:last-of-type {
    font-weight: normal;
    font-size: 2rem;
}

.contact .cont-btn {
    margin-top: 30px;
}

.footer {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-sites {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #000;
}

.social-sites div {
    background-color: #fff;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    border-radius: 50%;
}

.social-sites div:not(:first-child) {
    margin-left: 20px;
}

.copyright {
    font-size: 0.8rem;
    font-weight: 100;
    text-align: center;
    padding: 10px;
}

.footer .extra-links {
    font-size: 1.5rem;
}

.hire-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 2000;
    visibility: hidden;
}

@keyframes hireoverlayanimenter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes hireoverlayanimexit {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.close {
    position: absolute;
    top: 80px;
    right: 80px;
    cursor: pointer;
}

.hire-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    max-width: 600px;
    /*background-color: coral;*/
}

.hire-form {
    /*background-color: lightblue;*/
    width: 80%;
    margin: 20px auto;
}

.hire-form input {
    border: 1px solid white;
    background: none;
    padding: 10px;
    width: 100%;
    outline: none;
    color: white;
    font-size: 1rem;
    margin: 10px;
    border-radius: 20px;
}

.hire-form button {
    color: white;
    border: 1px solid white;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 10px 30px;
    cursor: pointer;
}

.load {
    width: 20px;
    height: 20px;
    margin: 20px;
    border-radius: 50%;
    background-color: white;
    animation: loadanim1 0.5s ease-in-out infinite alternate;
    position: relative;
}

.scroll-headline {
    white-space: nowrap;
}

@keyframes loadanim1 {
    from {
        left: -50px;
    }

    to {
        left: 50px;
    }
}

@media screen and (max-width:900px) {
    .designation {
        padding-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        /* height: 100%; */
    }

    .designation .head-1 {
        font-size: 5rem;
    }

    .designation .head-2 {
        font-size: 5rem;
    }

    .designation .head-3 {
        font-size: 2rem;
    }

    .designation .head-4 {
        font-size: 1rem;
    }

    .nav-overlay .nav-links .nav-item {
        font-size: 5rem;
    }

    .about {
        flex-direction: column;
        justify-content: center;
        gap: 100px;
        align-items: center;
        padding: 20px;
    }

    .about .content {
        width: 90%;
    }

    .projects .active-text {
        font-size: 5rem;
    }

    .projects {
        padding: 0;
    }

    .skills {
        padding: 150px 80px;
    }

    .interests .active-text-1 {
        font-size: 2rem;
    }

    .interests .active-text-2 {
        font-size: 5rem;
    }

    .contact .tit-1 {
        font-size: 2rem;
    }

    .contact .tit-1 span:first-of-type {
        font-size: 1rem;
    }


    .contact .tit-2 {
        font-size: 5rem;
        text-transform: uppercase;
    }

    .contact .tit-3 {
        font-size: 2.5rem;
    }

    .contact .tit-3 span:last-of-type {
        font-weight: normal;
        font-size: 1rem;
    }

    .cert-images {
        padding: 200px 50px;
    }

    .cert-images .cert-grid {
        flex-direction: column;
    }

    .certifications {
        min-height: 60vh;
        padding: 150px 50px;
    }

    .certifications .certs table tr td:nth-child(2) {
        font-size: 1.5rem;
    }
}

@media screen and (max-width:550px) {
    .designation .head-1 {
        font-size: 3rem;
    }

    .designation .head-2 {
        font-size: 3rem;
    }

    .designation .head-3 {
        font-size: 1rem;
    }

    .designation .head-4 {
        font-size: 1rem;
    }

    .nav-overlay .nav-links .nav-item {
        font-size: 3rem;
    }

    .projects .active-text {
        font-size: 3rem;
    }

    .projects .project-list .project .proj-img {
        height: 300px;
    }

    .projects .project-list .project .title {
        font-size: 2rem;
    }

    .projects .project-list .proj {
        height: 70vh;
    }

    .skills {
        padding: 100px 40px;
    }

    .interests .active-text-1 {
        font-size: 1rem;
    }

    .interests .active-text-2 {
        font-size: 3rem;
    }

    .interests .hobby-list .hobby img {
        height: 200px;
    }

    .interests .hobby-list .hobby .intname {
        font-size: 1rem;
    }

    .contact .tit-1 {
        font-size: 2rem;
    }

    .contact .tit-1 span:first-of-type {
        font-size: 1rem;
    }


    .contact .tit-2 {
        font-size: 3rem;
        text-transform: uppercase;
    }

    .contact .tit-3 {
        font-size: 1.5rem;
    }

    .contact .tit-3 span:last-of-type {
        font-weight: normal;
        font-size: 1rem;
    }

    .intern-cert img {
        height: 200px;
    }

    /* .hacker-cert img {
        height: 200px;
        object-fit: contain;
    } */
    .certifications {
        min-height: 40vh;
        padding: 150px 20px;
    }

    .certifications .certs table tr td:nth-child(2) {
        font-size: 1.2rem;
    }

    .certifications .title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width:400px) {
    .projects .project-list .project .proj-img {
        height: 200px;
    }

    .projects .project-list .proj {
        height: 50vh;
    }

    .interests .active-text-2 {
        font-size: 2rem;
    }
}