@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
    --main-color: #ba7756;
    --main-color-darker: #ca9884;
    --main-color-dark: #0e0b07;
    --main-bg-dark: #080706;
}

html {
    scroll-behavior: smooth;
}

nav.navbar {
    background-color: rgba(0, 0, 0, 0.9);
}

.body-index section {
    min-height: 100vh;
}
#presentacion  {
    font-size: 16px;
    padding: 0px 40px;
}


@media (orientation: portrait) {
    .body-index section {
        min-height: auto;
        /* Deja que el contenido defina el alto */
    }
}

.container {
    height: fit-content;
    vertical-align: baseline;
}

.dark-light {
    cursor: pointer;
    color: light-dark(rgb(218, 218, 218), black);
    background-color: light-dark(black, rgb(219, 219, 219));
    padding: 4px;
    width: 30px;
    height: 30px;
    display: grid;
    place-content: center;
    border-radius: 50%;
}

.home {
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 35%, var(--main-color) 100%);

    height: 100vh;

    .img-profile {
        box-shadow: 0px 0px 25px -5px var(--main-color,0.8);
        overflow: hidden;
        transition: box-shadow 1s ease-in-out;
    }
    .img-profile img {
        transition: all ease-in-out 1s;
    }
    .img-profile:hover {
        box-shadow: 0px 0px 45px -5px var(--main-color,0.8);
        cursor: crosshair;
        img {
            transform: scale(1.2) translateY(40px);
        }
    }
    @media only screen and (max-width: 765px) {
        #img-profile{
            padding: 25px 20% !important;
        }
    }
    .titles {
        width: 100%;
        height: 100%;
        min-height: 700px;
        position: absolute;
        padding: 0 80px;
        top: 0;
        background-color: rgb(0, 0, 0, 0.8);
    }

    h1 {
        color: #ffffff;
        width: 100%;
        display: block;
        margin: 0;
        font-size: 45px;
        font-weight: 500;
        line-height: 1.7;
    }

    h1 span {
        color: var(--main-color);
        font-weight: bold;
    }

    h2 {
        color: #ffffff;
        display: block;
        font-size: 27px;
        line-height: 1.7;
    }

    h2 span {
        color: #ffffff;
    }

    p {
        color: #ffffff;
        font-size: 18px;
        margin-top: 20px;
        max-width: 650px;
    }
}

.contact {
    /* background-image: url('../images/background.jpg'); */
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 35%, rgba(201, 160, 79, 1) 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    min-height: 700px;
    position: relative;
    overflow: hidden;

}

.contact .titles {
    width: 100%;
    height: 100%;
    min-height: 700px;
    position: absolute;
    top: 0;
    /* background-color: rgb(255, 255, 255, 0.9); */
}

.btn {
    color: #ffffff;
    background-color: var(--main-color);
    font-size: 14px;
    line-height: 40px;
    letter-spacing: 0.5px;
    text-align: center;
    font-weight: 600;
    text-transform: capitalize;
    padding: 0 40px;
    border-radius: 0;
    position: relative;
    display: inline-block;
    border: 2px solid var(--main-color);
    color: #000000;
    border-radius: 1em;
}

.btn:focus {
    border-color: none;
    box-shadow: none;
}

.btn-primary,
.btn-primary:focus {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-primary:hover {
    background-color: var(--main-color-dark);
    border: 2px solid var(--main-color);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    border: 2px solid var(--main-color);
    background-color: transparent;
    color: var(--main-color)
}

.aboutme {
    padding: 100px 0 70px 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    position: relative;
    overflow: hidden;
}

.sec-title {
    margin-bottom: 20px;
}

.sec-title h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: light-dark(#444444, white);
    text-transform: uppercase;
    display: inline-block;
    padding: 10px 10px 0 0;
    position: relative;
    z-index: 1;

}

.sec-title h2::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 70%;
    z-index: -1;
    background-color: light-dark(var(--main-color), var(--main-color-darker));
}

#services img {
    height: 100px;
}

