@import url("https://fonts.googleapis.com/css?family=Comfortaa");
@import url("https://fonts.googleapis.com/css?family=Audiowide");

:root {
    --bg: #f8f8f8;
    --text-color: #1c1c1c;
    --header-bg: #e5e5e5;
    --title-text: #61dafb;
    --footer-bg-color: #e5e5e5;
    --feature-bg-color: #d5d5d5;
    --text-shadow: 0px;
}

* {
    box-sizing: border-box;
    transition: all .3s ease;
}

body {
    font-family: 'Comfortaa', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--text-color);
}

header {
    background-color: var(--header-bg);
    color: var(--title-text);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 2em;
    border-radius: 0 0 20px 20px;
    /*text-shadow: 0px 1px 2px var(--title-text);*/
    position: relative;
    z-index: 99;
    font-size: 1.3em;
    font-family: 'Audiowide', sans-serif;
}

.grandient-title {
    background-image: linear-gradient(90deg, #1285f8, #ed19ed);
    background-size: 100%;
    background-repeat: repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;

    filter: drop-shadow(0px 1px 2px #8d12f8);

    font-size: 1.3em;
    font-family: 'Audiowide', sans-serif;
}

a {
    color: var(--text-color);
    text-decoration: underline;
}

nav {
    background-color: var(--header-bg);
    padding: 1em;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
    z-index: 99;
    margin-top: -6em;
    margin-left: 20px;
    margin-right: 20px;
    color: var(--title-text);
    translate: 0% -50%;
}

nav a {
    color: var(--title-text);
    text-decoration: none;
    padding: 1em 2em;
    margin: 0 1em;
    border-radius: 25px;
    display: inline-block;
}

nav a:hover {
    background-color: var(--feature-bg-color);
}

.main {
    width: 100%;
    background-color: var(--bg);
    margin-top: -5em;
    margin-bottom: 0px;
    border-radius: 30px 30px 0px 0px;
    position: relative;
    z-index: 19;
}

main {
    padding: 3em;
    border-radius: 20px;
    margin-bottom: 20px;
    /* background-color: var(--footer-bg-color); */
    background-color: #00000000;
    text-align: center;
    position: relative;
    /* box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2); */
    z-index: 10;
    margin-left: 30px;
    margin-right: 30px;
    box-sizing: border-box;

    box-shadow: none !important;
}

main h2 {
    color: var(--title-text);
}

main p {
    margin-top: 20px;
    font-size: 1.2em;
}

main .feature {
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--feature-bg-color);
    border-radius: 15px;
    /* display: inline-block; */
    width: 70%;
    text-align: left;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    text-shadow: 0px 0px var(--text-shadow) var(--text-color);
    backdrop-filter: blur(2px);
    position: relative;
    z-index: 3;
    border: solid #ffffff49 1px;
}

@media only screen and (max-width: 1000px) {
    main .feature {
        width: 100%;
    }
}

main .feature h3 {
    color: var(--title-text);
    text-align: center;
    font-size: 1.7em;
    text-shadow: 0px 0px var(--text-shadow) var(--title-text);
}

main .feature h4 {
    color: var(--text-color);
    font-size: 1.4em;
}

main .feature img {
    filter: drop-shadow(0px 0px) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(150%) contrast(0%);
    display: inline-block;
    margin-top: 0em;
}


footer {
    background-color: var(--footer-bg-color);
    color: var(--title-text);
    text-align: center;
    padding: 2em;
    border-radius: 20px 20px 0 0;
    z-index: 99;
}


.rellax {
    width: 100%;
    height: auto;
    position: relative;
    margin-top: -9.2em;
    border-radius: 30px;
    z-index: 10;
    background-image: url('/static/img/banner.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.bgImg {
    border-radius: 30px 30px 0px 0px;
    margin-top: 2.75em;
    box-shadow: 1px -2px 8px rgba(0, 0, 0, 0.2);
}

.logo {
    height: 50px;
}

.shadow {
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}

.support {
    background-color: #0275e7;
    color: var(--header-bg);
}

.support:hover {
    background-color: #0463c2;
}




@media only screen and (max-width: 550px) {
    nav {
        margin-top: 2em;
        width: 75%;
        color: var(--header-bg);
        translate: 0% 0%;
        margin-bottom: 6em;
    }

    nav .links a {
        display: block;
    }

    .bgImg {
        opacity: 0%;
    }

    main .feature {
        max-width: 90%;
    }

    main {
        padding: 0px;
    }
}

@media only screen and (max-width: 450px) {
    nav {
        margin-top: 2em;
    }

    .rellax {
        display: none;
    }

    header {
        font-size: 1em;
    }

    .progress-container {
        text-align: center;
        font-size: 1em !important;
    }

    .progress-wrapper {
        margin-left: -2em !important;
    }
}

.skill {
    margin-left: -0.8em;
    display: flex;
    align-items: center;
    padding: 0.5em;
}

.skill img {
    margin-right: 10px;
}

.progress-container {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    font-size: 1.2em;
}

.progress-wrapper {
    display: flex;
    align-items: center;
    margin-top: 0.5em;
    margin-left: 1em;
    margin-bottom: 1em;
    /* margin-left: auto;
    margin-right: auto; */
    width: fit-content;
}

.progress {
    height: 20px;
    border: 3px solid #afafaf;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 200px;
    overflow: hidden;
    margin-left: 35px;
    padding: 3px;
}

.progress-inner {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(-90deg, #33ac9e, #419fb0);
    position: relative;
}
.percentage-text {
    font-size: 0.8em;
    color: var(--text-color);
    margin-left: 5px;
}

.social-media-links {
    text-align: center;
}

.linkicon {
    text-decoration: none;
    height: 50px;
    width: 50px;
    scale: 1;
    margin-left: 10px;
    text-align: center;
}

.linkicon:hover {
    text-decoration: none;
    filter: drop-shadow(0px 0px 1px) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(150%) contrast(10%);
    ;
}

.project-button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.project-button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.project-button:hover span {
    padding-right: 25px;
}

.project-button:hover span:after {
    opacity: 1;
    right: 0;
}

.project-button {
    text-align: center;
    padding: 12px;
    width: 175px;
    overflow: hidden;
    text-decoration: none;
    background-color: #ff3131;
    border-radius: 5px;
    color: white;
    display: table;
    margin-top: 20px;
}

.project-button:hover {
    cursor: pointer;
    background-color: #d23232;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
}

iframe {
    height: 320px;
    border: none;
    width: 100%;
}

.bg {
    width: 100%;
    height: 100%;
    background-color: #00000000;
    position: absolute;
    z-index: 1;
    margin: -3em;
}

nav.sticky {
    position: fixed;
    margin-top: 0px;
    top: 2px;
    translate: 0% 0%;
    padding: 8px;
}

nav.sticky .links a {
    padding: 13px 20px;
}

.unCollapseButton {
    height: 1.5em;
    width: 1.5em;
    font-size: 2em;
    text-decoration: none;
    color: white;
    background-color: #4444443e;
    border-radius: 12px;
    display: none;
    padding: .25em;
    margin-right: 3px;

    align-items: center;
    justify-content: center;
}

nav.sticky .stickProof {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

@media only screen and (max-width: 550px) {
    nav.sticky .links {
        display: none;
    }

    nav.sticky .links.visible {
        display: block !important;
    }

    nav.sticky .unCollapseButton {
        display: flex !important;
    }

    nav.sticky .grandient-title {
        display: block !important;
    }
}

li {
    font-size: 1.1em;
    display: block;
}
