* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #DED8D1;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    /* display: flex; */
    max-width: 100vw;
}

header.navbar {
    width: 100%;
    height: 90px;
    padding: 0 0 1vh 0;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    z-index: 99999;
}

.text-red {
    color: #f00!important;
}

.navbar .navbar-logo {
    display: flex;
    max-width: 170px;
    padding: 0 2vw;
    align-items: center;
    justify-content: center;
}

.navbar-logo img {
    width: 100%;
    min-height: 40px;
    min-width: 170px;
}

.navbar-items ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding-top: 1.3vh;
}

.nav-item {
    list-style: none;
    flex: 1;
    padding-top: 2vh;
    margin: 1vh 2vh;
}

.nav-item a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.nav-item a:hover {
    color: #19B9FD;
    transition: all 0.2s ease-in-out;
}

.navbar-social {
    padding: 0 2vw;
    display: flex;
    flex-direction: row-reverse;
    flex-grow: 1;
    align-items: center;
    justify-items: end;
}

.social-icon {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2vh;
    margin: 0 0.3vw;
    display: flex;
    cursor: pointer;
    transition: ease-in-out 0.3s;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    animation: move-from-right 0.3s;
}

.social-icon:hover {
    background: linear-gradient(-135deg, #CBFFE1, #19B9FD);
    color: #000;
    transition: ease-in-out 0.3s;
}

main {
    width: 100%;
    height: 83vh;
}

.main-image {
    height: 86vh;
}

.main-image img {
    position: fixed;
    margin-left: -50vw;
    height: 100%;
    object-fit: cover;
    transform: translateX(calc(10vw + 100vw * 0.15));
    z-index: -1;
    animation: move-home-image-from-left 1.5s;
}

.home-detail {
    position: fixed;
    top: 0;
    right: -50vh;
    width: 120vh;
    height: 120vh;
    outline: 3vh dashed #19B9FD77;
    outline-offset: 2vh;
    border-radius: 50%;
    background-color: #19B9FD77;
    text-align: center;
    z-index: -1;
    animation: move-from-right 1.5s;
    animation: rotate-axis 20s infinite ease-in-out;
    animation-delay: 2s;
}

.home-title {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin-top: 30vh;
    margin-right: 5vw;
    font-size: 8vh;
    animation: move-from-right 2s;
}

.home-sub-title {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 40vw;
    text-align: start;
    color: #fff;
    margin-top: 45vh;
    margin-right: 5vw;
    animation: move-from-right 2.5s;
}

.home-buttons {
    position: relative;
    top: 5vh;
    right: 0;
    color: #fff;
    width: fit-content;
    float: right;
    animation: move-from-right 3s;
}

.home-buttons .main-button {
    background-color: #fff;
    color: #19B9FD;
    padding: 1vh 2vw;
    border-radius: 20px;
    text-decoration: none;
    border: 3px solid white;
}

.btn {
    padding: 1vh 2vw;
    border-radius: 20px;
    text-decoration: none;
}

.btn-sm {
    padding: 0.5vh 1vw;
    font-size: 12pt;
}

.btn-primary {
    background-color: #19B9FD;
    color: #fff;
    border: 3px solid white;
    transition: all 0.2s ease-in-out;
    border: 3px solid white;
}

.btn-primary:hover {
    background-color: #fff;
    color: #19B9FD;
    transition: all 0.2s ease-in-out;
    outline: 3px solid #19B9FD;
    outline-offset: -3px;
    cursor: pointer;
}

.home-buttons .main-button:hover,
.home-buttons .main-button-outline:hover {
    background-color: #19B9FD;
    color: #fff;
    transition: all 0.2s ease-in-out;
    border: 3px solid white;
}

.home-buttons .main-button-outline {
    background-color: transparent;
    color: #fff;
    padding: 1vh 2vw;
    border: 3px solid white;
    border-radius: 20px;
    text-decoration: none;
}

#products .main-image img {
    transform: translateX(calc(25vw + 100vw * 0.15));
}

.products-content {
    position: absolute;
    top: 0;
    height: 75vh;
    background-color: #19B9FD66;
    margin: 13vh 2vw;
    border-radius: 25px;
    padding: 3vh;
    animation: move-from-right 1s linear;
}

.products-content .products-title {
    font-size: 3vh;
    font-weight: bold;
    margin-bottom: 2vh;
}

.products-catalogue {
    position: relative;
    top: 0;
    margin-top: 2vh;
    padding: 2vh;
    height: 60vh;
    background-color: #fff6;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    animation: move-from-right 2s linear;
}

.products-catalogue::-webkit-scrollbar {
    display: none;
}

.product {
    margin: 1vh 1vw;
    width: 200px;
    height: fit-content;
    aspect-ratio: 2/3;
    padding: 2vh 1vw;
    background-color: #fff;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 25px;
}

