
body{
	margin:0;
	font_family:'Montserrat',sans-serif;
	
	font-size:15px;
	line-height:1.6;
	color:#333;
}

*,
*:before,
*:after{
	box-sizing:border-box;
}

h1,h2,h3,h4,h5,h6{
	margin:0;
}

.container_top{
	width:100%;
	padding:0 100px;
}

.header{
	display:block;
	width:100%;
	height:120px;
	position:fixed;
	top:0;
	left:0;
	right:0;
	z-index:100;
	background: #FFFFFF;
	
	box-shadow:0 0 5px;
}

main{
	padding-top: 120px;
}

.header_inner{
	margin-top:20px;
	display:flex;
	justify-content:space-between;
}

.header_logo{
	border:0;
	width:192px;
	height:65px; 
}

.left_checkbox input[type="checkbox"]{
	display:none;
}

.nav-container input[type="checkbox"]{
	display:none;
}


.topmenu,
.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== ВЕРХНЕЕ МЕНЮ ===== */
.topmenu {
    text-align: center;      /* выравнивание пунктов по центру */
    padding: 0;
}

/* Пункты верхнего меню */
.topmenu > li {
    position: relative;      /* чтобы подменю позиционировалось относительно пункта */
    display: inline-block;
    vertical-align: middle;
}

/* Ссылки верхнего меню */
.topmenu > li > a {
    position: relative;      /* для псевдоэлемента (точки) */
    display: block;
    padding: 20px 15px 10px;
    font-family: 'Times New Roman', serif;
    font-size: 1.3vw;         /* лучше фиксированный размер, чем vw */
    line-height: 1;
    letter-spacing: 1px;
    color: #222;
    text-decoration: none;
}

/* ===== ДЕКОРАТИВНАЯ ТОЧКА ПОД ССЫЛКОЙ ===== */
.topmenu > li > a::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13%;               /* точка будет у нижнего края ссылки */
    width: 15px;
    height: 15px;
    background: #358AFF;
    border-radius: 50%;
    transform: translate(-50%, 10px);  /* смещена вниз на 10px */
    opacity: 0;
    transition: opacity 0.1s, transform 0.1s;
    pointer-events: none;    /* чтобы точка не перехватывала наведение */
}

