@import url('https://fonts.googleapis.com/css2?family=Fira+Sans: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&display=swap');

:root{
    --black-color: #141414;
    --white-color: #F0F0F0;
    --blue-color: #14DFA1;

    --blue-transparent-color: rgba(20, 223, 161, 0.5);

    --large-large-text: 72px;
    --large-text: 48px;
    --medium-large-text: 30px;
    --medium-text: 26px;
    --medium-small-text: 20px;
    --small-text: 16px;

    --font-fira-sans: "Fira Sans", sans-serif;
}

.font-medium{
    font-weight: 500;
}
.font-regular{
    font-weight: 400;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    margin: 0;
    padding: 0;
    font-family: var(--font-fira-sans);
    font-weight: 400;
    font-style: normal;
    background-color: var(--white-color);
    scroll-behavior: smooth;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23141414' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    transition: all 0.2s ease;
}
body::-webkit-scrollbar{
    width: 5px;
}
body::-webkit-scrollbar-thumb{
    background: var(--blue-color);
}

body::-webkit-scrollbar-track{
    background: var(--white-color);
}

::-moz-selection {
    background: var(--blue-color);
}
  
::selection {
    background: var(--blue-color);
}


.main-page{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 160px;
}
.first-page{
    padding-top: 0;
    height: 58vh;

    scroll-snap-align: center;
	scroll-snap-stop: always;
	transition: all 0.5s ease;
}
.second-page{
    padding-top: 30px;
}
/* ======== FIRST SECTION ======== */
.top-side{
    width: 100%;
    height: 100%;
    background-color: var(--black-color);
    background-image: url("data:image/svg+xml,%3Csvg width='3' height='3' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f0f0f0' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");

    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    
    scroll-snap-align: center;
	scroll-snap-stop: always;
	transition: all 0.5s ease;
}
.main-dot{
    width: 220px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
.single-dot{
    width: 20px;
    height: 20px;
    background-color: var(--blue-color);
}

/* ======== GENERAL STYLE ======== */
.main-text{
    font-size: var(--large-large-text);
    font-weight: 500;
    letter-spacing: 30px;
    color: var(--white-color);
    padding-top: 66px;
}
.main-text a{
    text-decoration: none;
    color: var(--white-color);
}
#main-text-nav{
    font-size: var(--large-text) !important;
    padding: 0;
    animation: fadeIn 0.4s ease-in;
    cursor: pointer;
}
@keyframes fadeIn{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.bottom-side{
    padding-top: 40px;
    width: 45%;

    height: 25%;
}
.page-title{
    width: calc(100% - 15px);
    height: 60px;
    background-color: var(--black-color);

    padding-left: 15px;
    margin-bottom: 35px;

    display: flex;
    align-items: center;

    color: var(--blue-color);
    font-weight: 500;
    font-size: var(--medium-text);

    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.page-subtitle{
    display: flex;
    align-items: center;
    padding-left: 15px;
    border-left: 3px var(--blue-color) solid;
    margin-top: 10px;
    margin-bottom: 10px;

    font-size: var(--medium-small-text);
    font-weight: 700;
}
.page-text{
    font-size: var(--small-text);
    line-height: 24px;

    color: var(--black-color);
    text-align: justify;
}
.page-text span{
    /* color: var(--blue-color); */
    font-weight: 800;
}
.page-text a{
    margin-top: 10px;
    color: var(--black-color);
}
.page-text a:hover{
    color: var(--blue-color);
}
.page-container{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* ======== TECH STACK SECTION ======== */
.outside-circle{
    width: 100px;
    height: 100px;
    border-radius: 100px;
    position: relative;

    transition: all 0.3s ease;
}
.inside-circle{
    width: 70px;
    height: 70px;
    border-radius: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--blue-color);
    transform: translate(-50%, -50%);
}

/* ======== PROJECTS SECTION ======== */
.project-section{
    display: flex;
    flex-direction: column;
    gap: 55px;
}
.project-techstack{
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.techstack-item{
    position: relative;
    font-size: 13.5px;
    border: 1px solid var(--black-color);
    padding: 4px 10px;
    background-color: transparent;

    overflow: hidden;
}

.techstack-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2314dfa1' fill-opacity='0.7' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.techstack-item:hover::before {
    opacity: 1;
}

/* ======== CONTACT ME SECTION ======== */
.contact-me{
    /* margin-top: 140px; */
    margin-bottom: 70px;
}
.contact-selector{
    display: flex;
    width: 100%;
	transition: all 0.25s ease;
}
.selector-type{
    background-color: var(--blue-color);
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 50px;
    width:  100%;
    height: 55px;


    border-top-left-radius: 50px;
    border-top-right-radius: 30px;
    --smooth-corner: 60%;

    color: var(--black-color);
    font-size: var(--medium-text);
    font-weight: 500;

	transition: all 0.25s ease;
}
.selector-active{
    box-shadow: inset 0 -3px 15px 0 #f0f0f0;
}
.contact-title{
    font-size: var(--large-text);
    font-weight: 500;
    background-color: var(--black-color);
    color: var(--white-color);
    margin-bottom: 48px;
}
.contact-form{
    width: calc(100% - 100px);
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 50px;
    vertical-align: middle;

    /* transition: opacity 0.5s ease, display 0.5s ease; */
}
/* .contact-form *{
	transition: all 0.5s ease;
} */
.contact-form span{
    font-size: calc(var(--medium-large-text) - 2px);
    font-weight: 600;
    vertical-align: middle;

    display: inline-block;
    margin-top: 20px;
}
.contact-form input{
    border: none;
    border-bottom: 2px var(--white-color) solid;
    background-color: transparent;
    font-size: var(--small-text);
    color: var(--white-color);
    padding: 5px 5px;
    vertical-align: middle;

    display: inline-block;
    margin-top: 20px;
}
.contact-form input::placeholder{
    color: rgba(240, 240, 240, 0.5);
}
.contact-form input#name{
    min-width: 200px;
    max-width: 270px;
}
.contact-form input#email{
    min-width: 250px;
    max-width: 340px;
}
.contact-form input#number{
    width: 180px;
}
.contact-form textarea:focus, .contact-form input:focus{
    outline: none;
}
.contact-form textarea{
    resize: none;

    margin: 20px 0;
    width: calc(100% - 25px);

    border: 2px var(--white-color) solid;
    border-radius: 4px;
    background: none;
    padding: 10px;
    min-height: 120px;

    font-size: var(--medium-small-text);
    color: var(--white-color);
    font-family: var(--font-fira-sans);
}
#comment-form textarea{
    height: 40%;
}
.contact-form textarea::placeholder{
    color: rgba(240, 240, 240, 0.5);
}
.submit-form{
    width: 100%;
    display: flex;
    justify-content: end;
}
.submit-button{
    background: none;
    border: none;
    width: 130px;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    transition: all 0.3s ease;
    position: relative;
}
.submit-button div{
    text-align: center;
    font-size: calc(var(--medium-small-text) + 2px);
    font-weight: 400;

    transition: all 0.3s ease;
    display: inline-block;
}
.submit-button div#send{
    width: 80px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px var(--white-color) solid;
    color: var(--white-color);
}
.submit-form div#icon{
    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px var(--white-color) solid;
    border-right: 0;
    color: var(--black-color);
    background-color: var(--blue-color);
}
.submit-button:hover #send {
    transform: translateX(-54%);
}
.submit-button:hover #icon {
    transform: translateX(186%);
    border: 1px var(--white-color) solid;
    border-left: 0;
}

