:root {
    --mainColor: #3ca36e;
}
body {
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    padding: 0;
    margin: 0;
    color: white;
    font-size: 20px;
    margin: 8px;
}
nav {
    position:fixed;
    top: 0;
    left: 0;
    width: calc(100% - 20px);
    height: 80px;
    padding: 10px;
    background-color: black;
    color: white;
    border-bottom: 1px solid rgb(72, 72, 72);
    z-index: 100;
}
nav span {
    color: var(--mainColor);
    font-size: 39px;
    position: absolute;
    font-weight: bold;
    position: absolute;
    margin-top: 0%;
    left: 5%;
}
nav > div {
    position: relative;
} 
nav div div {
    position: absolute;
    display: inline-block;
    left: 65%;
    margin-top: 20px;
}
a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin: 8px;
}
nav div div a::before {
    content: "";
    position: absolute;
    top: 100%;
    border-bottom: 3px solid #8fefbd;
    width: 0%;
    transition: 0.3s 0s width linear;
    
}
a:hover::before {
    width: 100%;
}
.job-title {
    font-size: 100px;    
    background: linear-gradient(35deg 
    , var(--mainColor,#3ca36e) 20% 
    , var(--mainColor,#3ca36e) 45%
    ,white 99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    position: absolute;
    top: 20%;
    left: 2.5%;
}
.description {
    position: absolute;
    top: 50%;
    left: 3%;
}
.description div {
    margin: 1.5% 0px;
    width: 94%;
    white-space: normal;
}
button {
    position: absolute;
    top: 120%;
    left: 1%;
    padding: 20px;
    font-weight: bold;
    font-size: 20px;
    background-color: var(--mainColor,#3ca36e);
    color: white;
    border-radius: 16px;
    cursor: pointer;
}
#Profile-Pic img { 
    position: absolute;
    z-index: -1;
    top: 21%;
    left: 66%;
    width: 28%;
    height: 50%;
    border-radius: 50%;
    border: 2px solid var(--mainColor, #3ca36e);
    box-shadow: 39px -184px 130px 74px #3ca36e32,
                0px 0px 100px 10px #3ca36e32;
    animation: bubble-animation 0.8s 0s infinite linear alternate;
}
@keyframes bubble-animation {
    100% {
        transform: translateY(-10px);
    }
}
#skills {
    top: 100%;
}
.skill {
    position: absolute;
    top: 110%;
    left: 5%;
    display: flex;
    justify-content: space-evenly;
}
.skill > div {
    height: 10%;
    padding: 20px;
    background-color: rgba(49, 47, 47, 0.123);
    border-radius: 16px;
    width: calc(80%/3);
    height: fit-content;
    transition-property: transform,boxshadow;
    transition-duration: 2s,2s;
    transition-delay: 0s,0s;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    height: 200px;
}

.skill > div:hover {
    transform: translateY(-50px);
    box-shadow: 0px 1px 5px 1px #3ca36e;
}
.skill > div:hover::after {
    opacity: 100%;
}
.skill  div img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    display: block;
}
.skill>div .skill-title, .skill>div .skill-title div{
    display: flex;
    flex-flow: row wrap;
}
.skill-title {
    display: block;
    font-weight: bold;
    line-height: 1.6;
}
.skill-title div {
    font-weight: 100;
    color: rgb(155, 154, 154);
}
footer {
    background-color: black;
    position: absolute;
    top: 150%;
    left: 0%;
    width: 100%;
    padding-top: 5%;
    border-top: 2px solid white;
}
footer div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px;
}
footer .contact img {
    width: 50px;
    height: 50px;
    background-color: white;
    transition-property: transform,background-color;
    transition-duration: 0.5s,0.5s;
    transition-delay: 0s,0s;
}
footer .contact img:hover {
    transform: translateY(-20px);
    background-color: #3ca36e;
}
@media(max-width:820px) {
    #Profile-Pic img {
        width: 50%;
        left: 80%;
    }
    .skill>div {
        width: fit-content;;
        
    }
    .skill {
        left: 2%;
        column-gap: 30px;
    }
    footer {
        width: 130%;
    }
}
@media (max-width:768px) {
    #Profile-Pic img {
        width: 50%;
        left: 86%;
    }
    .skill>div {
        width: 250px;
        
    }
    
    .skill {
        left: 10%;
        
    }
    footer {
        width: 136%;
    }
}

@media (max-width:412px) {
    body,html {
        font-size: 10px;
        overflow-y: auto;
    }
    nav {
        width: 100%;
        padding-bottom: 0;
    }
    nav a {
        display: none;
    }
    #Profile-Pic img {
        width: 60%;
        height: 28%;
        top: 43%;
        left: 18%;
    }
    #job-break {
        display: none;
    }
    .job-title{
        left: 6%;
        font-size: 40px;  
        white-space: nowrap;
    }
    .description {
        top: 29%;
        left: -100%;
        width: fit-content;
    }
    .description div,button {
        line-height: 0.5;
        margin-left: 130%;
        margin-bottom: -2%;
        white-space: nowrap;
        font-size: 12px;
        text-align: center;
    }
    button {
        top: 150%;
        left: 30%;
    }
    #skills,.skill {
        top: 139%;
    }
    #skills {    
        top: 74%;
        left: 0;
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 2px;
    }
   
    .skill {
        left: 0%;
        top: 80%;
        display: grid;
        grid-template-columns: repeat(2,40%);
        grid-template-rows: repeat(2,auto);
        gap: 65px 20px;
        width: 100%;
    }
    .skill>div {
        grid-column: span 1;
        width: fit-content;
        word-break: break-word;
        transform: scale(1.2,1.2);
    }
    .skill>div:hover {
        transform: translateY(-20px) scale(1.2,1.2);
        box-shadow: 0px 1px 5px 1px #3ca36e;
    }
    .skill > div:nth-last-child(1) {
        margin-bottom: 305px;
    }
    footer {
        position: fixed;
        top: 654px;
        left: 0;
        width: 100%;
    }
    
}
@media (max-width:360px) {
    .job-title {
        left: 4%;
        font-size: 37px;
    }
    #Profile-Pic img {
        top: 40%;
        left: 30%;
    }
    .description div, button {
        line-height: 0.5;
        margin-left: 127%;
        margin-right: auto;
        margin-bottom: -2%;
        white-space: nowrap;
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .skill {
        left: 5%;
        top: 87%;
        display: grid;
        grid-template-columns: repeat(2,82%);
        grid-template-rows: repeat(3,auto);
        gap: 70px 36px;
        width: 50%;
    }
    #Profile-Pic img {
        top: 45%;
        left: 21%;
    }
    .description {
        left: -119%;
    }
    
    footer {
        position: fixed;
        top: 80%;
        padding: 0;
        width: 100%;
        margin-bottom: 100%;
    }
    footer div {
        margin: 33px;
    }
}
@media (max-width: 540px ) and (min-width:413px) {
    nav div div {
        left: 60%;
    }
    footer {
        width: 182%;
    }
}

  










