/* Mobile */
@media (max-width: 415px) {
  .background-about {
    background: url(../img/other/bg-about-mobile.png) no-repeat center
      center/cover;
    background-color: #fff;
  }

  .background-contacts {
    background: url(../img/other/bg-contacts-mobile.png) no-repeat center
      center/cover;
    background-color: #fff;
  }

  #contacts a {
    text-decoration: underline;
    color: rgba(1, 64, 105, 0.8);
  }

  /* Navbar */
  	
  #navbar .nav-logo {
    display: none;
  }

  #navbar .services {
    display: block;
  }

  #navbar {
    height: 65px;
  }

  #navbar .nav-container {
    max-width: 415px;
    padding: 0;
    font-size: 15px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-around;
  }

  #navbar .services ul li {
    padding: 3px 140px 5px 140px;
  }

  #navbar .nav-info ul li a {
    padding: 5px 5px;
  }
	
  /* dropdown-menu */
  #navbar .services ul li ul {
    flex-direction: column;
    position: absolute;
    right: 50px;
    top: 5px;
    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;
  }

  #showcase h1 {
    font-size: 40px;
  }

  #showcase h3 {
    font-size: 20px;
    width: 250px;
  }

  #showcase .border-bottom {
    width: 250px;
  }

  /* About */
  #leverans-baltic-introduction {
    display: flex;
    padding: 3px 10px;
    height: 1868px;
  }

  .slide-footer,
  .logo {
    display: none;
  }

  /* Ship Layout */
  #ship-layout {
    display: none;
  }

  /* Gallery */
  #gallery .gallery-items {
    grid-template-columns: 1fr;
    /* display: none; */
  }

  #gallery .gallery-items:last-child {
    gap: 0px;
  }

  /* Certificates */
  #certificates {
    height: 100%;
  }

  #certificates h2 {
    font-size: 40px;
    padding: 25px 0 0 0;
    text-align: center;
  }

  .certificates-container {
    display: flex;
    flex-direction: column;
    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: 1fr;
    padding: 0;
    height: 2300px;
  }

  .logo-contacts {
    display: none;
  }

  #contacts .section-a {
    position: relative;
    top: 46px;
    left: 80px;
    width: 300px;
  }

  #contacts .section-b {
    position: relative;
    width: 350px;
    right: 30px;
  }

  #contacts .section-c {
    position: relative;
    bottom: 700px;
    left: 25px;
    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: 50px;
    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: 48px;
  }

  #contacts .section-b .accountant i {
    margin-left: 0px;
    position: relative;
    bottom: 0px;
    top: 68px;
    left: 43px;
  }
}

@media (max-width: 412px) {
  /* Navbar */
  #navbar .services ul li {
    padding: 3px 138px 5px 138px;
  }

  #leverans-baltic-introduction {
    display: flex;
    padding: 2px 10px;
    height: 1690px;
  }

  /* Showcase */
  #showcase h1 {
    font-size: 40px;
  }

  #showcase h3 {
    font-size: 25px;
  }

  #showcase .border-bottom {
    width: 260px;
  }

  /* About */
  #leverans-baltic-introduction {
    padding: 2px 10px;
    height: 1855px;
  }
}

@media (max-width: 380px) {
  /* Navbar */
  #navbar {
    height: 65px;
    /* display: none; */
  }

  #navbar .services ul li {
    padding: 3px 121px 5px 120px;
  }

  #navbar .services ul li ul li {
    padding: 9px 0;
  }

  /* Showcase */
  #showcase h3 {
    margin: 0 5px;
  }

  #showcase .logo-showcase {
    margin-top: 90px;
  }

  #showcase h1 {
    font-size: 40px;
  }

  #showcase h3 {
    font-size: 20px;
    width: 250px;
  }

  /* About */
  #leverans-baltic-introduction {
    padding: 0 10px;
    height: 2100px;
  }

  #certificates h2 {
    font-size: 40px;
  }

  /* Contacts */
  #contacts .section-a {
    left: 60px;
    width: 300px;
  }

  #contacts .section-b {
    position: relative;
    width: 350px;
    right: 30px;
  }

  #contacts .section-c {
    left: 25px;
    width: 350px;
  }

  #contacts .section-b .technical {
    left: 45px;
  }

  #contacts .section-b .navigation-safety {
    left: 5px;
  }

  #contacts .section-b .assistant {
    left: 0px;
  }

  #contacts .section-b .accountant {
    left: 10px;
  }

  #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: 0px;
  }

  #contacts .sponsor {
    left: 30px;
  }

  #contacts .section-b .technical i {
    left: 89px;
  }

  #contacts .section-b .navigation-safety i {
    left: 128px;
  }

  #contacts .section-b .assistant i {
    left: -1px;
  }

  #contacts .section-b .accountant i {
    left: 44px;
  }
}

@media (max-width: 361px) {
  /* Navbar */
  #navbar .services ul li {
    padding: 3px 113px 5px 113px;
  }

  #navbar .services ul li ul li {
    padding: 8px 0;
  }

  /* Showcase */
  #showcase h1 {
    font-size: 30px;
  }

  #showcase h3 {
    font-size: 15px;
    width: 200px;
  }

  #showcase .border-bottom {
    width: 200px;
  }

  /* About */
  #leverans-baltic-introduction {
    padding: 3px 10px;
    height: 2200px;
  }

  /* Contacts */
  #contacts .section-a {
    width: 300px;
  }

  #contacts .section-c {
    left: 10px;
  }

  #contacts .section-b .technical {
    left: 38px;
  }

  #contacts .section-b .navigation-safety {
    left: 0px;
  }

  #contacts .section-b .navigation-safety p {
    display: flex;
  }

  #contacts .section-b .assistant {
    left: 0px;
  }

  #contacts .section-b .accountant {
    left: 0px;
  }

  #contacts .section-b .technical i {
    left: 88px;
  }

  #contacts .section-b .navigation-safety i {
    left: 126px;
  }

  #contacts .section-b .assistant i {
    left: -9px;
  }

  #contacts .section-b .accountant i {
    left: 46px;
  }

  #contacts .sponsor {
    left: 85px;
    width: 250px;
  }
}

@media (max-width: 321px) {
  /* Navbar */
  #navbar .nav-container {
    font-size: 13px;
  }

  #navbar .services ul li {
    padding: 3px 101px 5px 101px;
  }

  #navbar .services ul li ul li {
    padding: 7px 0;
  }

  /* Showcase */
  #showcase .logo-showcase {
    margin-top: 90px;
  }

  #showcase h1 {
    font-size: 30px;
  }

  #showcase h3 {
    font-size: 18px;
    width: 200px;
  }

  #showcase .border-bottom {
    width: 200px;
  }

  /* About */
  #leverans-baltic-introduction {
    padding: 14px 10px;
    height: 2700px;
  }

  #certificates h2 {
    font-size: 30px;
    padding: 25px 0 0 0;
    text-align: center;
  }

  /* Contacts */
  #contacts .section-a {
    width: 300px;
    left: 20px;
  }

  #contacts .section-c {
    left: 20px;
    width: 300px;
  }

  #contacts .section-b .technical {
    left: 18px;
  }

  #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: -17px;
  }

  #contacts .section-b .technical i {
    left: 88px;
  }

  #contacts .section-b .navigation-safety i {
    left: 130px;
  }

  #contacts .section-b .assistant i {
    left: 0px;
  }

  #contacts .section-b .accountant i {
    left: 44px;
  }

  #contacts .sponsor {
    left: 70px;
    width: 250px;
  }
}