.contact-list-selector{
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 35px;
}
.contact-item{
    color: var(--black-color);
    font-size: var(--medium-small-text);
}
.contact-item a{
    color: var(--black-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.contact-item a:hover{
    color: var(--blue-color);
    border-bottom: 2px solid var(--blue-color);
}

/* ======== MESSAGES SECTION ======== */
.yours-messages{
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 30px;
    border-radius: 30px 30px 0 0;
    margin-bottom: 70px;

    display: flex;
    flex-direction: column;
    gap: 30px;
}
.message{
    padding: 15px;
    border: 3px var(--white-color) solid;
    border-radius: 4px 4px 30px;
}
.msg-up{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.msg-name{
    font-size: var(--medium-text);
    color: var(--blue-color);
    margin-bottom: 10px;
}
.msg-date{
    font-weight: 900;
    font-size: var(--small-text);
}
.msg-text{
    font-size: var(--small-text);
    font-weight: 300;
}


/* ======== NAVBAR SECTION ======== */
.white-shadow-effect {
    box-shadow: 0px 4px 30px -10px rgba(240, 240, 240, 0.25);
}
.black-shadow-effect {
    box-shadow: 0px 4px 20px 5px rgba(20, 20, 20, 0.5);
}
.left-navbar{
    z-index: 1;

    position: fixed;
    left: 0;
    top: 0;

    width: 100%;
    height: 80px;

    display: flex;
    justify-content: center;
    
    padding-left: 27px;
    padding-right: 27px;

    /* background: linear-gradient(to bottom, #141414 0%, #141414 60%, #f0f0f0 100%); */
    background-color: #141414;
}
.nav-title{
    font-size: var(--medium-large-text);
    font-weight: 900;
    color: var(--blue-color);
    letter-spacing: 11px;
    padding-top: 26px;
    height: 80px;
    display: flex;
    align-items: center;
}
.nav-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 33px;
    padding: 33px 0;
    width: 50%;

    transition: width 0.3s ease-in;
    z-index: 10;
}
.nav-item{
    z-index: 10;
    /* width: 15%; */
    padding: 0 15px;
    height: 27px;
    
    border-bottom: 3px var(--blue-color) solid;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--white-color);
    font-size: var(--medium-small-text);
    font-weight: 300;
    cursor: pointer;
}
.nav-item:hover{
    border-bottom: 1.5px var(--blue-color) solid;
}
.nav-item a{
    font-weight: 200;
    font-size: var(--small-text);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white-color);
}


