/* Table of Contents:
    Home Section
    Skills Section
    Contact Section
    Overwriting Page Piling.js
    GitHub Corner
    Responsive Breakpoints
 * --------------------------------------- */

h1,
h2,
h3,
button,
label {
    font-family: 'Raleway', sans-serif;
    color: lightskyblue;
}

p,
li,
i {
    font-family: 'Lato', sans-serif;
    color: #7a7a7a;
}

img {
    max-width: 100%;
}

a,
a:focus,
a:hover,
a:active {
    color: lightskyblue;
}

b,
label {
    color: #fff;
}

label {
    /*width: 100px;*/
    /*height: 38px;*/
    /*padding: 7px 10px 7px 10px;*/
    /*margin: 10px;*/
    /*border-left: 2px solid lightskyblue;*/
    /*border-radius: .25rem*/
}

button {
    background: transparent;
    padding: 10px 0 10px 0;
    border: 2px solid lightskyblue;
    transition: background-color 0.5s ease-out;
    -webkit-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
}

button:hover {
    background: lightskyblue;
    color: #fff;
}

.btn-wide {
    width: 250px;
}

.btn-skinny {
    width: 150px;
}

.i-red {
    color: lightskyblue;
}

#rotate {
    display: none;
}

body {
    background-color: #252525;
}

/* Side Menu
 * --------------------------------------- */
.side-menu {
    max-width: 320px;
    width: 100%;
    height: 100vh;
    position: fixed;
    transform: translateX(calc(-100% - 15px));
    transition: transform 0.3s ease-in-out;
    will-change: transform;
    padding: 100px 25px 100px 15px;
    left: 0;
    z-index: 2;
    top: 0;
    background-color: #252525;
    box-shadow: 13px 0px 20px #000;
}

.side-menu_opened {
    transform: translateX(0);
}

.side-menu_opened .side-menu__item {
    opacity: 1;
}

.side-menu__container {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.side-menu__item {
    color: #fff;
    font-size: 24px;
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
}

.side-menu__item:not(:last-of-type) {
    margin-bottom: 10px;
}

.open-menu {
    position: fixed;
    top: 20px;
    left: 15px;
    cursor: pointer;
    z-index: 3;
}

.open-menu>svg {
    fill: #000;
    transition: fill 0.3s ease-in-out;
}

.open-menu_active>svg {
    fill: #fff;
}

/* Home Section
 * --------------------------------------- */

#home,
#contact,
#skills,
#projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem 0;
}

.img-cover {
    height: 250px;
    width: 250px;
    box-shadow: 0 4px 8px 0 #00000040, 0 6px 20px 0 #0000001e;
    object-fit: cover;
}

.name-block {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.social-media-buttons {
    margin-top: 30px;
}

.social-media-buttons>a {
    margin: 10px;
    text-decoration: none;
}

.social-media-buttons>a>i:hover {
    color: lightskyblue;
}

.side-menu__item.active {
    color: lightskyblue;
}


/* Skills Section
 * --------------------------------------- */

#skills-left {
    color: #fff;
}

.skills-item {
    margin: 50px 0 5px 0;
}

.skills-item-head {
    margin: 5px 5px 5px 0;
    border-left: 6px solid lightskyblue;
    padding-left: 10px;
}

.skills-item-body {
    padding-left: 20px;
}

/* Contact Section
 * --------------------------------------- */

.form-control {
    margin: 10px 0 10px 0;
    background: transparent;
    color: #7a7a7a;
    border-color: #7a7a7a;
}

.form-control:focus {
    background: transparent;
    border-color: #fff;
    box-shadow: none;
    color: #fff;
}


/* Overwriting Page Piling.js
* --------------------------------------- */

#pp-nav li .active span,
.pp-slidesNav .active span {
    background: lightskyblue !important;
}

#pp-nav span,
.pp-slidesNav span {
    border-color: lightskyblue !important;
}


/* GitHub Corner
* --------------------------------------- */

.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out
}

