@import url(utils.css);
@import url(header.css);
@import url(inputs.css);

/* ======================================== GENERAL =================================== */
body {
    box-sizing: border-box;
    position: relative;
    transition: var(--transition);
    height: 100vh;
}

main {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-height));
    width: 100%;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1000ms;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 100px;
    height: 100%;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

.content::-webkit-scrollbar {
    display: none;
}

.home-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: fit-content;
    width: 100%;
}

.home-article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    height: fit-content;
    width: 90%;
    max-width: 1000px;
    padding: var(--padding-general);
    border-radius: var(--radius-general);
}

.area-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: 100%;
    color: var(--black);
    background-color: var(--background);
}

.area-article {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: fit-content;
    width: 90%;
    max-width: 1000px;
    padding: var(--padding-general);
    border-radius: var(--radius-general);
}

.area-list {
    appearance: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.area-item {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 10px;
}

.area-item img {
    width: 22px;
    height: 22px;
}

.proyects-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--gap-general);
    height: fit-content;
    width: 100%;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: var(--padding-general) 0px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: fit-content;
    overflow: hidden;
    margin: 0 auto;
}

.carousel {
    display: flex;
    transition: all 400ms ease-in-out;
}

.carousel-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    min-width: 100%;
    height: 100%;
    color: var(--white);
}

.carousel-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-general);
}

.carousel-item-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--padding-general);
}

.carousel-controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
    width: 100%;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
}

.dot-indicator {
    width: 15px;
    height: 15px;
    margin: 7px;
    background-color: var(--grey-1);
    border-radius: 50%;
    cursor: pointer;
}

.dot-indicator.active {
    background-color: var(--orange);
    box-shadow: 0 0 10px 2px #FF8900;
}

.btn-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--cyan);
    border: 1px solid var(--cyan);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.btn-carousel img {
    width: 24px;
    height: 24px;
    filter: var(--cyan-icon);
}

#btn-next {
    transform: rotate(180deg);
}


@media only screen and (max-width: 1024px) {
    .carousel-item img {
        border-radius: 0px;
    }
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: fit-content;
    width: 100%;
    padding-bottom: 60px;
}

.contact-article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    height: fit-content;
    width: 90%;
    max-width: 1000px;
    padding: var(--padding-general);
    border-radius: var(--radius-general);
}