@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&amp;subset=cyrillic-ext');
@import url('https://use.fontawesome.com/releases/v5.4.1/css/all.css');
@import url('reset.css');
@import url('typography.css');
@import url('navigation.css');
@import url('forms.css');


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: rgb(255, 255, 255);
}

/* style for index.html*/

.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: rgb(250, 250, 250);
    padding: 15rem 0 22rem 0;
    max-width: 100%;
    height: auto;
}

.header h1 {
    font-size: 4rem;
    font-weight: bold;
    color: rgb(0, 0, 0);
    padding-bottom: 2rem;
    margin: 0;
}

.header p {
    color: rgb(0, 0, 0);
    text-transform: uppercase;
    letter-spacing: 3px;
    width:80%;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10rem 5rem 10rem;
}

.p_absoulte {
    position: absolute;
}

.img_animation {
    left: -140px;
    bottom: 300px;
    z-index: 1;
    animation: fadeInUp3 2.5s 3s both alternate infinite;
 }

@keyframes fadeInUp3 {
  from { transform: translate(-1px, -2px); }
  to { transform: translate(-50px, -50px); }
}


.button {
    text-align: center;
    margin-top: 1rem;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 0.5rem 5rem;
    border-radius: 0.3rem;
    color: rgb(255, 255, 255);
    background-color: rgb(155, 45, 189);
}

.button:hover {
    background-color: rgb(121, 87, 117);
}

#secondary-button {
    align-self: flex-end;
    text-align: center;
    margin-left: 10rem;
    margin-top: 1rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: rgb(0, 0, 0);
    background: rgb(155, 45, 189);
}

#button-404 {
    align-self: center;
    margin: 0.5rem 1rem 7rem 1rem;
}

.wrap {
    display: flex;
    flex-direction: column;
    margin: 6rem auto;
    width: 90%;
}

.wrap h2 {
text-align: center;
}

.wrap-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 6rem 0;
}

.what {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 50%;
}

.section-graphic-design {
    background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.7)),
    url(/myportfolio/images/section_graphic_design_image.jpg);
    background-size: cover;
    padding: 6rem;
 }

.section-web-design {
    background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.7)),
    url(/myportfolio/images/section_web_design_image.jpg);
    background-size: cover;
    padding: 6rem;
 }

.section-photographs {
    background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.7)),
    url(/myportfolio/images/section_photographs_image.jpg);
    background-size: cover;
    padding: 6rem;
 }

.section-video {
    background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.7)),
    url(/myportfolio/images/section_video_image.jpg);
    background-size: cover;
    padding: 6rem;
 }

.section-graphic-design:hover {
    background-image: linear-gradient(-120deg, rgba(108, 94, 106, 0.8),
    rgba(0, 102, 160, 0.7)),
    url(/myportfolio/images/section_graphic_design_image.jpg);
 }

.section-web-design:hover {
    background-image: linear-gradient(-120deg, rgba(108, 94, 106, 0.8),
    rgba(146, 61, 136, 0.9)),
    url(/myportfolio/images/section_web_design_image.jpg);
 }

.section-photographs:hover {
    background-image: linear-gradient(-120deg, rgba(108, 94, 106, 0.8),
    rgba(136, 197, 102, 0.9)),
    url(/myportfolio/images/section_photographs_image.jpg);
 }

.section-video:hover {
    background-image: linear-gradient(-120deg, rgba(108, 94, 106, 0.8),
    rgba(192, 17, 17, 0.8)),
    url(/myportfolio/images/section_video_image.jpg);
 }

.what h3 {
   text-align: center;
}

.what h3 a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

/* footer*/

.site-footer {
    margin-top: auto;
    background-color: #241133;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 3rem 0;
    flex: 1 0 100%;
}

.wrapper .about {
    flex: 0 0 30%;
    padding: 0 1rem 0 3rem;
}

.wrapper .about p {
    color: rgb(255, 255, 255);
    font-size: 0.8rem;
}

.footer-nav {
    display: flex;
    font-size: 0.8rem;
    padding: 1rem 1rem 0 3rem;
    margin-bottom: 2rem;
}

.footer-nav ul {
    margin: 0;
    padding: 0.5rem 1rem;
    list-style-type: none;
}

.aboutme ul {
    padding-left: 0;
}

.wrapper .contacts {
    display: flex;
    justify-content: center;
    flex: 0 0 30%;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
}

.social {
    display: flex;
    list-style-type: none;
    padding-left: 0;
}

.social a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    padding: 0 0.8rem;
}

.social a:hover {
    color: #6C5E6A;
}

.footer-nav a {
    text-decoration: none;
    font-size: 0.8rem;
    color: rgb(255, 255, 255);
}

