@font-face {
    font-family: "ProductS";
    src: url("text/PRODUCT\ SANS\ REGULAR.TTF") format("truetype");
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'ProductS';
    scroll-behavior: smooth;
    letter-spacing: .05rem;
}

.hidden-left{
    opacity: 0;
    transform: translateX(-20%);
    transition: all 1s;
}
.hidden-right{
    opacity: 0;
    transform: translateX(20%);
    transition: all 1s;
}
.hidden-up{
    opacity: 0;
    transform: translateY(20%);
    transition: all 1s;
}
.hidden-down{
    opacity: 0;
    transform: translateY(-20%);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
    transform: translateY(0);
}

/* //////////////////////////////////////////////////////////  NAVBAR  ////////// */

.navbar {
    background: #33439b;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-cont {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar-logo {
    color: white;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>😎</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

.nav-logo{
    width: 10%;
    transition: all .2s ease-in-out;
}

#navbar-logo:hover {
    filter: brightness(80%);
    transition: all .2s ease-in-out;
}

.navbar-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.navbar-item {
    height: 85x;
}

.navbar-links {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    height: 100%;
    text-decoration: none;
    font-weight: bold;
    transition: all .2s ease-in-out;
}

.btn {
    background-color: transparent;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: .5px;
    display: flex-box;
    padding: .70rem;
    border-radius: 10px;
    border: solid white;
    border-width: 3px;
    text-decoration: none;
    margin: 0 10px 0 0;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.btn a {
    text-decoration: none;
    color: white;
}

.btn:hover a {
    color: #33439b;
}

.btn:hover {
    color: #33439b;
    background-color: white;
    border: solid white 3px;
}

.navbar-links:hover {
    color: rgb(95, 201, 236);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
}

.highlight {
    background: #33439b;
    border-radius: 10px;
    padding: 10px 0;
    transition: all .2s ease-in-out;
}

section {
    padding: 100px 0;
}

/* //////////////////////////////////////////////////////////  HERO  ////////// */

.hero {
    background: #33439b;
}

.hero-cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
    height: 100%;
}

.heros {
    max-width: 500px;
    border-radius: 20px;
    transition: all .2s ease-in-out;
}

.hero-img {
    display: block;
    width: 70%;
    margin: 0 auto;
    border-radius: 300px;
    filter: brightness(105%);
    filter: contrast(105%);
    transition: all .2s ease-in-out;
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>🔥</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

.hero-head {
    color: white;
}

.hero-sub {
    color: white;
}

.hero p {
    color: white;
    text-align: left;
    line-height: 1.5rem;
    font-size: 1.1rem;
    margin: 10px 10% 25px 0;
}

.hero-p span {
    font-weight: bold;
}

#about-btn {
    background-color:#438bdd;
    border: solid#438bdd 3px;
    transition: all .2s ease-in-out;
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>🍎</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

#about-btn:hover {
    color: #438bdd;
    border: solid white 3px;
    background-color: white;
    transition: all .2s ease-in-out;
}

#learn {
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>🍎</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

#proj-btn {
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>🚀</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

#beh-btn {
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>✨</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

button a {
    padding: 10px 10px;
}

/* //////////////////////////////////////////////////////////  SKILL  ////////// */

.skills {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: white;
}
.skills .skill-head:not(:first-child) {
    margin-top: 100px;
}


