* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Rajdhani, sans-serif;
    background-color: rgb(255, 254, 239);
}


header {
    background-color: rgba(0, 0, 0, 0.721);
    padding: 10px 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}


nav .logo img {
    height: 100px; 
   left: 1%;
   margin-top: 5px;
}

nav ul.menu {
    display: flex;
    list-style: none;
    flex-grow: 1;
    justify-content: space-between;
    margin-left: 20px;
}

nav ul.menu li {
    margin-left: auto;
    margin-top: 10px;
}

nav ul.menu li a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 25px;
    padding: 10px 20px;
    display: block;
}

nav ul.menu li a:hover {
    background-color: transparent;
}

.menu-icon {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav ul.menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #131313f1;
        padding: 0;
    }

    nav ul.menu li {
        margin: 10px 0;
        width: 100%; 
    }

    nav ul.menu li a {
        text-align: center; 
        width: 100%;
        color: whitesmoke; 
    }

    #menu-toggle:checked + .menu-icon + ul.menu {
        display: flex;
    }
}

@keyframes pulsate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.pulsate {
    animation: pulsate 0.5s;
}

nav ul li a{
    position: relative;
    color: whitesmoke;
    font-size: 20px;
    text-transform: uppercase;
    padding: 5px 0;
}
nav ul li a:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: whitesmoke;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s linear;
}
nav ul li a:hover:before{
    transform: scaleX(1);
    transform-origin: left;
}

.gal {
    text-align: center;
}
.gal h1{
    text-align: center;
    font-size: 70px;
}
.gal hr {
border: 2px solid rgb(0, 0, 0);
  border-radius: 5px;
  width: 200px;
  margin: 0 auto;
}
h2{
    text-align: center;
    font-size: 48px;
}
.pics{
    display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.obr {
    margin: 14px;
}
.obr img{
 max-width: 500px;
 max-height: 600px;
 border-radius: 10px;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 transition: 0.8s;
}
.obr img:hover {
    box-shadow: 0 10px 15px rgba(73, 73, 73, 0.213);
    transform: scale(1.1);
    z-index: 2;
}
footer{
    background: rgba(0, 0, 0, 0.851);
    width: 100%;
    padding: 8px 0;
    text-align: center;
    color: #fff;
    padding-top: 1%;
  }