* { box-sizing: border-box;  scroll-behavior: smooth; }
body {
  margin: 0;
  background-image: url(images/rec.jpg);
  background-size: auto 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    background-color:#a1a08b;
    width: 100vw;
    height: 10vh;
    padding: 0 7vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}
  
.logotipchik{
    height: 8vh;
    background-image: url(/images/new_logo.png);
    padding-left: 0px;
    cursor: pointer;
}
  
.primary-navigation {
    display: block;
    text-align: center;
    font-size: 16px;
}
#navv{
    list-style: none;
    margin: 0 auto;
  
    display: inline-block;
    padding: 0 30px;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: 600;
    transition: 0.3s;
}
.nav-button{
    color: #f6ede4;
}
#navv a{
    color: #f6ede4;
    transition: 0.3s;
}
#navv a:hover{
    color:#7b2b50;
}
.nav-button:hover {
    color: #7b2b50;
    cursor: pointer;
  }
.dropdown {
    display: none;
    position: absolute;
    padding-left: 0;
    left: 0;
}
.dropdown_active {
    display: block;
    min-width: 250px;
    text-align: left;
    padding-top: 20px;
    padding-left: 30px;
    background: #a1a08b;
}
.dropdownli {
    clear: both;
    width: 100%;
    text-align: left;
    border-style: none;
    list-style: none;
    padding: 10px 0;
}
.dropdown #a1,#a2,#a3,#a4{
    color: #f6ede4;
    transition: all 0.3s ease;
}
/* #a4{
    padding-bottom: 20px;
} */
.dropdown #a1:hover{
    color: #FFD21D;
    border-left: 2px solid #FFD21D;
    padding-left: 15px;
}
.dropdown #a2:hover{
    color: #FF931E;
    border-left: 2px solid #FF931E;
    padding-left: 15px;
}
.dropdown #a3:hover{
    color: #58DB40;
    border-left: 2px solid #58DB40;
    padding-left: 15px;
}
  
.dropdown #a4:hover{
    color: #81CDFF;
    border-left: 2px solid #81CDFF;
    padding-left: 15px;
}
a {
    text-decoration: none;
}
a:hover {
    color: #7b2b50;
}
  
ul li ul li{
    transition: all 0.3s ease;
}
  
footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 10vh;
    background-color:#a1a08b;
    display: flex;
    justify-content:center;
    align-items: center;
}
  
.our_image{
    width: 30vh;
    display: flex;
    justify-content: space-between;
    position: absolute;
}
.our_image a{
    height:6vh
}
.image{
    width: 6vh;
    height: 6vh;
    transition: 0.3s;
}
.image:hover{
    cursor: pointer;
    opacity: 0;
}
  
.our_imageee{
    width: 30vh;
    display: flex;
    justify-content: space-between;
}
.imageee{
    height: 6vh;
    width: 6vh;
}
  
.hamburger-menu{
    display: none;
}
#menu__toggle {
    display: none;
}
#menu__toggle:checked + .menu__btn > span {
    transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
    right: 0 !important;
}
.menu__btn {
    cursor: pointer;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;
    z-index: 10;
    width: 30px;
    height: 2.5px;
    background-color: #f6ede4;
    transition-duration: 0.25s;
}
.menu__btn > span{
    right: 7vw;
}
.menu__btn > span::before {
    content: "";
    top: -8px;
}
.menu__btn > span::after {
    content: "";
    top: 8px;
}
.menu__box {
    display: block;
    position: fixed;
    z-index: 1;
    top: 0;
    right: -65vw;
    width: 60vw;
    height: 100vh;
    margin: 0;
    padding: 70px 0;
    color: #f6ede4; 
    list-style: none;
    background-color: #a1a08b;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    transition-duration: 0.25s;
}
#menu{
    display: block;
    padding: 14px 30px;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    transition-duration: .25s;
    
}
.logo_burger{
    width: 135%;
    position: absolute;
    bottom: 5vh;
    right: -40%;
}
.menu-button:hover{
    color: #7b2b50;
    cursor:pointer
}
#menu a{
    color: #f6ede4;
    transition: 0.3s;
}
#menu a:hover{
    color:#7b2b50;
}
.menu-button:hover {
    color: #7b2b50;
    cursor: pointer;
}
.dropdown_menu {
    display: none;
    padding-left: 0;
    left: 0;
}
.dropdown_active {
    display: block;
    min-width: 250px;
    text-align: left;
    padding-top: 20px;
    padding-left: 20px;
    background: #a1a08b;
}
.dropdownli_menu {
    clear: both;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
    border-style: none;
    list-style: none;
}
.dropdown_menu #a5,#a6,#a7,#a8{
    font-size: 14px;
    color:  #f6ede4;
}
.dropdownli_menu:hover {
    padding-left: 10px;
    transition: all 0.3s ease;
}
.dropdown_menu #a5:hover{
    color: #FFD21D;
    border-left: 2px solid #FFD21D;
    padding-left: 10px;
}
.dropdown_menu #a6:hover{
    color: #FF931E;
    border-left: 2px solid #FF931E;
    padding-left: 10px;
}
.dropdown_menu #a7:hover{
    color: #58DB40;
    border-left: 2px solid #58DB40;
    padding-left: 10px;
}
  
