* { margin: 0; padding: 0; box-sizing: border-box; } body, html { height: 100%; } body { font-family: Arial, sans-serif; background-color: #073b4c; display: flex; /*background-position: center;*/ background-size: cover; background-repeat: no-repeat; /*flex-direction: column;*/ } h1, h2 { text-align: center; /*padding: 20px 0;*/ color: white; /*ffd166*/ margin: 0 0 1em; } .hexagon{ position: relative; width: 100px; height: 93.2px; background-color: cadetblue; margin: 86.6px 0; /* hexa pattern 2 /*width: 300px; height: 300px; background: cadetblue; -webkit-clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);*/ } .hexagon::before { content: ""; position: absolute; width: 0; border-left: 150px solid transparent; border-right: 150px solid transparent; bottom: 100%; border-bottom: 86.6px solid cadetblue; } .hexagon::after { content: ""; position: absolute; border-left: 150px solid transparent; border-right: 150px solid transparent; top: 100%; width: 0; border-top: 86.6px solid cadetblue; } hr { margin-bottom: 75px } #mylogo { position: fixed; top: 10px; left: 39%; } .content { flex: 1; padding: 20px; margin-top: 100px; } /* Center the login box vertically and horizontally */ .container { margin: auto; background: transparent; border-radius: 10px; /*box-shadow: 0 6px 12px rgba(0, 0, 0, 1); /*background-color: #118ab2;*/ width: 300px; } /* Style the login box */ .login-box { background: transparent; padding: 2em; border-radius: 10px; /*box-shadow: 0 6px 12px rgba(0, 0, 0, 1); /*background-color: #575b5c;/*#118ab2, 515556*/ width: 300px; text-align: center; display: flex; flex-direction: column; justify-content: center; } form { display: flex; flex-direction: column; gap: 15px; } /* Style text input fields */ .textbox { margin-bottom: 1em; } input::placeholder { color: black; } .textbox input { width: 100%; font-size: 16px; background: #fdfdfd; border: 1px solid #ddd; padding: 15px; border-radius: 25px; border: none; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7); letter-spacing: 1px; } /* Style the login button */ .btn { width: 100%; padding: 10px 20px; font-size: 1.1rem; font-weight: bold; color: #ffffff; border-radius: 25px; cursor: pointer; transition: background-color 0.3s; margin: 5px; background-color: cadetblue; /*b40e32, 121313*/ /*e74c3c*/ color: white; } .btn:hover { background-color: #cb3153; } .footer { position: fixed; left: 0; bottom: 0; width: 100%; background-color: #121313; /*#022532, 121313*/ color: white; text-align: center; padding: 8px 0; }