/* Tablets */
@media (max-width: 1025px) {
  .background-about {
    background: url(../img/other/bg-about-tablet.png) no-repeat center
      center/cover;
    background-color: #fff;
  }

  .background-contacts {
    background: url(../img/other/tablet-contacts.png) no-repeat center
      center/cover;
    background-color: #fff;
  }

  #contacts a {
    text-decoration: underline;
    color: rgba(1, 64, 105, 0.8);
  }

  /* Navbar */
  #navbar .nav-container {
  padding: 0 50px;
  }
  
  #navbar .nav-logo {
    display: none;
  }

  #navbar .services {
    display: block;
  }

  #navbar {
    max-width: 1025px;
  }

  .show {
    visibility: visible;
    opacity: 1;
    transition: 0.6s;
  }

  .hide {
    visibility: hidden;
    opacity: 0;
    transition: 0.6s;
  }

  #navbar .nav-container ul li:hover ul {
    opacity: 0;
    left: 0px;
    max-height: 0px;
  }

  .burger-menu {
    display: none;
  }

  #navbar .nav-container .service-menu_nav {
    opacity: 0;
    border-radius: 0 0 5px 5px;
    right: 100%;
    overflow-y: auto;
  }

  #navbar .nav-container .service-menu_active .service-menu_nav {
    opacity: 1;
    right: 0px;
    max-height: 700px;
  }

  /* Hide service-menu for displays < 1024px */
  #navbar .service-menu {
    display: inline;
  }

  #navbar .service-menu-desktop {
    display: none;
    max-height: 0px;
  }

  /* Showcase */
  #showcase .logo-showcase {
    margin-top: 90px;
    width: 200px;
  }

  #showcase .logo-iso {
    /* margin-bottom: 90px; */
    width: 150px;
  }

  #showcase h1 {
    font-size: 80px;
  }

  #showcase h3 {
    font-size: 40px;
    width: 500px;
  }

  #showcase .border-bottom {
    width: 500px;
  }

  /* About */
  #leverans-baltic-introduction .introduction {
    max-width: 1025px;
    padding: 27px 20px;
    height: 800px;
  }

  #leverans-baltic-introduction .logo {
    display: none;
  }

  .slide-footer {
    top: -25px;
  }

  .slide-footer .footer-items {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 100px;
    letter-spacing: 20px;
  }

  #ship-layout {
    display: none;
  }

  /* Gallery */
  #gallery .gallery-img {
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
  }

  #gallery .gallery-img:hover {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    transform: none;
    -moz-transform: none; /* Для Firefox */
    -ms-transform: none; /* Для IE */
    -webkit-transform: none; /* Для Safari, Chrome, iOS */
    -o-transform: none; /* Для Opera */
    z-index: 0;
    position: relative;
  }

  /* Certificates */
  #certificates {
    height: 100%;
  }

  #certificates h2 {
    text-align: center;
    font-size: 45px;
    font-weight: 300;
    padding: 25px 0 0 0;
  }

  .certificates-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .certificates-container img {
    margin: 10%;
    width: 80%;
  }
/*
  .certificates-container img:hover {
    padding: 40px;
    width: 550px;
    transition: all 1s ease;
  }
*/
/*.certificates-container img:first-child {
    margin-right: 0px;
  }
*/
  /* Contacts */
  #contacts {
    grid-template-columns: 0.5fr 1fr 1.2fr;
  }

  #contacts .section-b span {
    color: red;
  }

  #contacts .section-b i {
    position: relative;
    right: 20px;
  }

  #contacts .section-c {
    position: relative;
    left: 35px;
  }

  #contacts .section-b .technical {
    left: 0px;
    bottom: 20px;
    width: 200px;
    text-align: center;
  }

  #contacts .section-b .navigation-safety {
    left: -24px;
  }

  #contacts .section-b .navigation-safety p {
    display: flex;
  }

  #contacts .section-b .assistant {
    left: -30px;
  }

  #contacts .section-b .accountant {
    left: 0px;
    bottom: 20px;
  }

  /* fonts */
  #contacts .section-b .technical i {
    left: -90px;
    top: 20px;
  }

  #contacts .section-b .navigation-safety i {
    left: -30px;
  }

  #contacts .section-b .assistant i {
    left: 180px;
  }

  #contacts .section-b .accountant i {
    left: -10px;
    top: 0px;
  }

  #contacts .sponsor {
    position: relative;
    left: 70px;
    top: -50px;
    width: 350px;
    text-align: center;
  }

  #contacts .logo-contacts {
    position: relative;
    top: 60px;
  }
}