.dropdown_menu #a8:hover{
    color: #81CDFF;
    border-left: 2px solid #81CDFF;
    padding-left: 10px;
  }
a {
    text-decoration: none;
  }
  
ul li ul li{
    transition: all 0.3s ease;
}
.start{
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 57vw;
    height: 60vh;
    background:#F6EEE4;
    border-radius: 35px;
    margin: 20vh auto;
    padding: 2vw;
    border: 1px solid black;
}
.inf-down{
    text-align: center;
    width: 100%;
    font-size: 60px;
    font-family: 'Montserrat';
    font-weight: 900;
    color: #7B2A58;
    text-transform: uppercase;
}
.inf-under{
    font-size: 23px;
    text-align: center;
    width: 60%;
    margin: 4vh 0;
    font-style: italic;
    font-family: 'Montserrat';
    font-weight: 400;
    color:#3A3A2E;
    line-height: 40px;
}

.strelka{
	position: relative;
	width: 3vh;
	height: 3vh;
    margin-bottom: 1vh;
}
.strelka:before,
.strelka:after {
	content: '';
	position: absolute;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	border-left: 4.5px solid #79736C;
	border-bottom: 4.5px solid #79736C;
	animation: strelka 3s linear infinite;
}
.strelka:after {
	animation: strelka 3s linear infinite -1.5s;
}
@keyframes strelka {
	0% {
		opacity: 0;
		transform: translate(0, -20px) rotate(-45deg);
	}
	10%, 90% {
		opacity: 0;
	}
	50% {
		opacity: 1;  
		transform: translate(0, 0) rotate(-45deg);
	}
	100% {
		opacity: 0;
		transform: translate(0, 20px) rotate(-45deg);
	}
}
.end{
    position: relative;
    width: 57vw;
    height: 60vh;
    background:#F6EEE4;
    border-radius: 35px;
    margin: 20vh auto;
    padding: 2vw;
    border: 1px solid black;
    display:flex;
    flex-direction: column;
    justify-content: center;
}
.rectangle{
    position: relative;
    width: 57vw;
    height: 60vh;
    background:#F6EEE4;
    border-radius: 35px;
    margin: 20vh auto;
    padding: 2vw;
    border: 1px solid black;
    display:flex;
    flex-direction: column;
    justify-content: center;
}
.number{
    font-size: 26px;
    font-family: 'Montserrat';
    font-weight: 800;
    text-transform:uppercase;
    text-align: center;
    color: #7B2A58;
}
.inf{
    width: 90%;
    font-size: 25px;
    font-family: 'Montserrat';
    font-weight: 900;
    text-transform:uppercase;
    text-align: center;
    color:#3A3A2E;
    margin: 2vh auto;
}
.quiz{
    display: flex;
    justify-content: space-around;
    height: 50%;
    width: 100%;
    margin: 2vh 0;
}
.quiz-column{
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.quest{
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 500;
    font-style: italic;
    color: #3A3A2E;
}
    
.quest label{
    display: block;
}



.cafe, .muzei, .parki, .act{
    color: #7b2b50;
    font-size: 19px;
    font-weight: 600;
    font-style: italic;
    font-family: 'Montserrat';
    transition: 0.2s;
    position: relative;
}
.cafe:after, .muzei:after, .parki:after, .act:after {
	content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    height: 2px; /* Высота линии */
    background-color: #A1A18B; /* Цвет подчеркивания при исчезании линии*/
    transition: width 0.5s; /* Время эффекта */
}
.cafe:hover:after, .muzei:hover:after, .parki:hover:after, .act:hover:after {
	content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px; /* Высота линии */
    background-color: #7b2b50; /* Цвет подчеркивания при появлении линии*/
    transition: width 0.5s;  /* Время эффекта */
}
label{
    display: block;
}



.custom-radio>input {
    position: absolute;
    z-index: -1;
    opacity: 0;
  }

  /* для элемента label связанного с .custom-radio */
  .custom-radio>span {
    display: inline-flex;
    align-items: center;
    user-select: none;
    padding: 1vh;
    border-radius: 20px;
    transition: 0.2s;
  }

  /* создание в label псевдоэлемента  before со следующими стилями */
  .custom-radio>span::before {
    content: '';
    display: inline-block;
    width: 1vh;
    height: 1vh;
    flex-shrink: 0;
    flex-grow: 0;
    border: 3.5px solid #8F8F75;
    border-radius: 50%;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
  }

  /* стили при наведении курсора на радио */
  .custom-radio>input:not(:disabled):not(:checked)+span:hover::before {
    border-color: #7b2b50;
  }
  .custom-radio>input:not(:disabled):not(:checked)+span:hover {
    color: #7b2b50;
    background: #A1A18B;
  }

  /* стили для активной радиокнопки (при нажатии на неё) */
  .custom-radio>input:not(:disabled):active+span::before {
    border-color: #f6eee4;
  }

  /* стили для радиокнопки, находящейся в фокусе и не находящейся в состоянии checked */
  .custom-radio>input:focus:not(:checked)+span::before {
    border-color: #f6eee4;
  }

  /* стили для радиокнопки, находящейся в состоянии checked */
  .custom-radio>input:checked+span::before {
    border-color: #f6eee4;
  }
  .custom-radio>input:checked + span {
    color:#f6eee4;
    background-color: #A1A18B;
  }

.radio {
    margin-bottom: 0.2em;
}

.btn-primary {
    color: #fff;
    background-color: #7B2A58;
    border-color: #7B2A58;
    font-family: 'Montserrat';
    font-style: italic;
    text-transform: uppercase;
}
.get-result {
    left: 50%;
    transform: translateX(-50%);
    bottom: 2vh;
    position: absolute;
}
.btn {
    cursor: pointer;
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    user-select: none;
    background-image: none;
    border: 2px solid transparent;
    border-radius: 40px;
    font-family: 'Montserrat';
}


#result {
    font-size: 19px;
    font-weight: 400;
    font-style: italic;
    font-family: 'Montserrat';
    color: #000;
    text-transform: uppercase;
    text-align: center;
    line-height: 40px;
}
button {
    position: relative;
    display: block;
    cursor: pointer;
    outline: none;
    border: 0;
    text-decoration: none;
    background: transparent;
    padding: 0;
    margin: 2vh auto 0 auto;
  }
  button.learn-more {
    width: 35%;
    height: auto;
  }
  button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #6C7244;
    border-radius: 50px;
  }
  button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #f6eee4;
  }
  button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
  }
  button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.3rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #f6eee4;
    border-right: 0.125rem solid #f6eee4;
    transform: rotate(45deg);
  }
  button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 0 0 1.85rem;
    color: #6C7244;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-style: italic;
  }
  button:hover .circle {
    width: 100%;
  }
  button:hover .circle .icon.arrow {
    background: #f6eee4;
    transform: translate(1rem, 0);
  }
  button:hover .button-text {
    color: #f6eee4;
  }


