  * {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #777;
    margin: 1rem;
    overflow: hidden;
}

h5,
h3 {
    font-size: 1.25rem;
}

.container {
    z-index: 1;
}

.gradient-polygon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #116feb, #140a08);
    /* background: linear-gradient(135deg, #ee5b18, #140a08); */
    clip-path: polygon(0% 0%, 100% 20%, 100% 80%, 0% 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.row {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
    max-width: 600px;
    width: 100%;
}

.header {
    display: flex;
    flex-wrap: wrap;
}

.header__logo--pos {
    flex: 50%;
}

.btn__register {
    float: right;
    margin-top: 2em;
    border: none;
    border-radius: 1.5rem;
    background: #0062cc;
    color: #fff;
    font-weight: 600;
    width: 50%;
    cursor: pointer;
}

.btn__register-main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container__register {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container__register .nav-tabs {
    margin-top: 1rem;
    border: none;
    background: linear-gradient(145deg, #0055a3, #0072cc);
    color: #fff;
    border-radius: 1.5rem;
    width: 28%;
    float: right;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.container__register.nav-tabs .nav-link {
    padding: 1rem;
    height: 3.4rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
    border-top-right-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.container__register .nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #c2e0ec;
}

.container__register .nav-tabs .nav-link.active {
    width: 100px;
    color: #0062cc;
    border: 2px solid #0062cc;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.nav-link {
    color: #fff;
}


.row .tab-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.register__heading--existing {
    color: #495057;
    text-align: center;
    font-size: 1.25rem;
    margin-top: .75rem;
}

.register__existing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.register__form {
    display: flex;
}

.register__email {
    margin-top: 1rem;
}

#join.btn__register {
    width: 80%;
    margin: 0 1rem;
}

#home-tab {
    width: 130px;
}

.tab-pane__heading {
    margin: 1.5rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 10px;
    margin: 5px;
    border: none;
    border-radius: 6px;
    background-color: #f2f2f2;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1), inset -2px -2px 4px rgba(255, 255, 255, 0.5);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #999;
}

/* Basic button styles */
.custom-button {
    padding: 12px 15px;
    font-size: 1rem;
    border: none;
    border-radius: .8rem;
    background-color: #007bff;
    color: #ffffff;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Outward-facing bevel effect using gradients */
.custom-button {
    background: linear-gradient(145deg, #0055a3, #0072cc);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.5);
}

/* Hover styles */
.custom-button:hover {
    background: linear-gradient(145deg, #0072cc, #0055a3);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3), -4px -4px 8px rgba(255, 255, 255, 0.5);
}

/* Active/Clicked styles */
.custom-button:active {
    background: linear-gradient(145deg, #0055a3, #0072cc);
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2), inset -4px -4px 8px rgba(255, 255, 255, 0.5);
}

@media only screen and (max-width: 720px) {
    html {
        font-size: 75%;
    }

    .nav-container {
        margin-top: 0;
    }

    .container__register .nav-tabs {
        width: 100%;
    }

    .container__register .nav-tabs .nav-link .nav-link.active {
        width: 130px;
        height: 25px;
    }

    .header__logo--pos {
        margin: 0 auto;
        display: block;
    }

    .register__heading--existing {
        text-align: center;
        margin-left: 1em;
    }

    .container__register {
        width: 98%;
        margin-left: .5rem;
    }

    .register__form {
        display: block;
    }

    img {
        height: 75px;
        width: 150px;
    }

    h5,
    h3 {
        font-size: 1rem;
    }

    .btn__register {
        width: 75%;
    }
}