/* ======== FOOTER SECTION ======== */
.footer{
    width: 100%;
    height: 100px;
    background-color: var(--black-color);
    color: var(--white-color);

    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-item{
    text-align: center;
}
.footer-item a{
    text-align: center;
    color: var(--white-color);
}

/* =========== IMAGE TECH STACK =========== */
#html{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/HTML5_Badge.svg/512px-HTML5_Badge.svg.png?20110131171049');
    background-size: calc(100% - 5px);
    background-color: #e34f26;
    background-repeat: no-repeat;
    background-position: center calc(50% + 3px);
}
#css{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/CSS3_logo.svg/512px-CSS3_logo.svg.png?20210705212817');
    background-size: calc(100% - 5px);
    background-color: #214ce5;
    background-repeat: no-repeat;
    background-position: center calc(50% + 3px);
}
#js{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/Unofficial_JavaScript_logo_2.svg/512px-Unofficial_JavaScript_logo_2.svg.png');
    background-size: calc(100% - 15px);
    background-color: #f7e018;
    background-repeat: no-repeat;
    background-position: center calc(50% + 0px);
}
#php{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/2/27/PHP-logo.svg/711px-PHP-logo.svg.png');
    background-size: calc(100% + 15px);
    background-color: #777bb3;
    background-repeat: no-repeat;
    background-position: center calc(50% + 0px);
}
#ts{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Typescript_logo_2020.svg/512px-Typescript_logo_2020.svg.png');
    background-size: calc(100% - 15px);
    background-color: #2d79c7;
    background-repeat: no-repeat;
    background-position: center calc(50% + 0px);
}
#bs{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Bootstrap_logo.svg/512px-Bootstrap_logo.svg.png');
    background-size: calc(100% + 8px);
    background-color: #7609f6;
    background-repeat: no-repeat;
    background-position: center calc(50% + 0px);
}
#ng{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Angular_full_color_logo.svg/1200px-Angular_full_color_logo.svg.png');
    background-size: calc(100% + 7px);
    background-color: #de002d;
    background-repeat: no-repeat;
    background-position: center calc(50% + 0px);
}
#cpp{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/640px-ISO_C%2B%2B_Logo.svg.png');
    background-size: calc(100% - 2px);
    background-color: #659bd3;
    background-repeat: no-repeat;
    background-position: center calc(50% + 0px);
}
#py{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Python-logo-notext.svg/1280px-Python-logo-notext.svg.png');
    background-size: calc(100% - 5px);
    background-color: rgb(105, 151, 189);
    background-repeat: no-repeat;
    background-position: center calc(50% + 3px);
}
#git{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/c2/GitHub_Invertocat_Logo.svg/300px-GitHub_Invertocat_Logo.svg.png');
    background-size: calc(100% + 1px);
    background-color: rgb(51, 51, 51);
    background-repeat: no-repeat;
    background-position: center calc(50% - 1px);
}
#frb{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Firebase_icon.svg/120px-Firebase_icon.svg.png');
    background-size: calc(100% + 1px);
    background-color: #f58304;
    background-repeat: no-repeat;
    background-position: center calc(50% - 1px);
}
#fg{
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Figma-logo.svg/400px-Figma-logo.svg.png');
    background-size: calc(100% - 30px);
    background-color: #b6b6b6;
    background-repeat: no-repeat;
    background-position: center calc(50% - 1px);
}
/* .gradient-circle{
    background: conic-gradient(from 180deg at 50% 50%, #f0f0f0 0% 1%, #141414 1% 75%, #f0f0f0 75% 100%);
}
function setSkillGradient(element, percent) {
    element.style.background = `conic-gradient(from 180deg at 50% 50%, #f0f0f0 0% 0%, #141414 0% ${percent-1}%, #f0f0f0 ${percent+3}% 100%)`;
} */


