html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Montserrat";
    src: url("/assets/Montserrat-VariableFont_wght.ttf") format("truetype");
}
  
@keyframes slide-in-left {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0%);
        opacity: 1;
    }
}

body {
    font-family: Montserrat;
    margin: 0;
}

.width {
    max-width: 1000px;
    width: 90%;
    margin: auto;
}

header {
    position: fixed;
    width: 100%;
    z-index: 9999;
    background: white;
    opacity: 0.97;
}

.header-container {
    width: 90%;
    margin: auto;
    max-width: 1000px;
    border-bottom: solid 2px #1510f0;
    padding-top: 30px;
}

.header-content {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: inline-block;
}

.logo svg {
    transform: scale(1.5);
    position: relative;
    left: 6px;
    top: 17px;
}

.menu {
    display: inline-flex;
    justify-content: space-around;
    line-height: 50px;
}

.menu-desktop-a {
    text-decoration: none;
    cursor: pointer;
    padding: 0 30px;
}

.menu span {
    color: black;
}

.menu a:hover {
    background-color: aliceblue;
}

.first {
    background-image: url("/assets/back_grey.png");
    background-size: 400px;
}

.headline {
    animation: slide-in-left 1.5s ease-out forwards;
    font-size: 30px;
    padding: 150px 0 0 0;
}

.subheadline {
    animation: slide-in-right 1.5s ease-out forwards;
    font-style: italic;
    padding: 70px 0;
}

.subheadline p {
    font-size: 20px;
    padding: 0 15% 20px 15%;
    margin: 0;
}

.proposition {
    text-align: center;
    font-size: 30px;
    padding: 70px 0 20px 0;
    text-transform: uppercase;
}

.blue-headline {
    color: #1510f0;
    font-weight: 500;
    width: fit-content;
    margin-left: 100px;
}

.blue-text {
    color: #1510f0;
    font-weight: 500;
}

.two-blocks {
    display: flex;
    justify-content: space-around;
}

.two-blocks-block {  
    width: 45%;
}

.icon-text-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.two-blocks-block li {
    padding: 5px 0;
}

.icon {
    width: 100px;
}

.lightblue {
    background-color: aliceblue;;
    width: 100%;
}

.services-container {
    padding-top: 50px;
}

.two-blocks-block-services {
    align-items: center;
    display: flex;
    width: 30%;
}

.two-blocks-services {
    display: flex;
    justify-content: space-around;
    transition: transform 0.5s ease-in-out, border-bottom 0.5s ease-in;
    padding: 50px 0;
}

.two-blocks-services:hover {
    transform: scale(1.1);
    border-bottom: solid 2px #1510f0;
  }

.two-blocks-block-services span {
    font-size: 30px;
}

.two-blocks-block-services ul {
    text-align: left;
}

.how-we-work-container {
    margin-top: 50px;
    padding-bottom: 50px;
}

.btn-container {
    margin: 80px;
    text-align: center;
}

.btn {
    min-width: 200px;
    min-height: 50px;
    font-size: 18px;
    border-radius: 0px;
    cursor: pointer;
    padding: 0;
    border: solid 2px #1510f0;
    text-transform: uppercase;
    background: white;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border 0.2s ease-in-out;
    color: #1510f0;
    font-family: Montserrat;
}

.btn:hover {
    background-color: #1510f0;
    color: white;
    border: solid 2px white;
}

.contact {
    text-align: center;
    margin-bottom: 150px;
}

.contact-info {
    display: inline-flex;
    align-items: center;
}

.contact-info img {
    width: 50px;
}

footer {
    font-size: 10px;
    text-align: center;
    padding: 20px 0 20px 0;
    background-color: black;
    color: white;
}

footer p {
    margin: 0 0 5px 0;
}

.mobile-menu-container {
    display: none;
}

#menu-toggle {
    display: none;
  }
  
  .menu-toggle {
    cursor: pointer;
    font-size: 30px;
    line-height: 50px;
    padding: 0 30px;
    z-index: 2;
  }
  
  .menu-mobile {
    position: fixed;
    right: 0;
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
    top: 82px;
    z-index: 2;
    width: 50%;
    min-width: 200px;
    padding: 20px 0 20px 0;
  }
  
  #menu-toggle:checked + .menu {
    transform: translateX(0);
  }
  
  .menu-mobile ul {
    list-style: none;
    margin: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 200px;
    padding-left: 30px;
  }
  
  .menu-mobile a {
    text-decoration: none;
    color: #000;
    font-size: 1.5rem;
  }

  .menu-mobile-hidden {
    transform: translateX(100%);
  }

  .backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    transition: background-color 0.5s ease;
    display: none;
  }

  .backdrop-animate {
    background-color: rgba(0, 0, 0, 0.7);
    display: block;
  }

@media (max-width: 770px) {
    .mobile-menu-container {
        display: block;
    }
    .menu-desktop-a {
        display: none;
    }
    .menu a:hover {
        background-color: white;
    }
    .two-blocks {
        display: block;
        text-align: left;
    }
    .two-blocks-block {
        margin: auto;
        width: 100%;
        padding-bottom: 30px;
    }
    .two-blocks-services {
        display: block;
    }
    .two-blocks-block-services {
        width: 100%;
        justify-content: space-around;
    }
    .two-blocks-block-services span {
        font-size: 25px;
    }
    .icon {
        width: 80px;
    }
}
