@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 10px;
    font-family: 'Open Sans', sans-serif;
}

html,
body {
    height: 100%;
    width: 100vw;
    max-width: 100%;
}

header,
main,
footer {
    width: 100%;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    height: 75px;
    background-color: #212343;
}

footer {
    height: 120px;
    border-top: 3px solid #888;
}

footer * {
    font-size: 1.8em;
    text-align: center;
    color: #A5A5A5;
    margin: 10px 0;
}

#logo-container {
    height: 100%;
    width: 220px;
    display: flex;
    align-items: center;
}

#logo-container a {
    margin: 0 auto;
    transition: transform .3s linear;
}

#logo-container a:hover {
    transform: translateY(5px);
}

#presentation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    height: 550px;
    padding-bottom: 20px;
    background-image: url(../images/header_bg.png);
    background-size: cover;
}

#form-container {
    width: 31.25%;
    min-width: 350px;
    max-width: 400px;
    position: relative;
    bottom: 25px;
    right: 30px;
    border: 10px solid rgba(120, 120, 120, .7);
    background-clip: padding-box;
    background-color: white;
}

#form-container h2 {
    font-size: 2.1em;
    font-weight: 100;
    color: #999;
    padding: 20px 10px;
}

#form {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}

#form label {
    display: flex;
    flex-direction: column;
    font-size: 1.75em;
    margin-bottom: 15px;
    color: #C8C8C8;
}

#form label input {
    font-size: 2.3em;
    margin-top: 8px;
    max-width: 90%;
}

#form span {
    font-size: 1.75em;
    color: #BFBFBF;
    margin: 25px 0;
}

#form button {
    background-color: #363A6D;
    color: white;
    height: 55px;
    width: 75%;
    font-size: 2.5em;
    margin: 20px auto;
    border: none;
    cursor: pointer;
    transition: transform .1s ease-out;
}

#form button:hover {
    background-color: #2c305c;
    transform: scale(98%);
}

#info {
    width: 50%;
}

#info ul {
    width: 100%;
    height: 270px;
    display: inline-block;
    background-color: rgba(33, 35, 67, .7);
    margin-top: 100px;
    margin-left: 65px;
    list-style-position: inside;
    padding: 50px 20px;
}

#info ul li {
    font-size: 1.7em;
    color: white;
    margin-bottom: 20px;
}

#description {
    width: 100%;
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#description h2 {
    margin-top: 40px;
    font-size: 2.5em;
}

#description p {
    margin-top: 15px;
    font-size: 1.7em;
    max-width: 700px;
    padding: 0 10px;
}

#arrow {
    position: relative;
    top: 35px;
}

#services-container {
    height: 100%;
    padding-bottom: 80px;
}

#services-container h2 {
    color: #472663;
    text-align: center;
    font-size: 2.5em;
    margin: 80px 0;
}

#services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    margin: 20px 10px;
}

.service-item h3 {
    margin: 20px 0;
    font-size: 1.8em;
}

.service-item p {
    font-size: 1.8em;
    text-align: center;
}

@media screen and (max-width:900px) {
    #presentation {
        height: 100%;
    }

    #logo-container {
        margin: 0 auto;
    }

    #info {
        width: 80%;
        margin: 30px auto;
    }

    #info ul {
        margin: 0 auto;
        height: 100%;
    }

    #form-container {
        position: static;
        margin: 0 auto;
    }

    #form button {
        margin-bottom: 8px;
    }
}

@media screen and (max-width:350px) {
    #form-container {
        width: 100%;
        min-width: 0;
    }

    #logo-container {
        max-width: 100%;
    }
}

@media screen and (max-width:150px) {
    * {
        word-wrap: break-word !important;
        max-width:100%;
        margin:0 !important;
        padding:0 !important;
    }

    #description p{
        display:none;
    }
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: #212343 #ffffff;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
  }

  *::-webkit-scrollbar-track {
    background: #ffffff;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #212343;
    border-radius: 10px;
    border: 3px solid #ffffff;
  }