body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

/* Stylying for header */
.header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
}

.logo {
    width: 275px;
    height: 175px;
}

/* Nav Bar */
nav {
    display: inline-block;
}
  
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
  
nav ul li {
    margin-right: 20px;
}
  
nav a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

/* Home Button */
.home-button {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0 25px 0 25px;
    height: 25px;
    width: 25px;
    cursor: pointer;
}
  
.home-button img {
    height: 100%;
    width: 100%;
}

/* Styling for container */
.resetcards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
    gap: 50px;
    flex-wrap: wrap;
}

.resetpassword-card {
    width: 400px;
    height: 325px;
    padding: 20px;
    border-radius: 15px;
    background-color: #ebebeb;
    box-shadow: 2px 2px 5px #ccc;
}
  
.resetpassword-card h2 {
    text-align: center;
}
  
.resetpassword-card label {
    display: block;
    margin-bottom: 10px;
}
  
.resetpassword-card input[type="text"],
.resetpassword-card input[type="email"] {
    width: 95%;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
    background-color: #ffff;
    font-size: 16px;
}
  
.resetpassword-card input[type="submit"] {
    width: 30%;
    display: block;
    margin: 0 auto;
    background-color: #a6056d;
    color: #fff;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* Styling for username request card */
.username-card {
    width: 400px;
    height: 325px;
    padding: 20px;
    border-radius: 15px;
    background-color: #ebebeb;
    box-shadow: 2px 2px 5px #ccc;
}
  
.username-card h2 {
    text-align: center;
}
  
.username-card label {
    display: block;
    margin-bottom: 10px;
}
  
.username-card input[type="email"] {
    width: 95%;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
    background-color: #ffff;
    font-size: 16px;
}

.username-card input[type="password"] {
    width: 95%;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
    background-color: #ffff;
    font-size: 16px;
}
  
.username-card input[type="submit"] {
    width: 30%;
    display: block;
    margin: 0 auto;
    background-color: #a6056d;
    color: #fff;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.username-results {
    margin-top: 25px;
}

/* mobile devices */
@media screen and (max-width:768px) {
    .header {
        flex-direction: column;
    }
    
    .logo {
        width: 200px;
        height: 125px;
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
        font-size: 20px;
    }
    
    nav ul li {
        margin-bottom: 10px;
    }

    .resetcards-container {
        width: 90%;
        padding: 0 5%;
        height: auto;
        flex-wrap: wrap;
        display: flex;
        justify-content: center;
        gap: 25px;
        margin-bottom: 30px;
    }

    .resetpassword-card {
        height: auto;
        width: 100%;
        margin-bottom: 25px;
    }

    .resetpassword-card input[type="submit"] {
        width: auto;
        display: block;
        margin: 0 auto 15px;
        background-color: #a6056d;
        color: #fff;
        padding: 10px 30px;
        border-radius: 10px;
        border: none;
        font-size: 16px;
    }

    .username-card {
        height: auto;
        width: 100%;
    }

    .username-card input[type="submit"] {
        width: auto;
        display: block;
        margin: 0 auto 15px;
        background-color: #a6056d;
        color: #fff;
        padding: 10px 30px;
        border-radius: 10px;
        border: none;
        font-size: 16px;
    }
}