body {
    background-color: rgba(21, 18, 18, 1);
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 30px;
  }

  p {
    font-size: 24px;
  }

  nav {
    text-transform: capitalize;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: rgb(5, 5, 5);
    opacity: 0.8;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
  }

  nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    gap: 10px;
  }

  nav a {
    text-transform: capitalize;
    color: white;
    text-decoration: none;
  }

  a:hover {
    color: rgb(239, 192, 192);
    transition: 1s;
  }

  .block {
    background-image: url(img5/pexels-helena-lopes-1015568\ 1.png);
    height: 640px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .block1 {
    height: 640px;
    color: white;
    display: flex;
    padding-top: 70px;
    flex-direction: column;
    align-items: center;
  }

  .block2 {
    height: 640px;
    color: white;
    display: flex;
    padding-top: 70px;
    flex-direction: column;
    align-items: center;
  }

  .head {
    background: url(img5/bigred.png) no-repeat;
    height: 150px;
    width: 1150px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .icon {
    background: url(img5/redddd.png) no-repeat;
    height: 170px;
    display: flex;
    align-items: center;
    padding-left: 65px;
    padding-top: 15px;
    margin-left: 30px;
    align-items: center;
  }

  .icon1 {
    width: 1340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  

  .photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.inst {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.red {
    background: url(img5/redddd.png) center/contain no-repeat;
    width: 226px;
    height: 200px;
    flex: 0 0 226px;
  }

  .red_flex {
    display: flex;
    align-items: center;
  }

  .red4 {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
  }

  .green {
    display: flex;
    flex-direction: column;
    padding: 60px;
  }

  .perple {
    display: flex;
    flex-direction: column;
    padding: 60px;
  }

  .blue {
    display: flex;
    flex-direction: column;
    padding: 60px;
  }

  .room {
    display: flex;
    justify-content: space-around;
    padding-top: 70px;
  }

  .otz {
    padding-top: 140px;
    padding-left: 35px;
    display: flex;
    justify-content: space-around;
  }

.contacts {
    padding-top: 20px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
}

  .street {
    background: url(img5/среднийred.png) no-repeat;
    height: 143px;
    width: 456px;
  }
  
  .t {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .footer {
    width: 100%;
    margin: 20px auto;
    color: white
  }

  .copyright {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .cop {
    display: flex;
    flex-direction: column;
  }

  .right {
    display: flex;
    background: url(img5/redddd.png);
    height: 170px;
    width: 175px;
    padding: 15px;
    justify-content: center;
    align-items: center;
  }

  .c {
    display: flex;
  }

 @media screen and (max-width: 1950px) {

  .block {
    background-image: url(img5/pexels-helena-lopes-1015568\ 1.png);
    height: 940px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .block1 {
    height: 940px;
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .block2 {
    height: 940px;
    color: white;
    display: flex;
    padding-top: 70px;
    flex-direction: column;
  }
  }