/* media code */

@media screen and (max-width: 1439px) {
    /* About style start */

.gallery {
    justify-content: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.pics {
    max-width: 925px;
  }

.buttons-container {
    width: fit-content;
    margin-top: 20px;
    margin-bottom: 35px;
}

#mediabtn4 {
    display: block;
}

#mediabtn5 {
    display: none;
}

/* About style end */
}


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

    /* Favorites style start */

  .body-wrapper {
    overflow: visible;
    }

  .fav-wrapper {
    max-width: 1200px;
    position: relative;
  }

  .radio-choice {
    display: flex;
    flex-wrap: wrap;
    position: sticky;
    background-color: #fff;
    top: 10px;
    z-index: 1;
  }
  
.book-list {
    flex-direction: column;
    align-content: center;
    margin-left: 0;
}

/* Favorites style end */

}

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

/* Header style start */

.burger-btn {
    display: block;
}

.header-login {
    z-index: 2;
}

.navigation {
    position: fixed;
    right: -332px;
    top: 0;
    width: 332px;
    height: 570px;
    margin-top: 0;
    text-align: center;
    background-color: #0C0C0E;
    visibility: hidden;
    transition: transform 0.5s, visibility 0.5s;
    z-index: 2;

}

.header-list {
    display: block;
    padding-top: 80px;
    padding-right: 5px;
}

.header-item {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 10px;
}

.header-link {
    display: block;
}

.header.open .navigation {
    transform: translateX(-100%);
    visibility: visible;
    transition: transform 0.5s, visibility 0.5s;
}

/* Header style end */

/* Welcome style start */

.welcome-bg {
    position: relative;
    height: 600px;
    background: url(welcomeMedia.png) no-repeat center;
    background-size: cover;
}

/* Welcome style end */


/* About style start */

.gallery {
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 614px;
    margin-left: auto;
    margin-right: auto;
}

.pics {
    max-width: 450px;
  }

.caret-right, .caret-left {
    display: inline-flex;
    cursor: pointer;
}

.caret-left {
    position: absolute;
    left: 0;
    top: 288px;
}

.caret-right {
    position: absolute;
    right: 0;
    top: 288px;
}

#mediabtn5 {
    display: block;
}

.buttons-container {
    width: fit-content;
    margin-top: 7px;
    margin-bottom: 35px;
}

/* About style end */

/* Coffee shop style start */

.shop-description {
    letter-spacing: 1.9px;
}

.menu {
    flex-direction: column;
}

.dessert-header {
    margin-top: 20px;
}

.dessert-items {
    margin-left: auto;
}

/* Coffee shop style end */

/* Our contacts style start */

.contacts {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.contacts-area {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}
  
.google-map {
    padding-top: 80px;
    margin-left: auto;
    margin-right: auto;
}
  
/* Our contacts style end */

/* Digital library cards style start */

.cards {
    flex-direction: column;
    align-items: center;
}
  
.get {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 37px;
}
  
.description {
    text-align: center;
    width: 600px;
}
  
.sign-log {
    margin-top: 40px;
    justify-content: center;
    margin-bottom: 0;
}
  
/* Digital library cards style end */

/* Footer style start */

.footer {
    margin-top: 0;
    }

.footer-line {
    width: 100%;
}

.rs-school {
    margin-left: 0;
}
/* Footer style end */
  
}