/* 
Theme Name:		 child
Theme URI:		 ildika.by
Description:	 new theme
Author:			 ildika
Author URI:		 http://childthemegenerator.com/
Template:		 twentyseventeen
Version:		 1.0.0
Text Domain:	 Twenty-Seventeen-child
-------------------------------------------------------------- */

/* =Theme customization starts here
------------------------------------------------------- */
html {
  padding: 0;
  margin: 0;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: #333;
}

.all-site {
  display: flex;
  flex-direction: row;
}
.all-left {
  min-height: 100vh;
  width: 65vw;
  padding: 0 20px 0;
}

.all-right {
  background: url(bg-r.png);
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 35vw;
}
.wrap-left {
  min-height: 100vh;
  max-width: 1030px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wrap-name {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 135px;
  line-height: 110px;
  color: #06a5d7;
  max-width: 924px;
  margin-top: 120px;
}

.s-footer {
  margin-top: 50px;
  margin-bottom: 50px;
}

.footer-txt {
  color: #666666;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.s-name {
  position: relative;
}
.bear {
  position: absolute;
  z-index: -5;
  top: 20px;
  right: 0px;
}

.wrap-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.menu-items {
  display: flex;
  flex-direction: row;
  margin-left: 35px;
}

.arrow {
  margin-top: 35px;
}

.menu-item {
  margin: 0 25px 0;
}

.menu-item a {
  font-size: 15px;
  line-height: 22px;
  color: #333333;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid #fff0;
}

.menu-item a:hover {
  text-decoration: none;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid #06a5d7;
}

.insta {
  margin-left: 25px;
}

a.drawer-menu-item svg {
  fill: #333;
}

a.drawer-menu-item svg:hover {
  fill: #06a5d7;
}

.insta svg {
  fill: #333;
}

.insta svg:hover {
  fill: #06a5d7;
}

.s-rules {
  background-color: rgb(6 165 215 / 85%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.wrap-rules {
  max-width: 345px;
  padding: 50px auto;
}

.rules-i {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 0;
}

.rules-num {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: bold;
  font-size: 50px;
  color: #fff;
  margin-right: 26px;
}

.rules-txt {
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #fff;
}

.h-rules {
  color: #fff;
  font-size: 34px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.2;
}

.layer {
  transition: all 200ms ease-out;
}

.drawer-hamburger {
  width: 40px;
  display: none;
}

.drawer-hamburger-icon,
.drawer-hamburger-icon:after,
.drawer-hamburger-icon:before {
  height: 3px;
  background-color: #d50b7a;
}

.s-footer-mob {
  display: none;
}

.rules-txt p {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.rules-txt p a {
  color: #fff;
  text-decoration: underline;
}

.rules-txt p a:hover,
.rules-txt p a:focus,
.rules-txt p a:active {
  color: #fff;
  text-decoration: none;
}

/*
modals
*/
.modal-content {
  background: #fff;
}

.modal-content {
  border-radius: 0;
  border: 0;
}

.modal-body {
  padding: 30px 40px;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  -webkit-filter: brightness(0);
  filter: brightness(0);
}

.modal-header .close {
  position: absolute;
  right: 15px;
  top: 15px;
}

.modal-header {
  padding: 20px 40px;
}

button:focus {
  outline: none;
}

.contact-h {
  color: #06a5d7;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 1370px) {
  .wrap-name {
    font-size: 8.5vw;
    line-height: 7.5vw;
    margin-top: 50px;
  }
}

@media (max-width: 1000px) {
  .all-site {
    display: flex;
    flex-direction: column;
  }
  .all-left {
    width: auto;
    padding: 0 20px 0;
    min-height: auto;
  }

  .all-right {
    min-height: auto;
    width: 100%;
    margin: 40px 0;
  }
  .wrap-left {
    min-height: unset;
    max-width: 1030px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .bear {
    position: relative;
    z-index: unset;
    top: 20px;
    right: 0px;
    text-align: center;
    width: 190px;
    margin: 20px auto;
  }

  .bear-img {
    max-width: 100%;
    height: auto;
  }
  .s-rules {
    padding: 80px 20px;
  }
  .s-footer {
    display: none;
  }
  .s-footer-mob {
    display: block;
    padding: 0 20px 50px;
  }

  .menu-items {
    display: none;
  }
  .wrap-name {
    font-size: 11.5vw;
    line-height: 10.5vw;
  }

  .wrap-mob-menu {
    padding: 30px 30px 70px;
  }

  .drawer-hamburger {
    display: block;
  }
  .arrow img {
    transform: rotate(90deg);
    position: absolute;
    top: 50px;
    left: -30px;
  }
  .arrow {
    position: relative;
  }
}

@media (max-width: 768px) {
  .wrap-name {
    font-size: 14.5vw;
    line-height: 13.5vw;
  }
}