@keyframes octocat-wave {

    0%,
    100% {
        transform: rotate(0)
    }

    20%,
    60% {
        transform: rotate(-25deg)
    }

    40%,
    80% {
        transform: rotate(10deg)
    }
}

@media (max-width:500px) {
    .github-corner:hover .octo-arm {
        animation: none
    }

    .github-corner .octo-arm {
        animation: octocat-wave 560ms ease-in-out
    }
}


/* Responsive Breakpoints
* --------------------------------------- */


/* Small devices (landscape phones, 576px and up), new  568px */

@media (max-width: 567px) {

    .img-cover {
        width: 150px;
        height: 150px;
    }

    .name-block {
        font-size: 2.5rem;
    }

}

@media (max-height: 1200px) {
    #skills-left {
        height: 95vh;
        overflow: auto;
    }
}

@media (max-width: 800px) and (max-height: 500px) {

    #btnContact,
    #home .social-media-buttons,
    .skills-item,
    #contact-right>img,
    figcaption>p {
        display: none;
    }

    figure {
        height: 200px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p,
    button {
        font-size: 1rem;
    }

    #home img {
        width: 200px;
        height: 170px;
    }
}

@media (max-width: 1000px) {
    #contact-left {
        display: none;
    }
}




body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    min-height: 100vh;
}

.steps {
    max-width: 1200px;
}

.steps__wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    transform: translateY(20px);
    transition: 1s ease-in-out;
    transition-property: transform, opacity;
    opacity: 0
}

.steps__wrap_active {
    opacity: 1;
    transform: translateY(0);
}

.steps__wrap_left .steps__item {
    grid-column-start: 1;
    border-right-color: lightskyblue;
}

.steps__wrap_left .steps__image {
    grid-row-start: 1;
    grid-column-start: 2;
}

.steps__wrap:last-of-type .steps__item {
    border-color: transparent;
}

.steps__wrap_left .steps__item__head__number {
    order: 1;
    margin-right: -18px;
}

.steps__wrap_left .text {
    padding-right: 37px;
}

.steps__wrap_left .steps__image {
    padding-left: 37px;
}

.steps__wrap_left .steps__item__head__title {
    padding-right: 18px;
}

.steps__wrap_right .steps__item__head__number {
    order: 0;
    margin-left: -18px;
}

.steps__wrap_right .steps__image {
    grid-row-start: 1;
    grid-column-start: 1;
}

.steps__wrap_right .steps__item {
    grid-column-start: 2;
    border-left-color: lightskyblue;
    margin-left: -1px;
}

.steps__wrap_right .text {
    padding-left: 37px;
}

.steps__wrap_right .steps__image {
    padding-right: 37px;
}

.steps__wrap_right .steps__item__head__title {
    padding-left: 18px;
}

.steps__item {
    border: 1px solid transparent;
}

.steps__item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.steps__item__head__number {
    border-radius: 50%;
    background-color: lightskyblue;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps__item__head__title {
    flex: 1;
    font-weight: bold;
    color: lightskyblue;
    /*text-transform: uppercase;*/
}

.text {
    color: #fff;
}

/* Medium devices (tablets, 768px and up) */

@media (max-width: 992px) {
    figcaption>p {
        font-size: 0.8rem;
    }

    .steps__image {
        display: none;
    }

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

    .steps__wrap_right .steps__item,
    .steps__wrap_left .steps__item {
        grid-column-start: 1;
        margin-left: 0;
    }

    .steps__wrap_left .text {
        padding-left: 37px;
        padding-right: 0;
    }

    .steps__wrap_left .steps__item__head__title {
        padding-left: 18px;
    }

    .steps__wrap_left .steps__item__head__number {
        margin-left: -18px;
        margin-right: 0;
        order: 0;
    }

    .steps__wrap_left .steps__item {
        border-left-color: lightskyblue;
        border-right-color: transparent;
    }
}

@media (max-width: 768px) {
    .steps {
        max-width: 1200px;
        padding: 0 37px;
        margin-top: 60px;
    }
}