@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Lexend+Peta:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body {
    background: #fff;
    margin: 0;
    overflow-x: hidden;
    padding: 0;
    scroll-behavior: smooth;
    width: 100%;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

body {
    background: #fff;
    color: #000;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-weight: 200;
    height: 100%;
    min-height: 100vh;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    z-index: 0;
    font-family: 'Lexend Peta', sans-serif;
}


.header_img img {
    max-width: 100%;
}

.hi {
    position: fixed;
    font-size: 70px;
    left: 130px;
    top: 300px;
    opacity: 40%;
    color: #d3d3d3;
    z-index: 1;
}

.active {
    background-color: rgb(0, 221, 148);
    outline: none;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    min-height: 95vh;
}

.above-absolute {
    position: relative;
    height: 100%;
}

.absolute-photo {
    background: url("../images/szczyrcovido_2021-31-1.jpeg") no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    right: 0;
    width: 55%;
    height: 100%;
    top: 2%;
}

.data-scientist {
    color: rgb(110, 113, 255);
    padding: 5px 10px;
    margin-right: 10px;
    border: 2px solid rgb(110, 113, 255);
}

.cont {
    max-width: 580px;
    right: 200px;
    z-index: 1000;
    position: relative;
    margin: 0 0 20px 0;
}

section {
    background: #fff;
    z-index: 1;
    position: relative;
}

header .container .title h5 {
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Comfortaa', cursive;
    line-height: 1.6;
}

header .container .title h5.job {
    font-size: 16px;
    margin-bottom: 0;
    letter-spacing: 3px;
}

header .container h1 {
    color: rgb(87, 90, 245);
    letter-spacing: 7px;
    text-transform: uppercase;
    font-family: 'Lexend Peta', sans-serif;
    font-weight: 300;
    font-size: 40px;
    line-height: 1.1;
}

.graphics_img_design img {
    max-width: 400px;
    width: 100%;
    padding: 10px;
}

#about {
    min-height: 100vh;
    background-color: rgba(256, 256, 256, 0.1);
    margin: 0 50px;
}

#portfolio .container .portfolio {
    max-width: 600px;
}

section .container {
    padding-top: 100px;
}

.content {
    padding-left: 15px;
}


section h1 {
    color: rgb(110, 113, 255);
    font-weight: 300;
}

/* technology */
#education {
    background: rgb(110, 113, 255);
    padding-bottom: 100px;
}

#education .container {
    max-width: 800px;
}

#education h1 {
    padding-bottom: 50px;
}

.container-education {
    display: flex;
    /*justify-content: center;*/
    align-items: flex-start;
}

.container-education p {
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    color: #fff;
}

.year-container {
    /*width: 80px;*/
    height: 50px;
    background: #fff;
    display: flex;
    padding: 10px;
    margin-right: 20px;
}

.year-container p {
    font-weight: 500;
    margin: auto;
    text-align: center;
    color: rgb(110, 113, 255);
}

.subtitle {
    /*color: rgb(110, 113, 255);*/
    font-weight: 200;
    padding-bottom: 50px;
}

.portfolio img {
    width: 100%;
    max-width: 600px;
}

video {
    width: 100%;
    height: auto;
}

.new {
    height: 100%;
}

.seework_button {
    background: rgb(110, 113, 255);
    width: 140px;
    height: 140px;
    border-radius: 90px;
    display: flex;
    position: relative;
    align-items: center;
    padding: 10px;
    transition: 0.9s;
    opacity: 1;
    justify-content: center;
    text-transform: uppercase;
}

.seework_button {
    text-align: center;
    font-weight: 400;
    color: #fff;
    font-family: 'Lexend Peta', sans-serif;
}

.seework_button:hover {
    color: #fff;
    text-decoration: none;
    background: rgb(87, 90, 245);
}

.aboutmeimage img {
    max-width: 600px;
    border-radius: 100px;
    width: 100%;
}

.klasyfikacja_img img {
    max-width: 500px;
    width: 100%;
}

.graphics_img img {
    max-width: 500px;
    width: 100%;
    padding: 10px;
}


/* NAV BAR */
nav {
    z-index: 1;
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox=\'0 0 32 32\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath stroke=\'rgb(87,90,245)\' stroke-width=\'2\' stroke-linecap=\'round\' stroke-miterlimit=\'10\' d=\'M4 8h24M4 16h24M4 24h24\'/%3E%3C/svg%3E');
}

.navbar-toggler {
    z-index: 2001;
    padding: 0.25rem 0.75rem 0.25rem 0;
}

.nav-link {
    color: rgb(110, 113, 255);
    font-family: 'Lexend Peta', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

.nav-link:hover {
    color: rgb(87, 90, 245);
    transition: 0.9s;
}

.navbar-toggler:focus, .navbar-toggler:hover {
    outline: none;
}

a.active {
    color: #fff;
}

.nav-link.active {
    color: #fff;
}

.navbar-nav {
    font-weight: 500;
    letter-spacing: 0.3rem;
    padding: 0.9em 40px;
}

.sticky {
    position: fixed;
    width: 100%;
    background: rgba(14, 8, 32, 0.8);
    z-index: 2000;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
}

.navbar-nav .nav-link:first-child {
    padding-left: .5rem;
}

.worldtour {
    letter-spacing: 0.3rem;
}

/* end of NAV BAR */

/* ICONS */
.center {
    display: table;
    width: 100%;
}

#social-test {
    vertical-align: middle;
    text-align: center;
    font-size: 30px;
}

#social-test h2 {
    color: #fff;
    font-weight: 100;
}

.social {
    padding-left: 0;
}

.social a:hover {
    text-decoration: none;
    border-bottom: 0;
}