.footer-nav a:hover {
    color: #6C5E6A;
}

#logo {
    padding-top: 1rem;
}

/* style for about-me.html*/

.header-about-me {
    background-image: linear-gradient(-120deg, rgba(106, 94, 106, 0.7),
    rgba(146, 61, 136, 1)),
    url(/myportfolio/images/header-about-me.jpg);
    background-size: cover;
    padding: 9rem 0 6rem 0;
    box-shadow: 0 0.5rem 3rem 0 inset rgba(0, 0, 0, 0.5);
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.graphics-software {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 7rem;
}

.avatar {
    width: 50%;
    text-align: center;
    padding-top: 3rem;
}

.avatar ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 0;
}

.avatar ul li {
    align-self: flex-start;
    padding-bottom: 0.5rem;
    color: rgb(0, 0, 0);
}

.avatar ul li:first-child {
    font-weight: bold; 
}

.avatar .fas {
    font-size: 0.8rem;
    padding-right: 0.3rem;
    color: rgb(146, 61, 136);
}

.avatar img {
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow:0 0.2rem 0.5rem 0 rgba(0, 0, 0, 0.3);
}

.info-about {
    width: 50%;
}

.info-about h2 {
    background-image: linear-gradient(120deg, rgba(146, 61, 136, 1),
    rgba(106, 94, 106, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-left: 3px solid rgb(146, 61, 136);
    padding-left: 1rem;
}

.icon-about{
    margin-top: 8rem;
    text-align: center;
}

.icon-about img {
    background-image: linear-gradient(0deg, rgba(146, 61, 136, 0.3),
    rgba(146, 61, 136, 0.5));
    margin: 0rem 2rem 2rem 2rem;
    padding: 2rem;
}

/* style for graphic-design.html*/

.header-section-design {
    background-image: linear-gradient(-120deg, rgba(108, 94, 106, 0.8),
    rgba(0, 102, 160, 0.7)),
    url(/myportfolio/images/header-graphic-design.jpg);
    background-size: cover;
    padding: 6rem 0;
    box-shadow: 0 0.5rem 3rem 0 inset rgba(0, 0, 0, 0.5);
}

.header-about-me h1,
.header-section-video h1,
.header-section-photographs h1,
.header-section-web-design h1,
.header-section-design h1 {
    text-align: center;
    margin: 0;
    font-weight: bold;
    color: rgb(255, 255, 255);
}

.wrapper-items {
    display: flex;
    flex-direction: column;
}

.descriptions {
    margin: 0rem auto;
    padding-top: 6rem;
}

.base-img {
    text-align: center;
    padding: 1rem;
}

.project-description {
    margin: 0rem auto;
    padding-top: 6rem;
    width: 40%;
}

.project {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0rem auto;
    padding: 7rem 0;
}

.project-new-type {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 7rem 0;
    background-color: rgb(249, 249, 249);
}

.project-two-type {
    display: flex;
    flex-direction: column;
    padding: 7rem 0;
}

.project-third-type {
    display: flex;
    flex-wrap: wrap;
    padding: 7rem 0;
    background-image: linear-gradient(90deg, rgba(0, 102, 160, 1),
    rgba(108, 94, 106, 0.9));
}

.simple-img {
    margin: 0 auto;
    padding: 1rem 0;
}

.simple-img .span {
    margin: 0 auto;
}


.third-img {
    margin: 0 auto;
    padding: 0 1rem;
}

.secondary-img span:nth-child(2) {
    padding-left: 4rem;
}

.third-img img,
.secondary-img img,
.simple-img img{
    max-width: 100%;
}

.small-img {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.img {
    display: flex;
    flex-wrap: wrap;
    margin: 0 2rem;
    align-items: flex-start;
    justify-content: center;
}

.img img{
    margin: 1rem;
}

.small-img img {
    margin: 0 2rem 2rem 2rem;
}

.blok {
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgb(180, 180, 180);
    padding: 9rem 0;
}

.blok-subtitle {
    display: flex;
    width: 40%;
    flex-direction: column;
    padding-bottom: 2rem;
    margin: 0 auto;
}

.blok-subtitle h3 {
    margin-top: 0;
    padding-left: 1rem;
    color: rgb(255, 255, 255);
    border-left: 3px solid rgb(255, 255, 255);
}

.blok-subtitle p {
    color: rgb(255, 255, 255);
}

.blok img {
    padding: 0 2rem;
}

.border {
    display: flex;
    flex-direction: column;
    padding: 7rem 0;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}
.img-flyer {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.img-flyer img:first-child {
    margin: 0 2rem 2rem 0;
}

.project-sunshades {
    display: flex;
    flex-direction: column;
    padding: 5rem 0 3rem 0;
}

.wrap-sunshade {
    display: flex;
    width: 70%;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0rem auto;
}

.wrap-sunshade span {
    padding-bottom: 2rem;
}

.wrap-sunshade span img {
    max-width: 100%;
}

.img-wrap span {
    padding: 0 1rem;
    text-align: center;
    margin: 0rem auto;
    margin-bottom: 3rem;
}

.internal-title {
    display: flex;
    width: 40%;
    margin: 0 auto;
    padding-bottom: 2rem;
    flex-direction: column;

}

.internal-title h3,
.project-description h2 {
    font-weight: 800;
    color: rgb(0, 102, 160);
    padding-left: 1rem;
    margin-top: 0;
    border-left: 3px solid rgb(0, 102, 160);
}

.icon {
    display: flex;
}

.icon div {
    padding-right: 1rem;
}

.short-description {
    font-size: 0.7rem;
    padding-bottom: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    color: rgb(102, 102, 102);
}

.short-description-blok {
    color: rgb(255, 255, 255);
}

.external-branding {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

 #mouse over:hover {
     background-image : url(/myportfolio/images/banner_web_link_from_slunchice_shop_hover.jpg);
     
 }

/* style for web-design.html*/

.header-section-web-design {
    background-image: linear-gradient(-120deg, rgba(108, 94, 106, 0.8),
    rgba(146, 61, 136, 0.9)),
    url(/myportfolio/images/header-web-design.jpg);
    background-size: cover;
    padding: 6rem 0;
    box-shadow: 0 0.5rem 3rem 0 inset rgba(0, 0, 0, 0.5);
}

.web:first-child {
    font-weight: 800;
    color: rgba(155, 45, 189);
    padding-left: 1rem;
    margin-top: 0;
    border-left: 3px solid rgba(155, 45, 189);
}

.project-web {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0rem auto;
    padding: 7rem 0;
}

.project-web > .img img {
    padding: 2rem 1rem 1rem;
}

.blok-web {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7rem 0;
    background: linear-gradient(120deg, rgba(155, 45, 189, 0.8),
    rgba(179, 36, 132, 0.9));
    clip-path: polygon(0px 16%, 100% 0px, 100% 100%, 0px 100%);
}

.img-web {
    margin: 0 auto;
}

.img-wrap {
    display: flex;
    flex-direction: column;
    padding: 7rem 0;
}

.img-wrap:nth-child(odd) {
    background: linear-gradient(90deg, rgba(249, 249, 249, 1),
    rgba(200, 200, 200, 0.8));
}

#top-padding {
    padding: 0 0 1rem 0;
}

/* style for photographs.html*/

.header-section-photographs {
    background-image: linear-gradient(-120deg, rgba(108, 94, 106, 0.8),
    rgba(136, 197, 102, 0.9)),
    url(/myportfolio/images/header-photographs.jpg);
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    box-shadow: 0 0.5rem 3rem 0 inset rgba(0, 0, 0, 0.5);
}

.photo:first-child {
    font-weight: 800;
    color: rgb(172, 197, 102);
    padding-left: 1rem;
    margin-top: 0;
    border-left: 3px solid rgb(172, 197, 102);
}

/* style for modal/lightbox*/

.row > .column {
    padding: 1rem;
}
  
.row:after {
    content: "";
    display: table;
    clear: both;
  }
  
.row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4.5rem 0;
}
  
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}
  
.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
}
  
