*, *::before, *::after {
 box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,body{
 margin: 0;
 padding: 0;
 font-family:Arial, Helvetica, sans-serif;  
}
.main-title{
  text-align: center;
  font-size: 60px;
  color:blue;
}
.header-top-wrapper{
 position: relative;
 /*background-image: url(../img/header-image/logo3.jpg);*/
 background-color: #c0c0c0;
 display: flex;
 justify-content: space-around;
 align-items: center;
 width: 100%;
 height: 140px;
 font-weight: 500;
 font-size: 20px;
}
.logo {
flex-basis: 15%;
height: 100%;
}
.logo img{
position: absolute;
top: 25px;left:220px;
width: 90px;
height: 90px;
transform: rotate(0deg);
animation: spin 5s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.sevastopol{
 flex-basis: 15%;
 height: 100%;
 /*background-image: url(../img/header-image/animation.gif);
 background-size: cover;
 background-repeat: no-repeat;*/
 text-align: right;
 box-shadow: inset 5px 5px 15px black; /* Внутренняя тень */
}
.sevastopol img{
  height: 100%; width: 100%;
}
.top-content-image{
 display: flex;
 justify-content: space-around;
 align-items: center;
 height: 100%;
 flex-basis: 70%;
 text-align: left;
 background-size: cover;
}
.top-content-image .ais{
 margin: 20px;
 padding: 5px 10px;
 text-transform: uppercase;
 /*font-weight: 800;*/
 font-size: 36px;
 color:wheat;
 background-color: black;
 border-radius: 5px;
}
.top-content-image .city p {
  padding: 5px 10px;
 margin: 20px;
 text-align: center;
 font-size: 25px; 
 font-weight: 700;
 color:blue;
}
.top-content-image .city a{
  padding: 5px;
 text-decoration: none;
 font-size: 20px;
 color:wheat;
 background-color: black;
 border-radius: 5px;
}
.toggler{
 display: none;
 z-index: 2;
 cursor: pointer;
}
.list{
 display: flex;
 justify-content: space-around; 
 align-items: center;  
 margin-top:0;
 width: 100%;
 height: 80px;  
 border: 3px solid blue; 
 /*background-image: url(../img/header-image/logo4.jpg);*/
 background-color: black;
 background-size: contain;
 background-repeat: repeat;
}
.item{
margin:auto;
padding:8px;
width: 130px;
text-align: center;
list-style-type: none;
background-color: black;
border-radius: 5px;
 box-shadow: 5px 7px 17px black; /* Справа-снизу */
}
.item:hover{
 margin-top: 20px;
}
.item> a{
 text-decoration: none;
 font-size: 30px;
 font-weight: 600;
 color:white;
 font-family: "Roboto", sans-serif;
}
@media(max-width:1367px){
.logo img{
top: 25px;left:120px;
}
}
@media(max-width:1024px){
 .top-content-image .city p {
 margin: 10px;
 padding: 6px;
 font-size: 20px; 
}
.header-top-wrapper{
 justify-content:space-between;
 height: 140px;
 background-size: contain;
}
.top-content-image .ais{
 font-size: 25px;
}
.top-content-image .city{
 color:rgb(23, 23, 24);   
}
.top-content-image .city p{
 margin: 15px;
}
.top-content-image .city p span{
 font-size: 20px;
}
.toggler{
display: block;
position:fixed;
right:10px;
top:10px;
background-color:black;
}
.toggler-icon{
position:relative;
display: block;
margin:5px;
width: 30px;
height: 3px;
background-color: black;
transition: all 0.3s linear;
border-radius: 15px; 
}
.toggler-icon:nth-of-type(1){
 background-color:red;}
.toggler-icon:nth-of-type(2){
 background-color:yellow;}
.toggler-icon:nth-of-type(3){
 background-color:blue;}
.toggler.active .toggler-icon:nth-of-type(1) {
 transform: rotate(45deg);
 top:8px; 
}
.toggler.active .toggler-icon:nth-of-type(2) {
 opacity: 0;
}
.toggler.active .toggler-icon:nth-of-type(3) {
 transform: rotate(135deg);
 top: -8px; 
}
.list{
 display: none;
}
.list.rolled{
 display: block;
 position: fixed;
 top:100px;
 right: 0px;
 z-index: 2;
 padding: 5px;
 width: fit-content; 
 height: fit-content;
 border-radius: 10px;
 background-color:black;
}
.item{
 padding:5px;
 width: 90px;
}
.item:hover{
 margin-top: 0px;  
}
.item> a{
 font-size: 22px;
 color:red;
}
}
@media(max-width:768px){  
.top-content-image .city{
 color:rgb(23, 23, 24);   
}
.top-content-image .city a{
 display: none;
}
.logo img{
top: 25px;left:40px;
}
}
@media(max-width:478px){ 
.logo img{
left:20px;
width: 30px;
height: 30px;
}
.header-top-wrapper{
  background-image: url(../img/logo4.jpg);
 margin-bottom: 20px;
 height: 100px;
 background-size: contain;
 border-top: 5px solid black;
 border-bottom: 5px solid black;  
}
 .top-content-image{
 position: relative;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 flex-basis:70%;
 background-size: cover;
} 
.sevastopol{
    flex-basis:30%
}
.top-content-image .ais{
 margin: 5px;
 text-transform: uppercase;
 font-weight: 600;
 font-size: 16px;
 text-align: center;
 font-family: "Roboto", sans-serif;
}
.top-content-image p{
    display: none;
}
.top-content-image .city{
 margin: 5px;
 text-align: center;
 font-size: 19px;  
}
.toggler{
right:0px;
top:5px;
}
}