.skill-cont {
    gap: 5px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.skill-head {
    margin: 0 auto 30px auto;
    text-align: center;
    color: #33439b;
}

.skill h3 {
    font-weight: 800;
    font-size: 1.3rem;
}

.skill p {
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: bold;
}

.skill h3, p {
    text-align: center;
}

.skill {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: #33439b;
    color: white;
    border-radius: 50%;
    padding: 40px;
    width: 150px;
    height: 150px;
    transition: all .2s ease-in-out;
    transition: transform 0.3s ease;
    /* cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>😮</text></svg>") 16 0,auto; !emojicursor.app */
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

/* //////////////////////////////////////////////////////////  PROJECTS  ////////// */

.projs {
    background: #33439b;
}

.proj-cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    max-width: 1300px;
    margin: 0 auto;
}

.proj-head {
    text-align: center;
    color: white;
    padding: 30px 0;
}

.proj {
    flex: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 10px;
    margin: 20px 20px;
    background: white;
    color: #33439b;
    cursor: pointer;
    min-width: 300px;
    max-width: 390px;
    height: auto;
    border-radius: 20px;
    justify-content: space-between;
    transition: all .2s ease-in-out;
}

.proj *:not(.split)  {
    padding: 10px;
}

.proj:hover {
    transform: scale(1.02);
    /* background:#438bdd; */
    /* color: white; */
}

.proj-logo {
    display: flex;
    flex-wrap: wrap;
    width: 12%;
}

.proj h1 {
    text-align: center;
    justify-content: right;
    font-size: 2rem;
    font-weight: bolder;
    text-decoration: none;
}

.proj p {
    font-weight: bold;
    padding: 20px 0;
    text-align: center;
    -moz-text-align-last: center;
    text-align-last: center;
    text-justify: inter-character;
    color: #33439b;
    width: 90%;
    margin: 10px auto;
    line-height: 125%;
}

.proj a {
    margin: 0 auto;
    /* padding: 5px; */
    color: #33439b;
    font-weight: bold;
    text-decoration: none;
}

.proj hr {
    margin: 0 auto;
    width: 50%;
    border: solid 2px #33439b;
}

.proj-prev {
    margin: 0 auto;
    display: block;
    padding-top: 20px;
    width: 90%;
}

.proj-link {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.logo-prev {
    display: block;
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
}

/* //////////////////////////////////////////////////////////  CONTACT  ////////// */

.contact {
    background: #33439b;
    padding: 300px 0;
}

.contact-cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 90%;
}

.contacts {
    color: white;
    max-width: 500px;
    border-radius: 20px;
    transition: all .2s ease-in-out;
}

.contact-msg {
    width: 70%;
    margin: 0 auto;
    display: block;
    transition: all .2s ease-in-out;
}

.contact-msg:hover {
    transform: scale(1.05);
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>💬</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

.contact a {
    text-decoration: none;
    color: white;
    transition: all .2s ease-in-out;
}

.contact h3 {
    margin: 10px 0;
}

.contact button {
    margin: 20px 1px;
}

@media screen and (max-width: 800px) {
    .contact-msg {
        margin: 0 auto;
    }

}

@media screen and (max-width: 500px) {
    .right {
        visibility: hidden;
    }
}

#res {
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>📄</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

#linkd {
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>📱</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

#email {
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>📧</text></svg>") 16 0,auto; /*!emojicursor.app*/
}

/* //////////////////////////////////////////////////////////  MEDIA  ////////// */

footer {
    background: #1d2b7c;
    padding: 50px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.footer-container a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-container a:hover {
    color: #999;
}

/* //////////////////////////////////////////////////////////  LOADER  ////////// */

.preloader {
    height: 100%;
    width: 100%;
    background: white;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    perspective: 1600px;
    perspective-origin: 20% 50%;
    transition: 0.5s all;
    opacity: 1;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 2px solid #f3f3f3;
    border-top: 3px solid #0088cf;
    border-radius: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: spin 1s infinite linear;
}

.preloader.fade {
    opacity: 0;
}

.b-ico-preloader {
    background: url(http://weblaboratory.in.ua/wp-content/themes/graphy/images/new_logo.svg);
    background-size: cover;
    width: 52px;
    height: 67px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: ico 5s infinite linear;
    transform-style: preserve-3d;
}

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

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


/* //////////////////////////////////////////////////////////  MEDIA  ////////// */

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

/* ////////////// MOBILE /////// */
@media screen and (max-width: 960px) {

    /* NAVBAR */
    .navbar-cont {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
        transition: all .2s ease-in-out;
    }

    .navbar-menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 1;
        transition: all .2s ease-in-out;
        z-index: -1;
    }

    .navbar-menu.active {
        background: #4e9ef8;
        top: 100%;
        opacity: 1;
        transition: all .2s ease-in-out;
        z-index: 99;
        height: 60vh;
        font-size: 1.6rem;
    }

    #navbar-logo {
        padding-left: 25px;
        transition: all .2s ease-in-out;
    }

    #navbar-logo:hover {
        color: rgb(95, 201, 236);
    }

    .navbar-toggle {
        cursor: pointer;
        padding: 3px 5px;
        border-radius: 10px;
        border: solid transparent 3px;
        transition: all .2s ease-in-out;
    }

    .navbar-toggle:hover{
        /* border: solid white 3px; */
        border-radius: 10px;
    }

    .navbar-toggle .bar{
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all .2s ease-in-out;
        background: white;
    }

    .navbar-item {
        width: 100%;
    }

    .navbar-links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar-toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* HERO */

    /* .hero-btn-cont {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        width: 100%;
        display: block;
    } */

    /* ABOUT */
    .about-cont {
        grid-template-columns: 1fr;
    }

    .about-img {
        width: 80%;
        margin: 25px 0 25px 0;
    }

    /* HERO */
    .hero-p {
        margin: 10px 0 25px 0;
        text-align: left;
    }

    .hero-btn-cont .btn{
        margin: 0 0 10px;
    }

    .hero-img {
        max-width: 300px;
        width: 100%;
        margin: 20px auto;
    }

    .heros {
        padding: 10px 20px;
    }

    .hero {
        padding: 100px 0
    }

    .contact-cont {
        padding: 0 30px;
    }

    /* FOOT */

    .foot {
        padding: 100px 0;
        text-align: center;
    }

    /* CONTACT */

}

@media screen and (max-width: 582px) {
    .about-right {
        max-width: 100%;
        padding: 25px;
        margin: 0 auto;
    }
}

