:root {
    --primary: #ff6d00;
    --bg: #010101;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg);
    color: #fff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    background-color: rgba(1, 1, 1, 0.8);
    border-bottom: 1px solid #883b00;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.navbar .navbar-logo img {
    height: 68px; /* Tinggi logo, sesuaikan sesuai kebutuhan */
    width: 190px; /* Mempertahankan rasio aspek */
    margin-right: 10px; /* Ruang antara logo dan elemen lainnya */
}

.navbar .navbar-nav a {
    color: #fff;
    display: inline-block;
    font-size: 1.2rem;
    margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
    color: var(--primary);
}

.navbar .navbar-nav a::after {
    content: "";
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid var(--primary);
    transform: scaleX(0);
    transition: 0.2s linear;
}

.btn-resgist {
    width: 100px;
    height: 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.btn-resgist:hover {
    width: 100px;
    height: 30px;
    border-radius: 10px;
    font-size: 1.2rem;
    border: 2px solid #ff6d00;
    background-color: transparent;
    color: #ff6d00;
    transition: 0.2s linear;
    cursor: pointer;
}

.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}

.navbar .navbar-extra a {
    color: #fff;
    margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
    color: var(--primary);
}

#hamburger-menu {
    display: none;
}

.main {
    margin-top: 180px;
    text-transform: capitalize;
}

.main h1 {
    text-align: center;
}

.containerDua {
    margin-top: 50px;
    display: flex;
    justify-content: space-evenly;
}

.nameContainer,
.emailContainer,
.passwordContainer,
.confirmPassContainer {
    margin-top: 20px;
}

.nameContainer {
    display: flex;
    justify-content: space-between;
}

.nameContainer div {
    text-align: left;
}

.emailContainer input,
.passwordContainer input,
.confirmPassContainer input {
    width: 431px;
    height: 40px;
    border: 2px solid #ad9f9f;
    border-radius: 8px;
    font-size: 15px;
}

.nameContainer input {
    width: 200px;
    height: 40px;
    border: 2px solid #ad9f9f;
    border-radius: 8px;
    font-size: 15px;
}

.nameContainer,
div,
label,
.emailContainer label,
.passwordContainer label,
.confirmPassContainer label {
    font-size: 20px;
    font-weight: 500;
}

.imgContainer img {
    width: 500px;
}

.btn-Container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn-Container button {
    width: 225px;
    height: 40px;
    background-color: var(--primary);
    cursor: pointer;
    border-radius: 8px;
    border: transparent;
    color: white;
    font-size: 16px;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none;
  }
  
/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
    html {
        font-size: 75%;
    }
}
/* Tablet */
@media (max-width: 768px) {
    html {
        font-size: 62.5%;
    }

    #hamburger-menu {
        display: inline-block;
    }

    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: #fff;
        width: 30rem;
        height: 100vh;
        transition: 0.3s;
    }

    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        color: var(--bg);
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }

    .navbar .navbar-nav a::after {
        transform-origin: 0 0;
    }

    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.2);
    }

    .btn-resgist {
        width: 100px;
        height: 30px;
        border-radius: 10px;
        font-size: 1.2rem;
        border: 2px solid black;
        background-color: transparent;
        color: black;
        cursor: pointer;
    }

    .btn-resgist:hover {
        width: 100px;
        height: 30px;
        border-radius: 10px;
        font-size: 1.2rem;
        border: 2px solid #ff6d00;
        background-color: transparent;
        color: #ff6d00;
        transition: 0.2s linear;
        cursor: pointer;
    }
}
/* Handphone */
@media (max-width: 450px) {
    html {
        font-size: 55%;
    }
}
