:root {
    --black: #0D0D0D;
    --neon: #A6FD29;
    --white: #F2F2F2;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: "Bodoni Moda", serif;
    font-weight: 800;
    color: var(--navy-blue);
}

p {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: var(--charcoal-gray);
}

html,
body {
    font-family: 'Open Sans', sans-serif;
    background: var(--light-gray);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 100vw;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

.main {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 100vw;
    min-height: 100vh;
    background-color: var(--black);
    padding: 0px 40px;
    overflow-y: auto;
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 10%;
    margin: 12px 0px;
    padding: 30px 0px;
    padding-top: 20px;
    border-bottom: 1px solid var(--neon);
    /* background: var(--neon); */
}

.navbar{
    display: none;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: fit-content;

}

.logo h1 {
    width: 100%;
    height: 100%;
    padding: 6px;
    background-color: var(--neon);
    color: var(--black);
    font-weight: 900;
}

nav .nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 65px;
    color: var(--neon);
    /* background-color: var(--white); */
}

nav .nav-item a,
nav .login a {
    text-transform: capitalize;
    text-decoration: none;
    color: var(--neon);
    font-weight: 500;
    font-size: 14px;
    padding: 12px;
    border-bottom: none;
    box-shadow: 1px 1px 1px var(--black);
    font-family: "Open Sans", sans-serif;
}


nav .nav-item a:hover {
    text-decoration: none;
    background-color: var(--white);
    font-weight: 900;
    box-shadow: 3px 5px 0px var(--neon);
    color: var(--black);
    transition: .3s ease-in-out;
}

nav .login {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 100%;
}

nav .login a {
    text-wrap: nowrap;
    text-decoration: none;
    border: 1px solid var(--neon);
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    color: var(--neon);
}

nav .login a:hover ,  .container .s2 button:hover {
    text-decoration: none;
    border: none;
    background-color: var(--neon);
    color: var(--black);
    transition: .3s ease-in-out;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 80vh;
    padding: 0px 8px;
    overflow:hidden;
}

.container .side {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--neon);
}

.container .s1 {
    gap: 20px;
    padding: 4%;
    line-height: 1.6;
}
code {
    background-color: var(--neon);
    color: var(--black);
    padding: 4px 8px;
    border-radius: 12px;
}
.container .s1 form {
    display: flex;
    width: 70%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    gap: 8%;
    flex-direction: column;
    /* background-color: var(--neon); */
}
.container::-webkit-scrollbar {
              display: none;
          }

.container .s1 form input,
.container .s1 form button {
    width: 95%;
    height: 40px;
    padding: 10px 12px;
    color: var(--black);
    background-color: var(--neon);
    border: none;
    box-shadow: 4px 4px 0px var(--white);
}

.container .s1 form input::placeholder {
    color: var(--black);
    font-size: 12px;
    font-weight: 500;
}

.container .s1 form input:focus {
    outline: none;
    box-shadow: 4px 4px 0px var(--white);
}

.container .s1 form button {
    width: 50%;
    height: 40px;
    padding: 10px 12px;
    color: var(--black);
    background-color: var(--neon);
    border: none;
    box-shadow: -4px 4px 0px var(--white);
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
}

.container .s2 img {
    width: 85%;
    object-fit: cover;
}

.container .s2 button {
    width: 20%;
    height: 40px;
    padding: 10px 12px;
    color: var(--neon);
    background-color: var(--black);
    border: 1px solid var(--neon);
    cursor: pointer;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
}

.preview{
    width: 100%;
    min-height: 90%;
    overflow-y: scroll;
    scrollbar-width:none;
    background-color: #0d1017;
    margin-top:8px;
    color: #faefe7;
    padding: 20px;
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    border: 1px solid var(--neon);
}
.preview::webkit-scrollbar{
    display:none;
}
.preview h1, .preview h2, .preview h3 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.preview p {
    margin-bottom: 1rem;
}

.preview ul, .preview ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.preview li {
    margin-bottom: 0.5rem;
}

.preview code {
    background-color: #f6f8fa;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
}