.close {
    color: white;
    position: absolute;
    top: 50px;
    right: 220px;
    font-size: 35px;
    font-weight: bold;
}
  
.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}
  
.mySlides {
    display: none;
}
  

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}
  

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
  
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
  

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}
  
img.demo {
    opacity: 0.6;
}
  
.active,
.demo:hover {
    opacity: 1;
}
  
img.hover-shadow {
    transition: 0.3s;
}
  
.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* style for video.html*/

.header-section-video {
    background-image: linear-gradient(-120deg, rgba(108, 94, 106, 0.8),
    rgba(192, 17, 17, 0.8)),
    url(/myportfolio/images/header-video.jpg);
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    box-shadow: 0 0.5rem 3rem 0 inset rgba(0, 0, 0, 0.5);
}

.video:first-child {
    font-weight: 800;
    color: rgb(192, 17, 17);
    padding-left: 1rem;
    margin-top: 0;
    border-left: 3px solid rgb(192, 17, 17);
}

.video-container {
    display: flex;
    flex-direction: column;
    padding: 7rem 0;
}

.video-container:nth-child(odd) {
    background-image: linear-gradient(90deg, rgba(249, 249, 249, 1),
    rgba(200, 200, 200, 0.8));
}

.video-frame {
    margin: 0 auto;
}