/* При наведении на пункт точка поднимается и становится видимой */
.topmenu > li:hover > a::before {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* ===== ПОДМЕНЮ ===== */
.submenu {
    position: absolute;
    top: 190%;               /* сразу под пунктом меню */
    left: -25px;                 /* прижато к левому краю пункта */
    width: 220px;            /* можно изменить под свой дизайн */
    padding: 15px 0;
    background: #0000FF;
    border-radius: 15px;
    box-shadow: 0px 5px 10px 5px #0088FF;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.9s, visibility 0.3s;
    text-align: center;
    z-index: 10;
}

/* Показываем подменю при наведении на родительский пункт */
.topmenu > li:hover .submenu {
    visibility: visible;
    opacity: 1;
}

/* ===== ПУНКТЫ ПОДМЕНЮ ===== */
.submenu li {
    display: block;          /* вертикальное расположение */
}

/* Ссылки подменю */
.submenu a {
    display: block;
    padding: 5px 10px;
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

/* Эффект при наведении на пункт подменю */
.submenu a:hover {
    background: #00479F;
    border-radius: 10px;
}

@media (max-width: 1500px) { 
  .topmenu > li > a {
    font-size: 2vw;
  }
  

}

@media (max-width: 768px) { 

  .container_top{
  	padding:0 10px;
  }

  .header{
  	height:100px;
  	position:fixed;
  }
  
  .header_inner{
  	height:10px;
  }
  
  
  .header_logo{
  	position:relative;
  	width:150px;
  	height:55px;
  	margin-top:15px;
  	margin-left:10px;
  }
  
  
  
  .left_checkbox input[type="checkbox"]{
  	position: fixed;
  	display: block;
  	height: 100%;
  	width: 100%;
  	top: 0px;
  	bottom:0px;
  	left: 0px;
  	z-index: 102;
  	opacity: 0;
  	transition-duration: 0.5s;
  	transform: translateX(-100%);
  }
  
  
  .nav-container input[type="checkbox"] {
  	position: fixed;
  	display: block;
  	height: 105px;
  	width: 105px;
  	top: 0px;
  	right: 0px;
  	z-index: 106;
  	opacity: 0;
  	transition-duration: 0.5s;
  	
  }
  
  
  
  .btn2 {
  	position:absolute;
  	width: 0px;
  	height: 0px;
  	top:40px;
  	right:105px;
  	transition-duration: 0.5s;
  }
  .btn2 .back{
  	position: absolute;
  	top:-15px;
  	right:-45px;
  	height: 55px;
  	width: 55px;
  	background-color: #00BFFF;
  	z-index:104;
  	border-radius:30px;
  }
  .btn2 .icon {
  	transition-duration: 0.5s;
  	position: absolute;
  	height: 4px;
  	width: 35px;
  	top: 10px;
  	background-color: #fff;
  	z-index:105;
  }
  .btn2 .icon:before {
  	transition-duration: 0.5s;
  	position: absolute;
  	width: 35px;
  	height: 4px;
  	background-color: #fff;
  	content: "";
  	top: -10px;
  	z-index:105;
  }
  .btn2 .icon:after {
  	transition-duration: 0.5s;
  	position: absolute;
  	width: 35px;
  	height: 4px;
  	background-color: #fff;
  	content: "";
  	top: 10px;
  	z-index:105;
  }	
  
  .topmenu {
  	position:absolute;
  	padding-top: 200px;
  	padding-right: 50px;
  	padding-left:10px;
  	padding-right:150px;
  
  	margin-right: -80px;
  	margin-top:-80px;
  	
  	/* right:10px; */
  	right:-300px;
  	/* right:0px; */
  
  	background: #fff;
  	height: 120vh;
  	max-width: 600px;
  	display: flex;
  	flex-direction: column;
  	
  	z-index:103;
  	
  	/* transform: translate(100%); */
  	
  	
  	transition: transform 0.01s ease-in-out;
  	transition-duration:0.3s;
  	box-shadow: -5px 0px 10px 0px #aaa;
  }
  
  .topmenu > li > a {
    padding: 30px 0px 60px 10px;
    font-size: 24px;
  }
  
  .topmenu > li > a:before {
  
    left: 0%;
    top: 10%;
    width: 15px;
    height: 15px;
    
    transform: translate(-100%, 0px);
    opacity: 0;
    transition: .3s;
  }
  
  .topmenu li:hover a:before {
    transform: translate(-10%, 0px);
    opacity: 1;
  }
  
  .submenus{
  	position:relative;
  	height: 100%;
  	width:100%;
  
  	z-index:104;
  }
  
  .sub1{
  	position:fixed;
  	left:10px;
  	top:100px;		
  }
  
  .sub2{
  	position:fixed;
  	left:10px;
  	top:100px;		
  }
  
  
  .submenu {
    padding: 15px 0 15px;
  
    visibility: hidden;
    opacity: 0;
    transition-duration: .3s;
  }
  .topmenu > li:hover .submenu {
    visibility: visible;
    opacity: 1;
    transform: translate(-27%, 0px);
  }
  
  
  .nav_link{
  	font-size:18px;
  	padding-bottom:10px;
  }
  
  .nav-container input[type="checkbox"]:checked ~ .topmenu {
    transform: translateX(-100%);
  }
  
  
  .nav-container input[type="checkbox"]:checked ~ .btn2 .icon{
  	transition-duration: 0.5s;
  	transform: rotateZ(-180deg);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .btn2 .icon:before{
  	transform: rotateZ(-45deg) scaleX(0.5) translate(-26px, -6px);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .btn2 .icon:after{
  	transform: rotateZ(45deg) scaleX(0.5) translate(-26px, 6px);
  }
}






