@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap");

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* End of Reset.css*/

* {
    box-sizing: border-box;
}

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

body {
    --primary-color: #4FC6CE;
    --accent-01: #DBDBDB;
    --accent-02: #98B1BA;
    --accent-03: #26333A;
    --accent-04: #1A2328;

    font-family: "Poppins", sans-serif;
    background-color: var(--accent-04);
    color: var(--accent-01);
    align-items: center;
    justify-content: center;
    height: 100vh;
}

body.light {
    --primary-color: #4FC6CE;
    --accent-01: #1D3A41;
    --accent-02: #225B60;
    --accent-03: #FFFFFF;
    --accent-04: #D5F3F9;
}

.theme {
    margin-bottom: 12px;
    cursor: pointer;
}

.theme ion-icon {
    margin-bottom: 0 !important;
}

input,
textarea,
button {
    display: block;
    border: 1px solid var(--accent-02);
    outline: none;
    font-family: inherit;
    font-size: inherit;
    width: 100%;
    padding: 12px;
    background-color: transparent;
    color: inherit;
    font-weight: inherit;
    resize: none;
    transition: all 0.3s ease;
    border-radius: 8px;
}

button {
    border: none;
    background-color: var(--primary-color);
    color: var(--accent-01);
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

button ion-icon {
    font-size: 24px;
    margin-left: 8px;
}

.form-control {
    position: relative;
    margin-top: 16px;
}

.form-control label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: var(--accent-02);
    pointer-events: none;
    background-color: var(--accent-03);
    padding-right: 4px;
}

textarea:focus+label,
textarea:valid+label,
input:focus+label,
input:valid+label {
    top: 0;
    left: 0;
    font-size: 12px;
    color: var(--accent-01);
}

input:focus,
textarea:focus {
    border-color: var(--accent-01);
}

.divider {
    height: 1px;
    width: 100%;
    margin: 16px 0;
    background: linear-gradient(90deg, var(--accent-02) 10%, transparent 85%);
}

.container {
    display: grid;
    gap: 12px;
    max-width: 1300px;
    padding: 50px;
    margin: 0 auto;
    align-items: start;
}

.box {
    background-color: var(--accent-03);
    border-radius: 25px;
}

.navbar {
    position: sticky;
    top: 50px;
    z-index: 5;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--accent-02);
    text-align: center;
}

.navbar .item {
    padding: 25px 2px;
}


.navbar ion-icon {
    font-size: 32px;
    margin: auto;
    margin-bottom: 12px;
}

.navbar .active,
.navbar .item:hover {
    color: var(--primary-color);
}

.colored {
    color: var(--primary-color);
}

/* Profile */

.profile {
    text-align: center;
    font-size: 20px;
    overflow: hidden;
    position: relative;
}

/* @property --deg {
    syntax: '<angle>';
    inherits: true;
    initial-value: 0deg;
}

.profile::before,
.profile::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: -2;
    padding: 2px;
    background: conic-gradient(from var(--deg) at center,
            #00c3ff,
            #4d0199,
            #6300c6,
            #00c3ff);
    animation: autoRotate 2s linear infinite;
}

@keyframes autoRotate {
    to {
        --deg: 360deg;
    }
} */

.profile::after {
    z-index: -1;
    filter: blur(10px);
    top: 0;
    left: 0;
}

.profile .header {
    width: 100%;
    border-radius: 25px 25px 0 0;
    clip-path: polygon(100% 0, 100% 80%, 80% 100%, 20% 100%, 0 80%, 0 0);
    filter: blur(7.5px);
}

.profile .img {
    width: 140px;
    position: relative;
    margin: -60px auto 0;
    border: var(--accent-04) 8px solid;
    border-radius: 50%;
}

.profile p {
    margin-top: 16px;
    margin-bottom: 32px;
    height: 24px;
}

.profile ul {
    text-align: center;
    margin-bottom: 32px;
}

.profile ul ion-icon {
    padding: 10px;
    border-radius: 10px;
    background-color: var(--accent-04);
}

.profile li {
    display: inline-block;
}

.profile li a {
    display: inline-block;
}

/* Content */
.content {
    padding: 24px;
    font-weight: 300;
}

.content h2 {
    font-size: 2em;
}

.content p {
    line-height: 2;
}

.content .wrapper {
    overflow: auto;
    max-height: calc(100vh - 150px);
    padding-right: 22px;
    scroll-behavior: smooth;
}

.content ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.content ::-webkit-scrollbar-track {
    background: var(--accent-04);
}

.content ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

.achivements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--accent-04);
    padding: 20px 30px;
    gap: 10px;
    border-radius: 10px;
}

.achivements div {
    text-align: center;
}

.achivements h3 {
    font-size: 1.8em;
    font-weight: bold;
}

.achivements p {
    color: var(--accent-02);
}

.achivements ion-icon {
    color: var(--primary-color);
    font-size: .9em;
}

/* Tech Stach */

.tech-stack {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    color: var(--accent-02);
}

.tech-stack>div {
    background-color: var(--accent-04);
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    border: var(--accent-04) 3px solid;
    transition: .5s;
}

.tech-stack>div:hover {
    border-color: var(--primary-color);
}

/* Experiences */

.experience {
    margin: 32px 0;
}

.experience .experience-description {
    padding-left: 20px;
    border-left: var(--accent-02) 2px solid;
    margin-left: 16px;
    color: var(--accent-02);
    line-height: 2;
}

.experience .experience-description li {
    list-style-type: circle;
    margin-left: 12px;
}

.experience h2 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 12px;
}

.experience h4 {
    padding-left: 24px;
    color: var(--primary-color);
    margin: 10px;
    position: relative;
    font-size: 14px;
    font-weight: bold;
}

.experience h4 span {
    font-size: 12px;
    color: var(--accent-02);
    font-weight: 300;
}

.experience h4::before {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    left: 0;
    top: 2px
}

#resume .download-resume {
    font-size: 14px;
    margin-left: 16px;
}

#resume .download-resume:hover {
    color: var(--primary-color);
}

#resume ion-icon {
    transform: translateY(2px);
}

section {
    margin: 36px auto;
}

/* Desktop */

@media screen and (width >=1024px) {
    .container {
        grid-template-columns: 120px 430px 1fr;
    }
}

/* Tablet */

@media screen and (width >=768px) and (width <=1023px) {
    .container {
        grid-template-columns: 85px 1fr;
        max-width: 650px;
    }

    /* .navbar {
        display: -ms-inline-grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }

    .nav .divider,
    nav p {
        display: none;
    } */
}

/* Mobile */

@media screen and (width <=769px) {
    .container {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 12px;
    }

    .theme {
        margin-bottom: 0;
        margin-right: 12px;
        box-shadow: 0 0 16px #000;
    }

    .navbar ion-icon {
        margin-bottom: 0;
    }

    .navbar {
        display: inline-grid;
        grid-template-columns: 85px 1fr;
        top: 12px;
    }

    .nav {
        display: inline-grid;
        grid-template-columns: 1fr 1fr 1fr;
        box-shadow: 0 0 16px #000;
    }

    .nav .divider,
    nav p {
        display: none;
    }

    .profile .header {
        width: 100%;
    }

    .tech-stack {
        grid-template-columns: 1fr 1fr;
    }

    .achivements {
        grid-template-columns: 1fr;
    }

    .content .wrapper {
        overflow: auto;
        max-height: 100%;
        padding-right: 0;
    }
}