/* The switch - the box around the slider */
.slider-container {
    position: sticky;
    top: 25px;
    left: 88%;
    width: 10%;

    display: flex;
    background-color: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    z-index: 5;
}  
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white-color);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
  
.slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 0px;
    bottom: 4px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    box-shadow: 0 0px 15px var(--black-color);
    background: white url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23121212"%3E%3Cpath d="M480-120q-151 0-255.5-104.5T120-480q0-138 90-239.5T440-838q13-2 23 3.5t16 14.5q6 9 6.5 21t-7.5 23q-17 26-25.5 55t-8.5 61q0 90 63 153t153 63q31 0 61.5-9t54.5-25q11-7 22.5-6.5T819-479q10 5 15.5 15t3.5 24q-14 138-117.5 229T480-120Zm0-80q88 0 158-48.5T740-375q-20 5-40 8t-40 3q-123 0-209.5-86.5T364-660q0-20 3-40t8-40q-78 32-126.5 102T200-480q0 116 82 198t198 82Zm-10-270Z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}
  
input:checked + .slider {
    background-color: var(--blue-color);
}
  
input:focus + .slider {
    box-shadow: 0 0 1px var(--blue-color);
}
  
input:checked + .slider:before {
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);
    background: white url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="%23121212"%3E%3Cpath d="M480-360q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0 80q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM200-440H40v-80h160v80Zm720 0H760v-80h160v80ZM440-760v-160h80v160h-80Zm0 720v-160h80v160h-80ZM256-650l-101-97 57-59 96 100-52 56Zm492 496-97-101 53-55 101 97-57 59Zm-98-550 97-101 59 57-100 96-56-52ZM154-212l101-97 55 53-97 101-59-57Zm326-268Z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}

.slider.round {
    border-radius: 34px;
}  
.slider.round:before {
    border-radius: 50%;
}
  