@media (max-width: 770px) {
  .background-contacts {
    background: url(../img/other/tablet-contacts.png) no-repeat center
      center/cover;
    background-color: #fff;
  }

  /* Navbar */
  #navbar {
    max-width: 770px;
  }

  /* Showcase */
  #showcase .logo-showcase {
    margin-top: 90px;
    width: 180px;
  }

  #showcase .logo-iso {
    /* margin-bot: 90px; */
    width: 130px;
  }

  #showcase h1 {
    font-size: 60px;
  }

  #showcase h3 {
    font-size: 30px;
    width: 400px;
  }

  #showcase .border-bottom {
    width: 380px;
  }

  /* About */
  #leverans-baltic-introduction {
    padding: 8px 20px;
    height: 990px;
  }

  #leverans-baltic-introduction .introduction {
    max-width: 750px;
  }

  #leverans-baltic-introduction .logo {
    display: none;
  }

  .slide-footer {
    display: none;
  }

  #ship-layout {
    display: none;
  }

  .certificates-container {
    display: flex;
    flex-direction: column;
  }

  /* Contacts */
  #contacts {
    grid-template-columns: 1fr;
    padding: 0;
    height: 2300px;
    padding-left: 170px;
  }

  .logo-contacts {
    display: none;
  }

  #contacts .section-a {
    position: relative;
    top: 46px;
    left: 100px;
    width: 300px;
  }

  #contacts .section-b {
    position: relative;
    width: 350px;
    right: 23px;
  }

  #contacts .section-c {
    position: relative;
    bottom: 700px;
    left: 30px;
    width: 350px;
  }

  .section-b i {
    transform: rotate(90deg);
    color: #333;
  }

  #contacts .section-b .technical {
    position: relative;
    top: 145px;
    left: 65px;
    color: red;
    text-align: center;
    width: 200px;
    display: flex;
  }

  #contacts .section-b .navigation-safety {
    position: relative;
    top: 350px;
    left: 23px;
    color: red;
    display: flex;
    flex-direction: column;
  }

  #contacts .section-b .navigation-safety p {
    display: flex;
  }

  #contacts .section-b .assistant {
    position: relative;
    top: 535px;
    left: 30px;
    color: red;
    display: flex;
    flex-direction: column;
  }

  #contacts .section-b .accountant {
    position: relative;
    top: 760px;
    left: 30px;
    color: red;
  }

  #contacts .section-c .name-mail-1,
  #contacts .section-c .name-mail-2,
  #contacts .section-c .name-mail-3,
  #contacts .section-c .name-mail-4 {
    margin-top: 250px;
    position: relative;
    left: 16px;
  }

  #contacts .sponsor {
    position: relative;
    top: 940px;
    left: 60px;
    text-align: center;
    width: 380px;
  }

  #contacts .section-b .technical i {
    position: relative;
    top: 100px;
    left: 88px;
    margin-left: 0px;
    margin-top: 0px;
  }

  #contacts .section-b .navigation-safety i {
    position: relative;
    top: 110px;
    left: 130px;
    margin-left: 0px;
    margin-top: 0px;
  }

  #contacts .section-b .assistant i {
    position: relative;
    left: -12px;
    top: 50px;
  }

  #contacts .section-b .accountant i {
    margin-left: 0px;
    position: relative;
    bottom: 0px;
    top: 68px;
    left: 43px;
  }
}

@media (max-width: 541px) {
  /* Navbar */
  #navbar {
    max-width: 541px;
  }

  #navbar .nav-container {
    max-width: 541px;
    padding: 0;
    font-size: 15px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-around;
  }

  #navbar .services ul li {
    padding: 3px 203px 5px 204px;
  }

  #navbar .nav-info ul li a {
    padding: 5px 10px;
  }

  /* dropdown-menu */
  #navbar .services ul li ul {
    flex-direction: column;
    position: absolute;
    right: 50px;
    top: 0px;
    text-align: center;
    height: 100vh;
    width: 100%;
  }

  #navbar .services ul li ul li {
    padding: 11px 0;
  }

  #navbar .services ul li ul div:last-child {
    position: relative;
    right: 30px;
  }

  /* Showcase */
  #showcase h3 {
    margin: 0 5px;
  }

  #showcase .logo-showcase {
    margin-top: 90px;
    width: 120px;
  }

  #showcase .logo-isp {
    /* margin-bot: 90px; */
    width: 120px;
  }
  #showcase h1 {
    font-size: 40px;
  }

  #showcase h3 {
    font-size: 20px;
    width: 250px;
  }

  #showcase .border-bottom {
    width: 250px;
  }

  /* About */
  #leverans-baltic-introduction {
    padding: 5px 20px;
    height: 1470px;
  }

  #leverans-baltic-introduction .introduction {
    max-width: 521px;
  }

  .certificates-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* Contacts */
  #contacts {
    grid-template-columns: 1fr;
    padding: 0;
    height: 2300px;
    padding-left: 55px;
  }
}