.preview pre {
    background-color: #f6f8fa;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.preview table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.preview table th,
.preview table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.preview table th {
    background-color: #f0f0f0;
    font-weight: 600;
}

.preview img {
    max-width: 100%;
    border-radius: 6px;
    margin: 1rem 0;
}

.s1 img {
    width: 100%;
    height: 100%;
    vertical-align: top;
    object-position: top;
    object-fit: cover;
    box-shadow: 12px 14px 20px #7c372b;
}
.s2 .r1{
    width: 100%;
    margin: 0px 0px 25px 0px;
    text-align: left;
}
.s2 .r2 span{
    font-weight: 800;
    background-color: var(--neon);
    color: var(--black);
    padding: 4px;
}
.s2 .r2 p{
    line-height: 1.6;
}
.col{
    width: 100%;

}
.c1 .r1 {
    width: 100%;
    margin: 0px 0px 10px 0px;
    text-align: left;
    padding: 10px;
    /* background-color: var(--neon); */
    color: var(--neon);
}
.c1 .r2 form{
    display: flex;
    padding: 10px;
    flex-direction: column;
    font-size: 14px;
    /* background-color: var(--neon); */
    color: var(--neon);
    width: 100%;
    height: 100%;
    gap: 14px;
    justify-content: flex-start;
    align-items: flex-start;
}

form input{
    width: 100%;
    height: 40px;
    padding: 10px 12px;
    color: var(--black);
    background-color: var(--white);
    border: none;
    box-shadow: 4px 4px 0px var(--neon);
}
form input:focus {
    outline: none;
    box-shadow: 4px 4px 0px var(--neon);
}
form input::placeholder {
    color: var(--black);
    font-size: 12px;
    font-weight: 500;
    opacity: 0.7;
}
form button {
    width: 50%;
    height: 40px;
    padding: 10px 12px;
    color: var(--black);
    background-color: var(--neon);
    border: none;
    box-shadow: -4px 4px 0px var(--white);
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    transform: translate(-50%);
    margin-left: 50%;
}
form button:hover {
    background-color: var(--white);
    color: var(--black);
    box-shadow: 4px 4px 0px var(--neon);
    transition: .3s ease-in-out;
}
form textarea {
    width: 100%;
    height: 100px;
    padding: 10px 12px;
    color: var(--black);
    background-color: var(--white);
    border: none;
    box-shadow: 4px 4px 0px var(--neon);
    resize: none;
    font-family: "Open Sans", sans-serif;
}
form textarea:focus {
    outline: none;
    box-shadow: 4px 4px 0px var(--neon);
}
form textarea::placeholder {
    color: var(--black);
    font-size: 12px;
    font-weight: 500;
    opacity: 0.7;
}
form label{
    font-weight: 600;
    color: var(--neon);
    font-size: 14px;
    margin-bottom: 4px;
}

.c2{
    padding: 10px;
    color: var(--neon);
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap:10px;

}

.c2 .review-box{
    margin-top: 22px;
    width: 300px;
    height: 150px;
    color: var(--neon);
    border: 1px solid var(--neon);
}

.c2 .review-box .name{
    padding: 10px;
    height: 10p;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: solid 1px var(--neon);
}
.c2 .review-box .review{
    width: 100%;
    height: 90%;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--neon);
}

@media screen and (max-width: 768px) {

    .main {
        padding: 0px 10px;
        overflow-y:auto;
        overflow-x: hidden;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        padding-bottom: 8px;
        margin: 3px;
        z-index: 99999;
    }

    .navbar .logo h1{
        width: fit-content;
        height: fit-content;
        padding: 2px;
        margin: 0px;
        background-color: var(--neon);
        color: var(--black);
        border-bottom: 1px solid var(--neon);
    }
    .navbar .logo {
        width: fit-content;
        height: fit-content;
        padding: 0px;
    }

    .navbar2{
        display: none;
    }

    .hamburger {
        display: block;
        color: var(--neon);
        font-size: 24px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--neon);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 0px 18px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        width: 100%;
        height: 30%;
        margin: 18px 0px;
        justify-content: space-evenly;
    }

    .nav-links li {
        list-style-type: none;
        color: var(--black);
        text-align: left;
        border: 1px solid var(--black);
        padding: 6px 22px;
    }

    .nav-links li a {
        color: var(--black);
        font-family: "bodoni moda", serif;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 16px;
        text-decoration: none;
        border-bottom: 1px solid var(--black);
    }
    .nav-links li:nth-child(2) {
        text-align: right;
    }
    .nav-links li:nth-child(4) {
        background-color: var(--black);
        text-align: center;
    }
    .nav-links li:nth-child(4) a {
        color: var(--neon);
    }

    .container{
        width: 100%;
        min-height: fit-content;
        flex-direction: column;
        align-items: center;
        padding: 0px 8px;
        overflow-y: auto;
    }
    .container h1{
        font-size: 22px;
    }
    .container p{
        font-size: 12px;
        text-align: center;
    }
    .container .side {
        width: 100%;
        min-height: fit-content;
        padding: 20px;
        text-align: center;
    }

    .container .s1 {
        width: 100%;
        min-height: fit-content;
        padding: 0px;
        gap: 10px;
    }

    .container .s1 form {
        display: flex;
        justify-content: center;
        width: 100%;
        height: fit-content;
        padding: 0px;
        gap: 10px;
    }

    .container .s2 button{
        width: fit-content;
    }

    form button{
        width: fit-content;
        text-wrap: nowrap;
    }

}