.flex-container{
    width: 7vh;
    height:7vh ;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    user-select: none;
    background-image: none;
    border: 2px solid transparent;
    border-radius: 40px;
    font-family: inherit;
    color: #fff;
    background-color: #6C7244;
  
}
.im{
    font-family: 'Montserrat';
    font-size: 19px;
    font-weight: 900;
}
.imm{
    height:3vh;
    padding-right: 2vh;
}

@media(max-width: 1300px){
    .start, .rectangle{
        width: 67vw;
    }
    .inf-under{
        margin: 6vh 0;
    }
}
@media (max-width: 900px) {
    .image, .imageee{
      width: 5vh;
      height: 5vh;
    }
    .logotipchik{
      height: 5vh;
    }
    .our_image, .our_imageee{
      width: 25vh;
    }
    .our_image a{
      height:5vh;
    }
    .start, .end{
        width: 90vw;
        height: 35vh;
        margin: 32.5vh auto;
        padding: 1vw;
    }
    .start{
        justify-content: center;
    }
    .rectangle{
        width: 90vw;
        height: 35vh;
        margin: 7.5vh auto;
        padding: 1vw;
    }
    .inf-down{
        font-size: 42px;
    }
    .inf-under{
        font-size: 19px;
        margin: 2vh 0;
    }
    .strelka{
        width: 2vh;
        height: 2vh;
        margin-bottom: 0;
    }
    .strelka:before,
    .strelka:after {
        border-left: 4px solid #79736C;
        border-bottom: 4px solid #79736C;
    }
    @keyframes strelka {
        0% {
          opacity: 0;
          transform: translate(0, -14px) rotate(-45deg);
        }
        10%, 90% {
          opacity: 0;
        }
        50% {
          opacity: 1;  
          transform: translate(0, 0) rotate(-45deg);
        }
        100% {
          opacity: 0;
          transform: translate(0, 14px) rotate(-45deg);
        }
    }
    .number{
        font-size: 22px;
    }
    .inf{
        font-size: 21px;
        margin: 1vh auto;
    }
    #result, .cafe, .act, .muzei, .parki{
        font-size: 17px;
    }
    #result{
        width: 90%;
        margin: auto;
    }
    .get-result{
        bottom: 1vh;
    }
    .btn{
        font-size: 12px;
        padding: 5px 12px;
    }
    .quest{
        font-size: 13px;
    }
    .inf-under, #result{
        line-height: 30px;
    }
}
@media (max-width: 850px){
    .primary-navigation{
      display: none;
    }
    .hamburger-menu{
      display: block;
    }
    button.learn-more .circle{
        width: 2rem;
        height: 2rem;
    }
    button.learn-more .circle .icon.arrow{
        left: 0.225rem;
    }
    button.learn-more .button-text{
        margin: 0 0 0 2.5rem;
        line-height: 1.5;
        font-size: 12px;
    }
    .quiz{
        height: auto;
    }
}
@media (max-width: 600px) {
    header, footer{
    height: 7.2vh;
    }
    section{
      height: 85.6vh;
    }
    .image, .imageee{
      width: 4.5vh;
      height: 4.5vh;
    }
    .logotipchik{
      height: 4.5vh;
    }
    .our_image, .our_imageee{
      width: 22.5vh;
    }
    .our_image a{
      height:4.5vh;
    }
    #navv{
      padding: 0 15px;
      font-size: 12px;
    }
    .start, .end{
        width: 90vw;
        height: 40vh;
        margin: 30vh auto;
    }
    .rectangle{
        width: 90vw;
        height: 40vh;
        margin: 5vh auto;
    }
    .inf-down{
        font-size: 32px;
    }
    .inf-under{
        width: 75%;
        font-size: 15px;
    }
    .number{
        font-size: 16px;
    }
    .inf{
        font-size: 15px;
    }
    #result, .cafe, .act, .muzei, .parki{
        font-size: 11px;
    }
    .quest{
        font-size: 10px;
    }
    .quiz{
        margin: 1vh 0;
    }
    .quiz-column{
        width: 47%;
    }
    button.learn-more{
        width: 60%;
    }
    .inf-under, #result{
        line-height: 20px;
    }
}
