html {
    scroll-behavior: smooth;
}

body {
    background-color: #061320;
    margin: 0;
    padding: 0%;
    font-family: 'Roboto', sans-serif;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: #36FBB1;
    font-family: 'Inconsolata', monospace;
}

.part {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 100vh;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.title h1 {
    display: inline-block;
    font-size: 5rem;
    color: white;
    margin: 0%;
}

.wrap {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    top: 10vh;
    width: 10%;
    height: 90vh;
    z-index: 1;
}

.right {
    color: #36FBB1;
    right: 0;
}

.right h2 {
    position: relative;
    bottom: 110px;
    transform: rotate(90deg);
}

.right h2 a {
    transition: 0.1s font-size;
    margin-right: 25px;
}

.right h2 a:hover {
    font-size: 25px;
}

section hr {
    height: 25%;
    margin: 0;
    border-color: #E7E9E9;
}

.socials img {
    height: 30px;
    width: 30px;
    transition: 0.5s linear;
    border-radius: 50%;
}

.left img {
    padding: 30% 0;
}

.socials a:hover img {
    transform: rotate(360deg);
}

button {
    position: relative;
    display: block;
    min-width: 180px;
    height: 40px;
    margin: 0 auto;
    color: #36FBB1;
    border: 1px solid #36FBB1;
    border-radius: 50px;
    background-color: #36FBB125;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 1.3rem;
    font-family: 'Inconsolata', monospace;
    cursor: pointer;
    transition: all 0.2s linear;
    box-shadow: 0 3px 2px #36FBB1;
}

button:hover {
    box-shadow: 0 2px 2px #36FBB1;
    top: 1px;
}

button:active {
    box-shadow: 0 0 #36FBB1;
    top: 3px;
}

/*--------------------------------------Navigation Bar-----------------------------------------*/
nav {
    width: 100%;
    min-height: 10vh;
    position: fixed;
    top: 0%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    background-color: #061320;
}

nav img {
    height: 45px;
    width: 45px;
    margin-left: 20px;
}

menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 30px;
    margin-right: 20px;
    overflow: hidden;
}

menu hr {
    position: relative;
    height: 2px;
    width: 35px;
    background-color: #36FBB1;
    border-color: #36FBB1;
    transform-origin: left;
    margin: 0;
}

.phoneMenu {
    position: fixed;
    top: -100vh;
    height: 100vh;
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #061320;
    z-index: 1;
}

.removePhoneMenu {
    animation: removePhoneMenu 0.5s linear 0s 1 forwards;
}

@keyframes removePhoneMenu {
    0% {
        top: 10vh;
    }

    100% {
        top: -100vh;
    }
}

.showPhoneMenu {
    animation: showPhoneMenu 0.5s linear 0s 1 forwards;
}

@keyframes showPhoneMenu {
    0% {
        top: -100vh;
    }

    100% {
        top: 10vh;
    }
}

.remove {
    animation: remove 0.3s linear 0s 1 forwards;
}

@keyframes remove {
    0% {
        left: 0px;
    }

    100% {
        left: 30px;
    }
}

.rotateDown {
    animation: rotateDown 0.3s linear 0s 1 forwards;
}

@keyframes rotateDown {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(45deg);
    }
}

.rotateUp {
    animation: rotateUp 0.3s linear 0s 1 forwards;
}

@keyframes rotateUp {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(-45deg);
    }
}

.revind2 {
    animation: revind2 0.3s linear 0s 1 forwards;
}

@keyframes revind2 {
    0% {
        left: 30px;
    }

    100% {
        left: 0px;
    }
}

.revind1 {
    animation: revind1 0.3s linear 0s 1 forwards;
}

@keyframes revind1 {
    0% {
        transform: rotateZ(45deg);
    }

    100% {
        transform: rotateZ(0deg);
    }
}

.revind3 {
    animation: revind3 0.3s linear 0s 1 forwards;
}

@keyframes revind3 {
    0% {
        transform: rotateZ(-45deg);
    }

    100% {
        transform: rotateZ(0deg);
    }
}