.product-description {
    font-weight: bold;
    font-size: 2vh;
    margin-top: 2vh;
    margin-bottom: 2vh;
}

@keyframes move-from-right {
    0% {
        transform: translateX(100vw);
        opacity: 0;
    }
    
    
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes move-home-image-from-left {
    0% {
        transform: translateX(-1000vw);
        opacity: 0;
    }
    
    100% {
        transform: translateX(calc(10vw + 100vw * 0.15));
        opacity: 1;
    }
}

@keyframes rotate-axis {
    0% {
        transform: rotate(0deg);
    }
    
    25% {
        transform: rotate(50deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(230deg);
    }
    
    100% {
        transform: rotate(360deg);
    }
}

footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    background-color: #fff;
    padding-top: 10px;
    font-size: 12px;
    margin-top: auto;
}

footer a {
    color: #19B9FD;
    text-decoration: none;
    margin-left: 0.5vw;
}

footer a:hover {
    color: #CBFFE1;
}

#sobre .main-image img {
    position: fixed;
    margin-left: -41vw;
    height: 100%;
    object-fit: cover;
    transform: translateX(calc(10vw + 100vw * 0.15));
    z-index: -1;
    animation: move-home-image-from-left 1.5s;
}

.contact-form {
    padding-top: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-sub-title {
    position: absolute;
    top: 0;
    right: 0;
    text-align: justify;
    color: #fff;
    margin-top: 45vh;
    margin-right: 5vw;
    animation: move-from-right 2.5s;
}

input, textarea {
    padding: 5px;
    margin: 5px 0;
    border-radius: 5px;
    border: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.2s linear;
}

input:focus, textarea:focus {
    outline-color: #19B9FD;
    transition: all 0.2s linear;
}

input[type="submit"] {
    background-color: #19B9FD;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s linear;
}

#admin .home-title {
    text-align: end;
}

#admin .sub-title {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 40vw;
    text-align: end;
    font-size: 2vh;
    color: #fff;
    margin-top: 50vh;
    margin-right: 5vw;
    animation: move-from-right 2.5s;
}

#admin .products-content span#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1vh;
}

#admin .products-content {
    width: 85%;
    margin: 0;
    margin-top: 12vh;
    height: fit-content;
    background-color: #fff5;
    margin-bottom: 20vh;
    margin-left: 5%;
    margin-right: 5%;
}

#admin #products_wrapper {
    background-color: #fff;
    padding: 1vh;
    height: 68vh;
}

#admin .form-container {
    display: flex;
    border-radius: 20px;
}

#admin .form-container .images-container {
    padding: 2vh;
    flex: 1;
    max-width: 30vw;
    background-color: white;
    border: 1px solid black;
}

#admin .form-container .fields-container {
    padding: 2vh;
    flex: 2;
    background-color: white;
    border: 1px solid black;
}

.form-line-content input {
    border: 1px solid #bebebe;
}

@media screen and (max-width: 768px) {
    .main-image img {
        position: fixed;
        margin-left: -110vw;
        height: 100%;
        object-fit: cover;
        transform: translateX(calc(10vw + 100vw * 0.15));
        z-index: -1;
        animation: move-home-image-from-left 1.5s;
    }

    .d-lg {
        display: none;
    }

    .home-sub-title {
        max-width: 90vw;
    }

    .contact-sub-title {
        max-width: 90vw;
        margin: 0 5vw;
        margin-top: 30vh;
    }

    .products-content {
        width: 85vw;
    }

    .product-sub-title {
        display: none;
    }

    .products-catalogue {
        padding: 1vh 0.5vw;
        height: 67vh;
    }

    .product {
        width: 40%;
        min-height: 34vh;
    }

    footer {
        position: fixed;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .d-lg {
        color: #333;
        font-size: 18px;
    }

    .d-lg .some-element {
        background-color: #f0f0f0;
    }

    .home-sub-title {
        max-width: 45vw;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 15px;
    padding: 3px;
    border: 1px solid #757575;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    align-items: center;
}

.hamburger-menu:hover {
    border: 1px solid #494949;
}

.bar:hover {
    background-color: #494949;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #757575;
    margin: 6px 0;
}

/* Media Query for Small Devices */
@media screen and (max-width: 768px) {
    .navbar {
        position: fixed;
    }

    .home-title {
        margin-top: 18vh;
    }
    
    .home-sub-title {
        margin-top: 30vh;
    }

    .home-detail {
        right: -30vh;
        animation: none;
    }

    .navbar-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transition: all linear 2s;
    }

    .navbar-items ul {
        display: flex;
        flex-direction: column;
    }

    .navbar-items.show {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-item {
        padding: 2vh 2vw;
    }

    .navbar-logo,
    .navbar-social {
        display: none; /* Hide logo and social icons in mobile view */
    }
}

