*{
    text-decoration: none;
}
.header-nav-left  {
    float: left;
    width: auto;
    display: inline-flex;
}
 
.header-nav-right {
    float: right;
    width: auto;
    display: inline-flex;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0; 
    display: inline-flexs;
    gap: 20px;
}

li {
    text-decoration: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: rgb(88, 140, 165); 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.headbuttonn{
    font-size: 50px;

}

.headbutton{
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hot-bar {
    display: inline-flex;
    list-style-type: none;
    padding-left: 0;
    column-gap: 10px;
}

.spacer {
    flex-grow: 0;
    width: auto;
    margin-left: 660px;
}

.image-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 75px;
}

.left-image, .right-image {
    width: 300px;
    height: auto;
}

.image-containerr {
    display: flex;
    justify-content: center;
    align-items: center;

}

.last-image {
    max-width: 300px;
    height: auto;
}


body{
    background-color: rgb(88, 140, 165);    
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

h1{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 75px;
}

 
h1 {
margin-top: 75px;
font-family: 'Matura MT Script Capitals', cursive, sans-serif;;
}
h2 {
    margin: 30px;
}
h3 {
    margin-left: 35px;
    margin-top: auto;
    font-size: 32px;
}
p {
    font-size: 16px;
}

.container {
    display: flex;
    justify-content: space-around;
 
}
 
main {
    background-color: #1c69bc;
    padding: 10px;
    margin: 20px;
    margin-bottom: auto;
}
 
.left-section {
    display: flex;
    height: 350px;
    width: 290px;
    margin-bottom: auto;
}
 
.left-section img {
    max-width: 210px;
    border: 2px solid black;
}
 
.section-two {
    width: 290px;
    height: 350px;
}
 
img {
    max-width: 200px;
    height: auto;
    border: 2px solid black;
}
 
figure {
    margin-bottom: auto;
}
 
figcaption {
    font-size: 16px;
    font-family: 'Matura MT Script Capitals', cursive, sans-serif;
}

*{
    cursor:crosshair;
}

.container {
    display: flex; /* Размещаем элементы в ряд */
    justify-content: space-between; /* Пространство между секциями */
    align-items: flex-start; /* Выравнивание по верху */
    padding: 20px;
    flex-wrap: wrap; /* Позволяет секциям переноситься на новую строку */
    
  }


@media (max-width: 500px)
{
    h1{
        font-size:16px;
    }
    .left-section {
        display: flex;
        width: 240px;
        margin-bottom: auto;
    }
     
    .left-section img {
        max-width: 150px;
        border: 2px solid black;
    }
    
    .section-two {
        display: flex;
        width: 240px;
        margin-bottom: auto;
    }
     
    .section-two img {
        max-width: 150px;
        border: 2px solid black;
    }
}
  