body {
    background-color: #eeeeef;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    max-width: 1600px;
    padding: 90px 30px 30px;
}
a{
    color: #1d80b9;
}

button{
    background-color: #5abd3f;
    border-radius: 10px;
    padding: 20px;
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;

    border: 2px solid #333;

    margin: 10px 10px 10px 10px;

    
}

button:hover{
    background-color:#479431;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 25px 30px;
    text-decoration: none;
    cursor: pointer;
}


.image-container1 {
    margin: 0 auto;
    height: 150px;
    width: 1000px;
    display: flex;
    justify-content: center;
}
  
.image-container1 img {
    max-width: 90%;
    height: auto;
    margin: 10px auto;
}

/* nav */

nav {
    background-color: #add1fd;
    height: 60px;
    width: 60%;
    border-radius: 5px;
    margin: 0 auto;
    position: fixed; 
    left: 20%;
    top: 0px;
    z-index: 100; 
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    height: 100%;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #333;
    background-color: #e6e6e6;
    padding: 10px 15px;
    border-radius: 5px;
}

.active {
    display: block;
    background-color: #e6e6e6;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1; 
    border-radius: 2px;
}

.dropdown-content a {
    color: #333;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 18px;
    padding: 5px 5px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.nav-links li:hover .dropdown-content {
    display: block;
}

/* ---------------- */

.white-box1 {
    background-color: #fff; 
    padding: 10px;
    border-radius: 5px;
    color: #333; 
    font-size: 22px;
    text-align: center;
    width: 90%;
    margin: 10px auto;
}

.text-box1 {
    background-color: #fff3cd; 
    padding: 5px;
    border-radius: 5px;
    color: #000000; 
    font-size: 22px;
    text-align: center;
    width: 95%;
    margin: 10px auto;
}

/* --------------- */


.functions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .function-item {
    background-color: #69f67076; 
    color: #333;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    width: 45%;
    margin: 10px;
    transition: all 0.3s ease;
  }
  
  .function-item--top {
    width: 90%;
  }
  
  .function-item--left {
    order: 1;
  }
  
  .function-item--right {
    order: 2;
  }
  
  .function-item--bottom-left {
    order: 3;
  }
  
  .function-item--bottom-right {
    order: 4;
  }
  
  .function-item:hover {
    color: #333;
    background-color: #e6e6e6;
    transform: translateY(-3px);
  }

/* -------------- */

.white-box2 {
    background-color: #fff; 
    padding: 5px;
    border-radius: 5px;
    color: #333; 
    font-size: 22px;
    text-align: center;
    width: 90%;
    margin: 10px auto;
}

.sub-box {
    background-color: #cdffbe7a;
    padding: 10 px;
    border-radius: 10px;
    color: #333;
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 10px auto;
    text-decoration: none;
}

.sub-box:hover {
    background-color: #96be8a;
}

.sub-box img {
    max-width: 100px;
    max-height: 100px;
    margin: 10px 5px;
    align-items: center;
}

.seperator {
    width: 100%;
    height: 4px;
    background-color: #4f4f4f94;
    margin: 20px auto;
}


/* --------------- */

.supported-box {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.supported-box img {
    max-width: 500px;
    max-height: 100px;
    margin: 10px;
    object-fit: contain;
}


.sub-box2 {
    background-color: #c5e4e27a;
    padding: 20px;
    border-radius: 10px;
    color: #333;
}

.sub-box2 img {
    width: 400px;
    margin: 10px 5px;
}

@media (max-width: 768px) {
    body {
        padding: 80px 15px 15px;
    }
    
    nav {
        width: 100%;
        left: 0;
        height: auto;
        padding: 10px 0;
        position: relative;
        top: 0;
    }
    
    .nav-links {
        flex-direction: column;
        height: auto;
    }
    
    .nav-links li {
        margin: 5px 5px;
        width: 100%;
        text-align: center;
        border-bottom: 2px solid #ffffff;
    }
    
    .nav-links a {
        display: block;
        padding: 8px 0;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
    }
    
    .image-container1 {
        width: 100%;
        height: auto;
    }
    
    .function-item {
        width: 100%;
        margin: 5px 0;
    }
    
    .function-item--top,
    .function-item--left,
    .function-item--right,
    .function-item--bottom-left,
    .function-item--bottom-right {
        width: 100%;
        order: initial;
    }
    
    .sub-box {
        flex-direction: column;
        text-align: center;
    }
    
    .sub-box img {
        max-width: 80px;
        margin: 5px auto;
    }
    
    .supported-box img {
        max-width: 80%;
    }
    
    .sub-box2 img {
        width: 100%;
    }
    
    button {
        font-size: 24px;
        padding: 15px;
    }
    
    
    
}