/* style for 404.html*/

.wrap-404 {
    display: flex;
    flex-direction: column;
    margin: 4rem auto;
    margin-top: 6rem;
    align-items: center;
    width: 90%;
    border: 1px solid rgb(249, 174, 24);
    border-radius: 0.4rem;
}

.wrap-404 h1 {
    font-size: 4rem;
    font-weight: bold;
    background-image: linear-gradient(120deg, rgba(249, 174, 24, 1),
    rgba(15, 50, 50, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 2px solid rgb(249, 174, 24);
}

.wrap-404 p {
    text-transform: uppercase;
    font-weight: bold;
    width: 80%;
    text-align: center;
}

@media screen and (max-width: 1450px) {
    
      .secondary-img {
        display: flex;
        justify-content: center;
    }
    
@media screen and (max-width: 1250px) {
    
     .header {
          padding: 15rem 0 6rem 0;    
     }
    
    
    .base-img {
        width: 100%;
    }
   
    #sunshane-descriptions {
       flex-direction: column;
   }

   .project-description {
        width: 60%;
        padding-top: 3rem;
        margin: 0 auto;
   }
    
    .project-web img,
    .border img,
    .project img,
    .external-branding img {
       max-width: 100%;
       height: auto;
   }
    
     .blok {
        flex-direction: column;
        align-items: center;
    }
    
    .blok-subtitle,
    .internal-title {
        width: 60%;
        margin: 0 auto;
        padding: 0 0 2rem 0;
    }

   .img-wrap {
       flex-direction: column;
   }

   .img-wrap span {
        text-align: center;
    }

    .img span {
        max-width: 100%;
        margin-bottom: 3rem;
        text-align: center;
    }

    .img-flyer img:first-child {
        margin: 0 0 1.5rem 0;
    }

    .img-web {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .project-web > .img img{
        padding: 0;
    }

    .border {
        flex-direction: column;
    }

    .project-new-type .simple-img
    .border .img {
        margin: 0 auto;
    }
    
    .video-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 0;
    }

    .video-frame {
        margin: 0 auto;
    }
    
    .third-img,
    .secondary-img {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .third-img span,
    .secondary-img span {
        text-align: center;
    }

    .secondary-img span:nth-child(2) {
        padding-left: 0
    }
}

@media screen and (max-width: 800px) {
    
     .what {
        width: 90%;
    }
    
    .avatar,
    .info-about {
        width: 70%;
    }

    .header-section-design,
    .header-section-web-design,
    .header-section-photographs,
    .header-section-video,
    .header-about-me {
        padding-top: 8rem;
    }

    .descriptions {
        flex-direction: column;
        width: 100%;
    }

    .base-img {
        width: 100%;
    }

    .base-img img {
        max-width: 100%;  
    }
    
    .blok-subtitle, 
    .internal-title,
    .project-description {
        width: 90%;
        padding: 0;
    }

    .simple-img {
        width: 80%;
    }

    .wrap-sunshade {
        width: 90%;
    }
    
    .blok-web img,
    .blok img {
        max-width: 70%;
        height: auto;
        padding: 0;
    }

    .project-container img {
        max-width: 90%;
        height: auto;
    }

    .project-container img img {
        max-width: 100%;
    }
    
    .img-web img {
        max-width: 100%;
    }

    .video-container {
        width: 100%;
    }



@media screen and (max-width: 700px) {
    
    .header h1,
    .header h2 {
        font-size: 3rem;
        font-weight: 800;
        margin: 0;
    }
    
    .info {
        padding: 0 5rem 5rem 5rem;
    }

    .img {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .column {
        max-width: 100%;
        height: auto;
    }

    .column img {
        max-width: 100%;
        height: auto;
    }

    .avatar {
        width: 100%;
    }

    .person {
        flex-direction: column;
        align-items: center;
    }

    .info-about {
        width: 90%;
        padding-right: 0;
        margin: 0 auto;
    }

    .icon-about h5 {
        margin-top: 5rem;
    }

    .border .img {
        margin: 0;
        padding: 0;
    }

    .secondary-img img {
        padding: 0 1rem;
    }

    .video-frame iframe {
        max-width: 100%;
    }
}

@media screen and (max-width: 500px) {
    
    .info {
        padding: 0.5rem;
    }
    
    .button {
        padding: 0.5rem 7rem;
}

    .wrap {
        width: 100%;
}
    .what h3 {
        font-size: 1rem;
}
    
    .wrap-content {
        flex-direction: column;
    }

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

    .small-img img {
        max-width: 100%;
        margin: 2rem 0;
    }

    .wrap-sunshade {
        padding-left: 0; 
    }

    .row > .column {
        padding: 0.5rem 0;
    }
}
