@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300&display=swap');

*{
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    align-items: center;

}
@keyframes transitionIn {
    from{
        opacity: 0;
        transform: rotateX(-10deg);
    }
    to{
        opacity: 1;
        transform: rotateX(0);
    }
}
::-webkit-scrollbar{
    width: 1em;
}
::-webkit-scrollbar-track{
    background: hwb(11 32% 10%);
}
::-webkit-scrollbar-thumb{
    background: #275C88
}
body{
    background-color: #284e5f8f;
    z-index: -1;
}
header {
    box-shadow: 0 3px 5px -2px rgba(0,0,0,.5);
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: fixed;
    width: 100%;
    z-index: 999;
  }
  .logo {
    cursor: pointer;
    padding: 0 1rem;
    border-radius: 50%;
    margin-left: 5%;
  }
  .toggle {
    cursor: pointer;
    padding: 25px 20px;
    position: relative;
  }
  nav {
    flex: 1 1 100%;
    margin-right: 5%;
  }
  nav ul {
    list-style: none;
  }
  #mobile-icon,
  [id^="submenu"] {
    display: none;
  }
  nav a,
  nav label {
    font-weight: 500;
    font-size: 16px;
    color: #275C88;
    background: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 64px;
    transition: background 0.4s ease-out;
  }
  nav a:hover,
  nav label:hover {
    background: #eee;
  }
  .arrow {
    margin-left: 9px;
    margin-top: 4px;
    color: #EF6F52;
    font-size: 10px;
    cursor: default;
  }
  section:nth-of-type(1) {
    padding-top: 6rem;
  }

.rentingprocess{
    animation: transitionIn 3s;
    letter-spacing: .6px;
    position: relative;
    color: #eee;
    max-width: 60%;
    margin: 0 auto;
    top: 10em;
    background-color: #1f4869;
    padding: 20px;
    border-radius: 20px;
}
.rentingprocess h4{
    font-weight: lighter;
    font-size: 18px;
}
footer{
    position: relative;
    background: #111;
    width: 100%;
    padding-top: 50px;
    color: #fff;
    top: 12em;
}
.foot_content{
    width: 75%;
    margin: 0 auto;
    position: relative;
    bottom: 1.7em;
}
.foot_content p{
    display: inline-block;
    position: relative;
    font-family: 'Roboto Mono', monospace;
    top: 0.5em;
}
.foot_content img{
    filter: invert(1);
    position: relative;
    float: right;
    cursor: pointer;
}
 /*-------desktop nav --------*/
 @media (min-width: 1110px) {
    header {
      flex-wrap: nowrap;
    }
    nav,
    .logo {
      flex: none;
    }
    .toggle,
    nav label {
      display: none;
    }
    nav ul {
      display: flex;
    }
    nav li {
      position: relative;
    }
    nav ul ul {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.2s ease-out;
    }
    li:hover > ul {
      max-height: 100vh;
      overflow: visible;
    }
    [class^="submenu"] {
      flex-direction: column;
      position: absolute;
    }
    .submenu-1 a, .submenu-2 a{
        background-color: white;
        width: 150px;
    }
  }  
    @media (max-width: 1300px){
        .logo img{
          width: 400px;
        }
    }
  /*------- mobile nav --------*/
  @media (max-width: 1120px) {
    nav ul {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }
    #mobile-icon:checked ~ nav > ul {
      max-height: 100vh;
    }
    .nav-items ul {
      padding-left: 1rem;
    }
    [id^="submenu"]:checked ~ [class^="submenu"] {
      max-height: 100vh;
      overflow: visible;
    }
  
    .hamburger-icon {
      width: 18px;
      height: 3px;
      background-color: #EF6F52;
      display: block;
      position: relative;
    }
    .hamburger-icon:before,
    .hamburger-icon:after {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      background-color: #275C88;
      transition: all 0.2s;
    }
    .hamburger-icon:before {
      top: 5px;
    }
    .hamburger-icon:after {
      top: -5px;
    }
    #mobile-icon:checked ~ .toggle {
      border-radius: 50em;
      transition: all 0.2s ease-out;
    }
  
    /* mobile nav change hamburger to x on click */
    #mobile-icon:checked ~ .toggle .hamburger-icon {
      background-color: transparent;
    }
    #mobile-icon:checked ~ .toggle .hamburger-icon:before {
      top: 0;
      transform: rotate(45deg);
    }
    #mobile-icon:checked ~ .toggle .hamburger-icon:after {
      top: 0;
      transform: rotate(-45deg);
    }
    .hide-mobile {
      display: none;
    }
    .rentingprocess{
        position: relative;
        top: 8rem;
    }
}

@media screen and (max-width:665px){

    .rentingprocess{
        top: 8rem;
        max-width: 80%;
    }
    .rentingprocess h4{
        font-size: 12px;
    }
    .rentingprocess h2{
        font-size: 16px;
    }
}
@media (max-width: 520px){
    .logo img{
      width: 250px;
    }
    .rentingprocess{
        top: 5rem;
        max-width: 80%;
    }
    .foot_content img{
        position: relative;
        bottom: 1em;
        left: 20px;
        display: block;
    }
}