.aboutme .service-box {
    border: 1px solid #dddddd;
    background-color: light-dark(#ffffff, #a8a8a8);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.aboutme .service-box .icontitle {
    overflow: hidden;
    margin-bottom: 10px;
}

.aboutme .service-box .icontitle i {
    float: left;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 21px;
    color: var(--main-color);
    text-align: center;
}

.aboutme .service-box .title {
    padding: 0 0 0 70px;
}

.aboutme .service-box .title span {
    color: var(--main-color);
    font-size: 16px;
    font-weight: 700;
}

.aboutme .service-box .title h4 {
    font-size: 18px;
    font-weight: 700;
    color: #444444;
    text-transform: capitalize;
    margin: 3px 0 0 0;

}

.aboutme .service-box p {
    margin: 0;
}

.aboutme .info {
    padding-left: 10vw;
    padding-right: 10vw;

}

.work {
    padding-top: 100px;
    padding-bottom: 70px;
}

.work .list-filter {
    margin-bottom: 30px;
    padding: 0;
}

.work .list-filter li {
    list-style: none;
    display: inline-block;
}

.work .list-filter a {
    display: block;
    color: light-dark(#000000, white);
    padding: 0 10px;
    margin: 4px 8px;
    cursor: pointer;
    line-height: 35px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.6s;
}

.work .list-filter a.active {
    color: var(--main-color);
}

.work .list-filter a:hover {
    color: var(--main-color);
}

.projects-wrapper>div {
    margin: 25px 0 0 0;

}

.work-box {
    background-color: light-dark(white, #444);
    position: relative;
    overflow: hidden;
    display: block;
    padding: 15px;
    box-shadow: 1px 2px 10px rgb(0, 0, 0, 0.1);
    border-radius: 10px;
}

.work-box a {
    display: inline-block;
    position: relative;
}

.work-box:hover .work-overlay {
    opacity: 1;
    transform: scale(1);
}

.work-box:hover .work-caption {
    opacity: 1;
}

.work-box:hover .work-img {
    transform: scale(1);
    width: 100%;
    transition: all 2s linear;
}

.work-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    background-color: var(--main-color);
    transition: all 0.2s linear;
    transform: scale(0);
}

.work-overlay h5 {
    color: #ffffff;
}

.work-overlay p {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 0;
    color: #ffffff;
}

.work-overlay .work-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    width: 100%;
    transition: all 0.5s linear;
    text-align: center;
}

.overlay-icons {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 22px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    line-height: 41px;
    transition: all 0.5s;
}


.overlay-icons:hover {
    background-color: #ffffff;
    color: var(--main-color);
    border: 2px solid #ffffff;
}

@media only screen and (max-width:768px) {
    .list-filter a {
        padding: 0 5px;
        margin: 4px 5px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 768px) {
    .home .titles {
        padding: 0 40px;
        width: 100%;
    }

    .home h2,
    .home p {
        font-size: 20px;
    }

}

@media only screen and (max-width: 900px) {
    #foto {
        display: none;
    }
}

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

    .home h2,
    .home p {
        font-size: 18px;
    }

    .home h1 {
        font-size: 30px;
    }

    .aboutme .info {
        font-size: 14px;
    }

    .whiteBoard {
        height: 80vh !important;
    }
}

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

    .home h2,
    .home p {
        font-size: 16px;
    }

    .home h1 {
        font-size: 28px;
    }
}

a {
    color: inherit;
}

/* NAVEGACION */
#mainNav {
    position: absolute;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: center;

    .navbar-brand {
        font-weight: 800;
        color: white;
    }

    .navbar-toggler {
        font-size: 12px;
        font-weight: 800;
        padding: 13px;
        text-transform: uppercase;
        color: white;
    }

    .navbar-nav>li.nav-item>a {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: white;
    }
}

@media only screen and (min-width: 992px) {
    #mainNav {
        background: transparent;
    }

    #mainNav .navbar-brand {
        padding: 10px 20px;
        color: #fff;
    }

    #mainNav .navbar-brand:focus,
    #mainNav .navbar-brand:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    #mainNav .navbar-nav>li.nav-item>a {
        padding: 10px 20px;
        color: #fff;
    }

    #mainNav .navbar-nav>li.nav-item>a:focus,
    #mainNav .navbar-nav>li.nav-item>a:hover {
        color: rgba(255, 255, 255, 0.8);
    }
}

@media only screen and (min-width: 992px) {
    #mainNav {
        transition: background-color 0.2s;
        /* Force Hardware Acceleration in WebKit */
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    #mainNav.is-fixed {
        /* when the user scrolls down, we hide the header right above the viewport */
        position: fixed;
        top: -67px;
        transition: transform 0.2s;
        background-color: rgba(255, 255, 255, 0.9);
    }

    #mainNav.is-fixed .navbar-brand {
        color: #212529;
    }

    #mainNav.is-fixed .navbar-brand:focus,
    #mainNav.is-fixed .navbar-brand:hover {
        color: #0085A1;
    }

    #mainNav.is-fixed .navbar-nav>li.nav-item>a {
        color: #212529;
    }

    #mainNav.is-fixed .navbar-nav>li.nav-item>a:focus,
    #mainNav.is-fixed .navbar-nav>li.nav-item>a:hover {
        color: #0085A1;
    }

    #mainNav.is-visible {
        /* if the user changes the scrolling direction, we show the header */
        transform: translate3d(0, 100%, 0);
    }
}

.whiteBoard {
    width: 100vw;
    max-width: 100vw;
    height: 90vh;
    background-color: white;
    border: solid rgba(128, 128, 128, 0.516);
    border-radius: 10px;
    margin-top: 60px;
}

.fadein {
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}