ul {
    width: 40%;
    display: flex;
    justify-content: space-evenly;
    padding: 0;
}

ul a {
    color: #D6E2DE;
    transition: 0.1s all;
}

ul a:hover {
    color: #36FBB1;
}

ul li {
    list-style: none;
    padding: 0 2%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*--------------------------------------------Home---------------------------------------------*/

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    width: 80%;
    margin: 0 auto;
    margin-top: 10vh;
}

.content * {
    margin: 0%;
    text-align: center;
}

.content div {
    min-width: 660px;
    min-height: 150px;
}

.content h3 {
    font-family: 'Inconsolata', monospace;
    color: #F14B4B;
    font-size: 1.5rem;
}

.content h1 {
    color: #E7E9E9;
    font-size: 7.5rem;
    visibility: hidden;
    animation: removeHide 0s ease-out 0.8s 1 forwards;
}

@keyframes removeHide {
    100% {
        visibility: visible;
    }
}

.content h2 {
    color: #BAC3CF;
    font-size: 2rem;
}

.content div::before {
    content: '';
    height: 150px;
    width: 660px;
    background: linear-gradient(to right, #F14B4B 50%, #00000000 50%);
    background-size: 1320px;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    animation: name 1.5s ease-out 0s 1 forwards;
}

@keyframes name {
    0% {
        background-position: -100%;
    }

    50%,
    70% {
        background-position: 0;
    }

    100% {
        background-position: 100%;
    }
}

.role {
    font-family: 'Inconsolata', monospace;
    color: #F14B4B;
    border-right: 3px solid #F14B4B;
}

.box {
    position: absolute;
    bottom: 0%;
    background-color: rgba(55 83 110 / 30%);
    box-shadow: 0 0 10px 0 rgba(31, 38, 135, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100px;
    width: 100px;
    z-index: -1;
}

.box1 {
    left: 7%;
    animation: bgAnimate 3.5s linear 0s infinite;
}

.box2 {
    left: 27%;
    animation: bgAnimate 3s linear 0s infinite;
}

.box3 {
    left: 47%;
    animation: bgAnimate 2.5s linear 0s infinite;
}

.box4 {
    left: 67%;
    animation: bgAnimate 3s linear 0s infinite;
}

.box5 {
    left: 87%;
    animation: bgAnimate 3.5s linear 0s infinite;
}

@keyframes bgAnimate {
    0% {
        opacity: 1;
        transform: rotate(0deg);
    }

    100% {
        opacity: 0;
        bottom: 100%;
        height: 20px;
        width: 20px;
        transform: rotate(360deg);
    }
}

/*-----------------------------------------About-------------------------------------------*/

.about .wrap {
    display: grid;
    grid-template-areas: 'heading pic' 'para pic' 'cta pic';

}

.about hr {
    margin: 0;
    width: 60%;
}

.heading {
    grid-area: heading;
    align-self: center;
    text-align: center;
}

.heading * {
    margin: 0%;
}

.heading h2 {
    font-size: 3rem;
    color: #E7E9E9;
}

.heading h3 {
    font-size: 1.3rem;
    color: #BAC3CF;
}

.aboutMe {
    grid-area: para;
    font-size: 1rem;
    width: auto;
    color: #BAC3CF;
    text-align: justify;
    padding: 10px;
}

.img {
    grid-area: pic;
    justify-self: center;
    width: 80%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(to right, #36FBB1, #a8ffde, #a8ffde, #36FBB1);
    transition: 0.5s all linear;
}

#mobile-dp {
    grid-area: pic;
    justify-self: center;
    width: 80%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(to right, #36FBB1, #a8ffde, #a8ffde, #36FBB1);
    transition: 0.5s all linear;
    display: none;
}

.img img {
    right: 0;
    bottom: 0;
    height: 100%;
    transition: 0.5s all linear;
}

.img:hover {
    filter: blur(0px) grayscale(0) drop-shadow(10px 10px 15px black);
}

.img:hover>img {
    transform: scale(1.1);
}

/*-----------------------------------------Skills-------------------------------------------*/

.skills .wrap {
    display: grid;
    grid-template-areas: 'text iteams'
        'interest iteams';
    align-items: center;
    padding: 0px 50px;
}

.skills hr {
    margin: 0;
    width: 80%;
}

.skills .wrap>p {
    grid-area: text;
    width: 80%;
    text-align: justify;
    color: #BAC3CF;
    font-size: 1.4rem;
    padding: 2%;
}

.interest {
    grid-area: interest;
    width: 80%;
    min-height: 17vh;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #F14B4B15;
    border: 1px solid #F14B4B;
    border-radius: 50px;
    color: #F14B4B;
    text-align: center;
}

.interest * {
    margin: 0;
}

.interest h3 {
    font-size: 2rem;
    line-height: 3.5rem;
}

.interest p {
    line-height: 1.8rem;
}

.skillIteams {
    grid-area: iteams;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    align-items: center;
    width: auto;
    margin: 0 auto;
}

.iteamCircle {
    background-color: #F14B4B;
    height: 80px;
    width: 80px;
    margin: 0 auto 5px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.iteamCircle img {
    transition: 0.5s all linear;
    height: 75%;
}

.iteamCircle:hover>img {
    transform: rotate(360deg);
    height: 60%;
}

.iteam p {
    margin: 0% auto;
    color: #E7E9E9;
    text-align: center;
}

.iteam1 {
    grid-column: 1;
    grid-row: 1;
}

.iteam2 {
    grid-column: 3;
    grid-row: 1;
}

.iteam3 {
    grid-column: 2;
    grid-row: 2;
}

.iteam4 {
    grid-column: 1;
    grid-row: 3;
}

.iteam5 {
    grid-column: 3;
    grid-row: 3;
}

/*-----------------------------------------Projects-------------------------------------------*/

.projects .wrap {
    flex-direction: column;
}

.projects hr {
    margin: 0;
    width: 70%;
}

.projectDetails {
    width: 95%;
    display: flex;
    margin: 20px 0;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
}

.projectDetails img {
    width: 60%;
}

.projectText {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    right: 5%;
}

.projectText h2 {
    font-size: 3rem;
    font-weight: 500;
    text-align: right;
    color: #BAC3CF;
    margin: 0 0 20px 0;
}

.details {
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    background: #03274A;
    box-shadow: 10px 10px 25px black;
    text-align: center;
    color: #BAC3CF;
    padding: 25px;
}

.details p {
    margin: 0;
    padding: 0 10px;
}

.details span {
    color: #e7e9e9;
}

.projectText>p span {
    color: #F14B4B;
    font-family: 'Inconsolata', monospace;
    padding-left: 20px;
}

.platforms img {
    height: 2rem;
}

.platforms img:hover {
    position: relative;
    top: 2px;
}

.platforms a {
    display: inline-block;
}

/*-----------------------------------------Contact-------------------------------------------*/

.contact {
    height: auto;
}

.contact hr {
    margin: 0%;
    width: 72%;
}

.contact .wrap {
    flex-direction: column;
}

.contact .wrap>* {
    padding: 30px 0;
}

.contact h3 {
    width: 65%;
    margin: 0%;
    text-align: center;
    color: #BAC3CF;
    font-weight: 500;
    z-index: -1;
}

.con-form {
    width: auto;
    padding: 20px;
    margin: 20px;
    background-color: #6c757d;
    border: 2px solid white;
    border-radius: 10px;
}

label {
    color: white;
    text-align: left;
}

.input-field {
    width: 95%;
    height: 6vh;
    border: 2px solid #36FBB1;
    border-radius: 5px;
    font-size: 1.2rem;
    background-color: #BAC3CF;
    color: black;
}

#message {
    height: 12vh;
}

.h-captcha {
    text-align: center;
    margin: 0 auto;
}

#social-container {
    text-align: center;
}

.social-img {
    width: 7%;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inconsolata', monospace;
    color: white;
    height: 10vh;
    font-size: 2rem;
}

footer span {
    border-right: 1px solid white;
}