html,body {
    margin: 0;
    padding: 0;
    height: 100%;
}

html {
    background: #141414;

}

body {
    background: #141414;
    /* background: linear-gradient(147deg, rgba(1, 126, 64, 0.816) 9%, #212121 53%); */
    background: linear-gradient(147deg, #015f6b 9%, #212121 53%);
    
    /* background: linear-gradient(147deg, rgb(24 46 57) 9%, #212121 53%); */
    /* background: linear-gradient(147deg, rgb(0 0 0) 9%, #212121 53%); */
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-thumb {
  background: #06dffd;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}   

/* data-flex */
[data-flex='1'] {
    flex: 1 1 auto;
}

canvas {
    width: 100%;
    height: 100%;
}

/* grid */
.grid {
    margin: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.grid__cell {
    display: flex;
    flex-direction: column;
}

.grid__row {
    display: flex;
}

.grid__row--baseline {
    align-items: baseline;
}

.grid__row--stretch {
    align-items: stretch;
}

.section {
    max-width: 1280px;
    width: auto;
    padding: 0 80px 80px 80px;
}

.section:first-child {
    padding: 80px 80px 80px 80px;
}

/* cell/row */
.cell {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
}

.row--wrap {
    flex-wrap: wrap;
}

.row--v-center {
    align-items: center;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

    

/* skills */

.skills {
    max-width: 920px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.skill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin-top: -10px;
    border-radius: 50%;
    border: 2px solid #06dffd;
    box-shadow: 3px 4px 14px -2px #00e1ff;
    list-style: none;
    animation: rot-rev 10s linear infinite;
}

.skill-wrapp {
    width: 150px;
    height: 150px;
    margin: 12px;
    animation: skill 10s linear infinite;
    border-radius: 50%;
}

.skill-wrapp:nth-child(2n) {
    animation: rot-rev 10s linear infinite;
}
.skill-wrapp:nth-child(2n) .skill {
    animation: skill 10s linear infinite;
}

.skill-wrapp:nth-child(3n) {
    animation: rot-rev 8s linear infinite;
}

.skill-wrapp:nth-child(3n) .skill {
    animation: skill 8s linear infinite;
}


@keyframes skill {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rot-rev {
    100% {
        transform: rotate(-360deg);
    }
}

.skill > p {
    font-size: 20px;
    font-weight: 600;
    color: #06dffd;;
}

/* img */
.img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 224px;
    height: 224px;
    box-sizing: border-box;
    margin: auto;
}

.img--round {
    border-radius: 50%;
    border: 4px solid #00e1ff;
}

/* svg */ 
.svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

#space {
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .6s;
}

/* offset */
.offset--cm {
    padding: 12px;
}

.offset--cm--h {
    padding-left: 12px;
    padding-right: 12px;
}

.offset--cm--bottom {
    padding-bottom: 12px;
}

.offset--xs {
    padding: 4px;
}

.offset--xs--bottom {
    padding-bottom: 4px;
}

/* scroll */
.scroll {
    overflow: auto;
    height: 200px;
    flex: 1 1 auto;
}

/* color */
.red-a {
    color: red;
} 

/* border */
.border {
    border: 4px solid #00e1ff;
}

.spiners {
    color: #00e1ff;
}

/* text */
.text {
    font-size: 14px;
    line-height: 18px;
}

.text--18 {
    font-size: 18px;
    line-height: 24px;
}

.text--center {
    text-align: center;
}

/* card */

.cards {
    display: flex;
    flex-wrap: wrap;
}

.cards__item {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding: 12px;
    flex: 1 1 356px;
}

.card {
    /* background-color: #07171a; */
    border: 2px solid #00e1ff;
    border-radius: 4px;
    box-shadow: 3px 4px 14px -2px #00e1ff;
    flex: 1 1 auto;
}

.card p:last-child {
    margin-top: auto;
    padding-bottom: 0px;
}

.page {
    background-image: url("../images/sot.svg");
    background-size: 20px;
}

@media screen and (max-width: 1024px) {
    .section {
        padding: 0 44px 24px !important;
    }


    .section:first-child {
        padding: 44px !important;
    }

    .section:last-child {
        padding-bottom: 80px !important;
    }
}
@media screen and (max-width: 600px) {
    .grid__row--stretch { 
        flex-wrap: wrap-reverse;
    }

    .section {
        padding: 0 24px 24px !important;
    }


    .section:first-child {
        padding: 24px !important;
    }

    .section:last-child {
        padding-bottom: 60px !important;
    }

    .m-sidebar {
        width: 100%;
        padding: 12px 24px;
    }

    .scroll {
        height: auto;
        overflow: visible;
    }

    .grid {
        overflow: auto;
        overflow-x: hidden;
    }

    .skills {
        padding: 20px 0 20px;
    }

    .cards__item {
        flex: 1 1 auto;
    }

    .skill-wrapp, .skill  {
        width: 80px;
        height: 80px;
    }
    .skill > p {
        font-size: 14px;
    }
}


.spin {
    animation: spin 4s linear infinite;
    transform-origin: 21px 26.195px 0px;
}

.spin-m {
    transform-origin: 32px 20.195px 0px;
    animation-direction: reverse;
}

.spin-l {
    transform-origin: 12px 11.195px 0px;
    animation-direction: reverse;
}

.hidden-text {
  opacity: 0;
  transition: opacity .3s;
}

.hidden-text:hover {
    opacity: 1;
}

.arial {
    font-family: Arial, sans-serif;
}

a {
    color: #00e1ff;
    text-decoration: none;
}

a:hover {
    text-decoration: solid underline;
}

.a-show {
    opacity: 0;
    animation: show .5s ease-in-out forwards;
}

.a-show--right {
    animation: show-right .5s ease-in-out forwards;
}

.a-show--top {
    animation: show-top .5s ease forwards;
}


.a-show {
    animation-delay: .5s;
}

.a-show + .a-show {
    animation-delay: .6s;
}

.a-show + .a-show + .a-show {
    animation-delay: .7s;
}

.a-show + .a-show + .a-show {
    animation-delay: .8s;
}

.a-show + .a-show + .a-show + .a-show  {
    animation-delay: .9s;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


@keyframes show {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes show-right {
    0% {
        opacity: 0;
        transform: translateX(-12px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes show-top {
    0% {
        opacity: 0;
        transform: translate(0, -130%);
    }
   

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}
.page {
    animation: page .3s ease 2s forwards;
}

.page-before {
    position: fixed;
    top: 50%;
    height: 0px;
    width: calc(100% - 8px);
    border:3px solid #00e1ff;
    box-shadow: 0 0 13px 2px #00e1ff;
    box-sizing: border-box;
    opacity: 0;
    animation: page-before 1s ease-in-out .3s forwards;
}

@keyframes page {
    100% {
        border-color: transparent;
    }
}

@keyframes page-before {
    0% {
        background-color: #00e1ff;
        opacity: 0;
        transform: rotate(90deg) scaleX(0);
    }
    10% {
        opacity: 1;
    }

    40% {
        background-color: #00e1ff;
        transform: rotate(90deg) scaleX(1.5);
    }

    80% {
        opacity: 1;
        margin: 4px;
        background-color: #00e1ff;
        transform: rotate(180deg) scaleX(1);
        height: 0;
        top: 50%;
    }
    81% {
        background-color: transparent;
        opacity: 1;
    }

    99% {
        top: 0;
        height: calc(100% - 8px);
        margin: 4px;
        transform: rotate(180deg) scaleX(1);
    }
    100% {
        opacity: 1;
        top: 0;
        height: calc(100% - 8px);
        margin: 4px;
        transform: rotate(180deg) scaleX(1);
    }
}