@import url('https://fonts.googleapis.com/css?family=Philosopher');
html, body {
font-family: 'Philosopher', sans-serif;  
}
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;    
}
header {
background-image: url(img/2dAsPOjZR4433334.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.pist {
text-align: center;
font-size: 32px;
} 
.container {
    margin: 0 auto;  
}
.container1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.spoiler-title {
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 30px;
}
summary:focus{
    outline: none;
  }
summary::-webkit-details-marker {
    display: none;
}
.header-logo-title p {
    font-size: 30px;
    font-weight: 400;
    padding: 0 0 0 30px;
    color: #fff;
    line-height: 1,1;
}
.ai-c {
        align-items: center;
    }
.flex {
        display: flex;}
        .col-501 {
            margin-top: 180px;
        }
.header_contacts {
        text-align: left;
           position: relative;
           bottom: 0%;
           z-index: 1;
           margin-right: 60px;
        }
.header_contacts p {
            font-size: 28px;
            font-weight: 400;
            background-position: left 3px center;
            background-repeat: no-repeat;
            background-size: 20px;
            padding: 5px 0 5px 0px;
            color: #fff;
        }
        .phead {
        color: #d1d3d4;    
        }
.spoiler-title1 {
    font-size: 32px;
    font-weight: 400;
    background-position: left 3px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding: 5px 0 5px 0px;
    color: #fff;
    margin-bottom: 125px;
    margin-left: 70px;
}
.spoiler-title2 {
    text-align: right;
    color: #fff;
    font-size: 25px;
    top: 80px;
    position: relative;
    }
       .osn {
       font-size: 52px;
           text-align: center;
           margin-top: 0px;
           margin-bottom: 0px;
           color: #ffffff;
           font-weight: 100;
           margin-top: 30px;
       }      
.p1 {
    color:#f7db1b;
}
.p2 {
    color: #fff;
}

.why-us {
    max-width: 950px;
    margin: 10px auto 0;
}
.why-us .col-50 {
    width: 100%;
    text-align: center;
}

.why-us .col-50 .title {
    display: inline-block;
    font-size: 30px;
    line-height: 32px;
    color: #8c8f96;
    font-weight: 200;
    margin-bottom: 0px;
}
.why-us .col-501 {
    width: 100%;
    text-align: center;
}

.why-us .col-501 .title {
    display: inline-block;
    font-size: 30px;
    line-height: 32px;
    color: #58595b;
    font-weight: 200;
    margin-bottom: 0px;
}
.why-us .col-502 {
    width: 100%;
    text-align: center;
}

.why-us .col-502 .title {
    display: inline-block;
    line-height: 28px;
    color: #58595b;
    font-weight: 200;
    margin-bottom: 0px;
    text-align: center;
}
.text {
   color: #c0d1d2;
   font-size: 19px;
}
.end {
   color: #e6e7e8;
   font-size: 30px;
   text-align: center;
   font-weight: 200;
}
* {
    box-sizing: border-box;

}
.logo1 {
    height: 170px;
    margin-left: 10px;
}
summary {
    display: block;
    position: relative;
}
details {
    margin-left: auto;
    margin-right: auto;
}

.modalDialog {
 position: fixed;
 font-family: Arial, Helvetica, sans-serif;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 background: rgba(0,0,0,0.8);
 z-index: 99999;
 -webkit-transition: opacity 400ms ease-in;
 -moz-transition: opacity 400ms ease-in;
 transition: opacity 400ms ease-in;
 display: none;
 pointer-events: none;
}

.modalDialog:target {
    display: block;
    pointer-events: auto;
   }
    
   .modalDialog > div {
    width: 560px;
    position: relative;
    margin: 10% auto; 
   }

   .close {
    background: #606061;
    color: #FFFFFF;
    line-height: 30px;
    position: absolute;
    right: -18px;
    text-align: center;
    top: -22px;
    width: 30px;
    text-decoration: none;
    
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
    font-size: 23px;
    z-index: 9999;
   }
   .istor1 {
    background: url(img/joxi_screenshot_1547141191487.png) no-repeat center top;
    background-size: 110%;
    height: 380px;
    width: 280px;
    display: inline-block;
    margin-right: 30px; 
    vertical-align: bottom;
   }
   .istor1 p {
    color:#ffffff;
    opacity: 0; 
    font-size: 17px; 
    text-align: center;
   }
  .istor1:hover  {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 1s;
  }
  .istor1:hover p {
    opacity: 1; 
    transition: all 1s;
  }
  .isto {
  font-size: 20px;    
  }
 .istor2 {
    background: url(img/XXL.jpg) no-repeat center top;
    background-size: 100%;
    height: 380px;
    width: 280px;
    vertical-align: bottom;
    display: inline-block;
    margin-right: 30px;
 }
 .istor3 {
    background: url(img/pop.jpg) no-repeat center top;
    background-size: 100%;
    height: 380px;
    width: 280px;
    vertical-align: bottom;
    display: inline-block;
    margin-right: 30px; 
 }
 .istor4 {
    background: url(img/julia.jpg) no-repeat center top;
    background-size: 100%;
    height: 380px;
    width: 280px;
    vertical-align: bottom;
    display: inline-block;
    margin-right: 30px;
 }
 .istor2 p {
    color:#ffffff;
    opacity: 0; 
    font-size: 17px; 
    text-align: center;
   }
   .istor2:hover  {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 1s;}

  .istor2:hover p {
    opacity: 1;
    transition: all 1s;
    cursor: pointer;
  }
  .istor3 p {
    color:#ffffff;
    opacity: 0; 
    font-size: 17px; 
    text-align: center;
   }
   .istor3:hover  {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 1s;}
  .istor3:hover p {
    opacity: 1;
    transition: all 1s;
    cursor: pointer;
  }
  .istor4:hover  {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 1s;}
  .istor4 p {
    color:#ffffff;
    opacity: 0; 
    font-size: 17px; 
    text-align: center;
   }
  .istor4:hover p {
    opacity: 1;
    transition: all 1s;
    cursor: pointer;
  }
  .container2 {
    margin: 10px auto 0;
    
    text-align: center; 
  }
  .container3 {
    background-image: url(img/rendered.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
  }
  .wus-us {
    max-width: 950px;
    margin: 10px auto 0;    
  }
  .wus-us .col1 {
    width: 100%;
    text-align: left;
  }
 .wus-us .col12 {
    width: 100%;
    text-align: left;  
 }
.title1 {
 color: #fff;
 position: relative;
 top: 25px;
 font-weight: 500;
}
.text {
font-weight: 400;   
}
.black {
color: #000;
margin: 0 auto;  
}
.bottom {
    text-align: center; 
}
.logo4 {
    max-width:90%;
    margin-top: 20px;
}
.logo5 {
 width:60px;
 position:relative;
 left:6px;
}
@media screen and (max-width: 768px) {
    .why-us {
    flex-direction: column;
    align-items: center;
} 
.wus-us {
    flex-direction: column;
    align-items: center;
}
.header_contacts {
position:absolute;
margin-right: 0px; 
top: 0px;
left: 10px;
font-size: 28px;
}
.col-501 {
order: 1;
margin-top: 20px;
margin-bottom: 30px;
}
.spoiler-title1 {
margin-left: 0px;
}
.wus-us .col1 {
text-align: center;
}
.wus-us .col12 {
text-align: center;
}
.istor1 {
    margin-bottom: 15px;
   margin-right: 0px;
}
.istor2 {
    margin-bottom: 15px;
    margin-right: 0px;
}
.istor3 {
    margin-bottom: 15px;
    margin-right: 0px;
}
.istor4 {
    margin-bottom: 15px;
    margin-right: 0px;
}
.osn {
    font-size: 34px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.pist {
    font-size: 34px;
}
.end {
font-size: 24px;
}
.header-logo-title p {
font-size: 21px;
}
.header-logo-title {
margin-top: 100px;
}
.spoiler-title2 {
text-align: left;
font-size: 23px;
font-weight: 400;
position: absolute;
top: 50px;
}
}
