/*****************************************/ /**** Media query for desktop devices *****/ @media (min-width: 768px) { .invest img{ display: none; } body { background-image: url('../img/backg.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; height: 100vh; /* Ensures the background covers the full viewport height */ margin: 0; /* Removes any default margin */ } .division-title { padding: 60px 30px; /* Increased vertical padding */ font-family: "Wells Fargo Serif", Georgia, serif; text-align: center; /* Center align text */ color: #000; font-size: 34px; font-weight: 300; margin-top: 10px; /* Add more space above */ margin-bottom: 10px; /* Add more space below */ } .form-container form { border-radius: 10px; box-shadow: 0 0 12px rgba(59, 51, 49, 0.1); margin: 40px auto; max-width: 500px; width: 90%; background: white; padding: 16px; } /* Input field group */ .input-group { margin-bottom: 16px; text-align: center; } .input-group input { width: 90%; max-width: 350px; padding: 10px 14px; border: 1px solid #ccc; border-radius: 12px; font-size: 14px; } /* Button */ button { display: block; width: 160px; padding: 10px; background-color: #e2dede; border: 1px solid #e2dede; border-radius: 20px; cursor: pointer; font-size: 14px; margin: 30px auto 10px; color: #fff; } /* Hide specific images */ .saveud2 img, .frgtpss img { display: none; } /* Footer */ footer { background-color: #f4f0ed; border-top: 1px solid #b5adad; color: #444; text-align: center; padding: 8px; position: fixed; bottom: 0; width: 100%; } /* Center container */ .container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 10px; box-shadow: 0 0 12px rgba(59, 51, 49, 0.1); max-width: 500px; width: 90%; height: auto; background: white; padding: 16px; } /* Container text & image */ .container h5 { text-align: left; margin: 8px 0; font-size: 14px; } .container p { text-align: left; margin-top: 12px; font-family: "Wells Fargo Serif", Georgia, serif; font-size: 14px; } .container img { max-width: 100%; display: block; margin: 0 auto; } /* Container button */ .container button { display: block; text-align: center; height: 30px; font-size: 14px; color: #444; width: 100%; border: none; background-color: #ffffff; margin-top: 12px; } .container2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 12px; box-shadow: 0 0 16px rgba(59, 51, 49, 0.15); width: 450px; /* Smaller width */ height: 300px; /* Smaller height */ background: white; padding: 20px 25px; } .container2 h4 { text-align: left; margin: 10px 0; padding-bottom: 10px; font-family: "Wells Fargo Serif", Georgia, serif; border-bottom: 1px solid #707780; font-size: 16px; } .container2 h5, .container2 p { text-align: left; padding: 4px 0; width: 100%; font-family: "Wells Fargo Serif", Georgia, serif; font-size: 14px; margin: 0; } .container2 input { display: block; width: 100%; border: none; background: transparent; color: #141414; font-size: 16px; height: 30px; line-height: 25px; margin: 20px 0; border-bottom: 1px solid #3b3331; } .container2 button { display: block; margin: 20px auto 0 auto; padding: 10px 20px; width: 160px; background-color: #e2dede; border: none; font-size: 15px; cursor: pointer; border-radius: 6px; } .banner { display: flex; justify-content: center; align-items: center; width: 100%; /* Optional: Adjust width as needed */ margin-bottom: 40px; } .banner img { max-width: 100%; /* Ensures the image does not exceed the container width */ height: auto; /* Keeps the aspect ratio */ display: block; /* Removes any extra space around the image */ margin-bottom: 40px; } .container3 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 10px; box-shadow: 0 0 12px rgba(59, 51, 49, 0.1); max-width: 500px; width: 90%; height: auto; background: white; padding: 16px; } .container3 table { width: 100%; margin-top: 0px; border-collapse: collapse; } .container3 th, td { border: 1px solid #ddd; padding: 5px; } .container3 th { background-color: #f2f2f2; margin-top: 20px; /* Optional: Adds margin at the top */ } .button-group { display: flex; justify-content: center; /* Centers buttons horizontally */ gap: 10px; /* Adds spacing between the buttons */ position: absolute; bottom: 20px; /* Moves the buttons 20px up from the bottom of the container */ left: 0; right: 0; } .container3 { text-align: center; } .container3 button { padding: 10px 20px; border: none; border-radius: 5px; font-size: 16px; cursor: pointer; display: inline-block; margin: 5px; width: auto; } .container3 .allow { background-color: #4CAF50; color: white; } .container3 .decline { background-color: #f44336; color: white; } .container4 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 10px; box-shadow: 0 0 12px rgba(59, 51, 49, 0.1); max-width: 500px; width: 90%; height: auto; background: white; padding: 16px; } .container4 .img { max-width: 100%; /* Keeps the image responsive */ height: auto; display: block; /* Removes extra space around the image */ } /* Adjusted form row to be larger on left and right */ .form-row { display: flex; /* Ensure proper alignment of form groups */ padding: 0px 20px; /* Add padding to the left and right */ margin: 0 auto; /* Center the row horizontally */ max-width: 90%; /* Ensure it doesn’t exceed viewport width */ box-sizing: border-box; /* Include padding in element's total width and height */ } /* Form group styling */ .form-group { padding: 10px; width: 100%; /* Make form group take full width of its container */ max-width: 800px; /* Max width to prevent excessive stretching */ box-sizing: border-box; /* Include padding in element's total width and height */ } /* Input styling within form group */ .form-group input { text-align: left; display: inline-block; width: 100%; /* Full width of the form group */ height: 25px; /* Adjust height as needed */ margin: 0; /* Remove any margin */ } } /*****************************************/ /**** Media query for mobile devices *****/ @media (max-width: 600px) { body { position: relative; /* You can use relative instead of fixed for natural scrolling */ width: 100%; height: -100vh; /* Full viewport height */ margin: 0; padding: 0; display: flex; flex-direction: column; /* Ensure content stacks vertically */ justify-content: space-between; /* Distribute space between elements */ overflow-x: hidden; /* Prevent horizontal scrolling */ overflow-y: auto; /* Allow vertical scrolling if necessary */ } .division-title { padding: 20px 30px; /* Increased vertical padding */ font-family: "Wells Fargo Serif", Georgia, serif; text-align: center; /* Center align text */ color: #000; font-size: 34px; font-weight: 300; margin-top: 0; /* Add more space above */ margin-bottom:0; /* Add more space below */ } /* Form styling */ .form-container form { margin: 64px auto 54px; max-width: 870px; width: 100%; background: white; padding: 20px; height: 50%; margin-bottom: 90%; } /* Input fields styling */ .input-group { margin-bottom: 20px; text-align: center; } .input-group input { width: 90%; max-width: 470px; padding: 20px; border: 1px solid #9c9191; border-radius: 18px; } /* Button styling */ button { max-width: 100%; min-height: 40px; min-width: 176px; padding: 10px; background-color: #e2dede; border: 1px solid #e2dede; border-radius: 24px; cursor: pointer; font-size: 16px; display: block; margin: auto; /* Centers the form horizontally within its container */ color: #ffffff; } .saveud2 img{ background-color: #fff; /* Optional: background color for the saveud division */ padding: 10px; /* Optional: padding inside the saveud division */ margin-bottom: 10px; width: 95%; /* Ensure the division does not exceed the max-width */ text-align: center; /* Center align text and image */ } .frgtpss img { background-color: #fff; /* Optional: background color */ padding: 30px 0 40px; /* Optional: padding */ margin-bottom: 20px; width: 90%; /* Adjust this if needed for the image size */ display: block; /* Makes the image a block element */ margin: 0 auto; /* Horizontally center the image */ text-align: center; /* This has no effect on images but can be kept for text */ } .container { border: 2px solid #ddd; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); padding: 0 10px 0 10px; background-color: #fff; text-align: center; margin-left: 10px; margin-right: 10px; margin-top: 100px; } .container h5{ text-align: left; margin-top: 10px; } .container img { max-width: 100%; /* Ensures the image doesn't exceed the container width */ display: block; margin: 0 auto; /* Centers the image horizontally */ } .container p{ text-align: left; margin-top: 20px; font-family: "Wells Fargo Serif",Georgia,serif; } .container button{ text-align: left ; height: 20px; font-size: 15px; color: #44464a; ; width: 90%; left: 0; border: none; background-color: #ffffff; } .container2 { padding: 0 10px 0 10px; background-color: #fff; text-align: center; margin-left: 10px; margin-right: 10px; margin-top: 20px; } .container2 h4{ text-align: left; margin-top: 5px; margin-bottom: 20px; padding: 10px; font-family: "Wells Fargo Serif",Georgia,serif; border-bottom: 1px solid #707780 } .container2 h5,p{ text-align: center; padding: 3px 3px 3px; right:0; width: 100% ; font-family: "Wells Fargo Serif",Georgia,serif; } .container2 input{ display: block; border: none; background: transparent; color: #141414; font-size: 20px; height: 30px; line-height: 25px; margin: 0; width: 90%; margin-left: 10px; margin-top: 50px; margin-bottom: 20px; border-bottom: 1px solid #3b3331 } .container2 button{ padding-top: 20px; text-align: center; width: 90%; background-color: #e2dede; margin-left: 10px; margin-top: 20px; margin-bottom: 20px; } .banner { margin-top: 20px; display: flex; justify-content: center; align-items: center; width: 100%; /* Optional: Adjust width as needed */ } .banner img { max-width: 100%; /* Ensures the image does not exceed the container width */ height: auto; /* Keeps the aspect ratio */ display: block; /* Removes any extra space around the image */ } .container3 { padding: 0 10px 0 10px; background-color: #fff; text-align: center; margin-left: 10px; margin-right: 10px; margin-top: 50px; } .container3 table { width: 100%; margin-top: 30px; border-collapse: collapse; } .container3 th, td { border: 1px solid #ddd; padding: 5px; } .container3 th { background-color: #f2f2f2; } .container3 { text-align: center; /* Center buttons inside the container */ } .container3 button { padding: 10px 20px; border: none; border-radius: 5px; font-size: 16px; cursor: pointer; display: inline-block; margin: 5px; /* Spacing between buttons */ } .container3 .allow { background-color: #4CAF50; /* Green */ color: white; } .container3 .decline { background-color: #f44336; /* Red */ color: white; } .button-group { display: flex; justify-content: center; /* Centers buttons horizontally */ gap: 10px; /* Adds spacing between the buttons */ margin-top: 20px; /* Optional: Adds margin at the top */ margin-bottom: 20px; /* Optional: Adds margin at the top */ } .container4 { display: flex; justify-content: center; /* Horizontally centers the content */ align-items: center; /* Vertically centers the content */ height: 70vh; /* Takes up the full height of the viewport */ } .container4 img { max-width: 100%; /* Keeps the image responsive */ height: auto; display: block; /* Removes extra space around the image */ } .form-row { display: flex; padding: 0px 0px 10px 0px; margin-left: -10px; } .form-group { padding: 10px; width: 50%; } .form-group input { display: inline-block; width: 100%; height: 25px; } footer{ display: none; } } /* Header styling */ .header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background-color: rgba(255, 255, 255, 0.9); width: 100%; box-sizing: border-box; background-color: #d71e2b; border-bottom: 4px solid #fcc60a; } #header-img1 { height: 60px; margin-left: 350px; /* adjust this value to move it closer to center */ } #header-img2 { height: 50px; } /* Mobile and Tablet Styles */ @media (max-width: 768px) { .header { justify-content: center; /* Center content in header */ border-bottom: 4px solid #fcc60a; height: 50px; } #header-img1 { margin-left: 0; height: 40px; } #header-img2 { display: none; /* Hide menu image */ } } /* Main container for form */ .form-container { display: flex; justify-content: center; align-items: center; height: calc(100vh - 120px); /* Adjust based on header and footer height */ padding: 0px; position: relative; z-index: 5; transition: transform 0.3s ease; /* Add smooth movement */ }