.social li {
    color: #cecece;
    list-style-type: none;
    display: inline-block;
    font-size: 30px;
    padding-right: 10px;
    cursor: pointer;
    transition: ease .3s;
}

ul.social {
    margin-bottom: 0;
}

.social li:hover {
    color: #aeaeaeed;
}

.social:hover li {
    opacity: 0.5;
}

.social:hover li:hover {
    opacity: 1;
}

.disabled {
    pointer-events: none;
}

/* Back to Top */
.back_to_top {
    display: none;
    text-align: center;
    padding: 10px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.back_to_top:hover {
    opacity: 0.5;
}

.icon-scroll,
.icon-scroll:before {
    position: absolute;
    left: 50%;
}

.icon-scroll {
    width: 20px;
    height: 40px;
    margin-left: -20px;
    top: 50%;
    margin-top: -35px;
    box-shadow: inset 0 0 0 1px #FF2383;
    border-radius: 25px;
}

.icon-scroll:before {
    content: '';
    width: 6px;
    height: 6px;
    background: #FF2383;
    margin-left: -3px;
    top: 8px;
    border-radius: 4px;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: scroll;
    animation-name: scroll;
}

@-webkit-keyframes scroll {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(25px);
        transform: translateY(25px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(25px);
        transform: translateY(25px);
    }
}

/* FOOTER */
footer {
    margin-top: 100px;
    background: rgb(110, 113, 255);
    z-index: 0;
    position: relative;
    padding: 100px 15px;
    display: flex;
    align-items: center;
}

.footer-title {
    font-weight: 400;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: 7px;
    text-transform: uppercase;
    font-family: 'Lexend Peta', sans-serif;
    line-height: 1.3;
}

a.footer-link:hover {
    color: #b3bfff;
    text-decoration: none;
}

p.partners {
    line-height: 1rem;
    margin-bottom: 1.6rem;
}

.footer-partners {
    display: flex;
    width: 21rem;
    flex-flow: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-family: 'Lexend Peta', sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.1rem;
    transition: 0.9s;
    padding: 2px 0;
}

.footer-link li {
    list-style-type: none;
    display: flex;
    text-align: center;
}

.footer-link i {
    font-size: 20px;
    padding-right: 10px;
    width: 30px;
}

/* projects */
.project-el {
    border-bottom: 1px solid rgb(110, 113, 255);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#projects .container {
    max-width: 800px;
}

.project-name {
    max-width: 65%;
}

.project-name p {
    margin-bottom: 4px;
}

.project-name p:last-child {
    margin: 0;
    font-weight: 300;
    line-height: 1.3;
}

.project-el:last-child {
    border-bottom: none;
}

a.project-link {
    color: rgb(110, 113, 255);
    font-weight: 500;
}

a.project-link:hover {
    text-decoration: none;
    color: rgb(87, 90, 245);
    transition: 0.9s;
}

.algo {
    color: rgb(87, 90, 245);
    font-size: 12px;
}

/* circle */

#circle text {
    color: #fff !important;
    font-size: 16px;
    font-weight: 300;
}

#circle svg {
    -moz-animation-duration: 20s;
    -ms-animation-duration: 20s;
    -o-animation-duration: 20s;
    -webkit-animation-duration: 20s;
    animation-duration: 20s;
    -moz-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -moz-animation-name: rotate;
    -ms-animation-name: rotate;
    -o-animation-name: rotate;
    -webkit-animation-name: rotate;
    animation-name: rotate;
    -moz-animation-timing-function: linear;
    -ms-animation-timing-function: linear;
    -o-animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    height: 300px;
    left: -18%;
    position: absolute;
    top: -24%;
    width: 100%;
    z-index: -1;

}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(360deg);
    }
    to {
        -webkit-transform: rotate(0);
    }
}

@-moz-keyframes rotate {
    from {
        -moz-transform: rotate(360deg);
    }
    to {
        -moz-transform: rotate(0);
    }
}

@-ms-keyframes rotate {
    from {
        -ms-transform: rotate(360deg);
    }
    to {
        -ms-transform: rotate(0);
    }
}

@-o-keyframes rotate {
    from {
        -o-transform: rotate(360deg);
    }
    to {
        -o-transform: rotate(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0);
    }
}


@media (min-width: 767px) {
    .header_img {
        margin: auto;
    }

    .mobile {
        display: none;
    }
}

@media (max-width: 992px) {
    .cont {
        right: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .absolute-photo {
        display: none;
    }

    .graphics_img img, .graphics_img_design img  {
        padding: 10px 0 10px 0;
    }

    .desktop {
        display: none;
    }

    header .container h1 {
        font-size: 30px;
        margin-bottom: 20px;
        letter-spacing: 5px;
    }

    .seework_button {
        width: 100px;
        height: 100px;
        font-size: 14px;
        opacity: 1 !important;
    }

    header {
        margin: 0 15px 100px 15px;
    }

    .description {
        padding-top: 20px;
    }

    h1 {
        font-size: 30px;
    }

    header .container .title h5, #portfolio h5, #mgr h5, #projects h5, #graphics h5 {
        font-size: 15px;
    }

    .footer-title {
            letter-spacing: 5px;
    }

    p {
        font-size: 12px;
    }

    .project-name, .project-link {
        font-size: 14px;
    }

    header .container .title h5.job {
        font-size: 12px;
    }

    header {
        background: transparent;
    }

    .cont {
        right: unset;
        margin: unset;
    }

    .hi {
        left: unset;
        top: -10px;
        right: 0;
    }

    .social li {
        font-size: 25px;
    }

    .container-education p {
        font-size: 13px;
    }
}