/* ==========================================================================
   Card Menu
   ========================================================================== */
.contact-info {
    text-align: right;
    display: flex;
    overflow: hidden;
    box-sizing: content-box;
    object-position: 100px;
    object-fit: contain;
    aspect-ratio: auto;
    position: relative;
    right: 40px;
    top: 600px;
    float: right;
    flex-direction: row-reverse;
    font-family: '#', sans-serif;
    line-height: 20px;
    margin-top: 0px;
}

body {
    background: white;
    color: black;
}

/* aside {
    position: fixed;
    left: 0px;
    width: 580px;
    height: 100%;
    overflow: auto;
    z-index: 1;
}

.hero-image {
    background: url("https://images.unsplash.com/photo-1519253888976-62a7e1ea3e0e?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=530ec599a3132a01a4ae3ef279bb065f&auto=format&fit=crop&w=675&q=80")no-repeat
		center;
    background-size: cover;
    min-height: 100%;
    width: 100%;
} */
button {
    background: none;
    border: none;
}

button:focus {
    outline: none;
}

.contain {
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 9999;
}

.brand {
    color: black;
}

.bar1,
.bar3 {
    width: 36px;
    height: 2px;
    background-color: black;
    border-radius: 4px;
    margin: 5px 0;
    transition: 0.4s;
}

.bar2 {
    width: 25px;
    height: 2px;
    background-color: black;
    border-radius: 4px;
    margin: 5px 0px 5px 10px;
    transition: 0.55s;
}

.change .bar1 {
    transform: rotate(-45deg) translate(-5px, 5px);
    background: black;
}

.change .bar2 {
    transform: translate(30px, 0px);
    background: black;
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-5px, -5px);
    background: black;
}

.navbar {
    background: transparent;
    position: fixed;
    right: 0;
    top: 0;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    padding: 0px 20px;
    width: 60%;
    z-index: 1000;
}

button.contain.open-menu {
    padding: 5px;
    margin-top: 20px;
    background-color: #ffffff;
    cursor: pointer;
}

.open-menu {
    cursor: pointer;
    transition: transform 0.35s;
    color: #fff;
}

/* ============= Overlay ============= */
.overlay {
    position: fixed;
    background: white;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s, height 0.35s;
    overflow: auto;
    z-index: 999;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
    z-index: 999;
}

button.contain.open-menu {
    padding: 5px;
    margin-top: 20px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;

    /* Aseguramos posicionamiento */
    z-index: 1001;

    /* Más alto que el navbar */
}

.contain {
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 1001;

    /* Aumentado de 9999 a 1001 */
}

/* Si el botón tiene esta clase específicamente cuando está abierto */
.open-menu {
    cursor: pointer;
    transition: transform 0.35s;
    color: #fff;
    z-index: 1002;

    /* Aún más alto cuando está activo */
}

.overlay nav {
    position: relative;

    /* height: 45%; */
    top: 292px;
    transform: translateY(-50%);
    text-align: center;
    margin-top: 0px;
}

.overlay ul {
    list-style: none;
    padding: 0px;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    left: 1%;
    text-align: left;

    /* height: 100%; */
}

.overlay ul li {
    vertical-align: middle;
    display: block;
    position: relative;
    opacity: 0;
    margin-bottom: 1px;
    font-size: 3em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: black;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s;
    font-family: 'Poppins', sans-serif;
    top: 0px;
    border-top-width: 1px;
}

.overlay ul li a:hover,
.overlay ul li a:focus,
.overlay ul li a:active {
    color: rgb(108, 108, 108);
    transform: scale(1.1);
}

a.active {
    border-bottom: 2px solid #ff0000;

    /* Agrega un subrayado */
}

.overlay.open li {
    -webkit-animation: fadeInRight 0.5s ease forwards;
    animation: fadeInRight 0.5s ease forwards;
    -webkit-animation-delay: 0.35s;
    animation-delay: 0.35s;
}

.overlay.open li:nth-of-type(2) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.overlay.open li:nth-of-type(3) {
    -webkit-animation-delay: 0.45s;
    animation-delay: 0.45s;
}

.overlay.open li:nth-of-type(4) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

/* Animation for menu fade in */
@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 960px) {
    button.contain.open-menu {
        background: rgba(249, 249, 249, 0.9);
        padding: 5px;
    }

    .navbar {
        width: 100%;

        /* background: rgba(0, 0, 0, 0.8); */
    }

    #mobile-image {
        display: block;
        width: 100%;
        height: auto;
    }

    aside {
        display: none;
    }

    main {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .section-1 {
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 150px 0px;
    }

    .section-1 h1 {
        font-size: 3.5em;
    }

    .section-1 h2 {
        font-size: 1.8em;
    }

    .section-1 h3 {
        font-size: 1.2em;
    }

    .navbar,
    	.overlay {
        width: 100%;
    }

    .link-btn-solid {
        width: 100%;
    }

    .btt img {
        right: 30px;
    }

    footer nav {
        flex-wrap: wrap;
        width: 100%;
    }

    section#about,
    	section#location {
        margin-top: 150px;
        padding: 0 12px;
    }

    .title-header {
        margin-bottom: 70px;
    }
}

/* Work Section Two column layout */
@media (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Work Section One column layout */
@media (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

/* Overlay Menu */
@media (max-width: 670px) {
    section#about p {
        font-size: 0.875em;
    }

    .overlay nav {
        font-size: 0.875em;
    }
}

@media (max-width: 550px) {
    .overlay nav {
        font-size: 0.75em;
        margin-top: -130px;
    }
}

/* Grid Layout */
@media (max-width: 800px) {
    .myrow,
    	.myrow-halves,
    	.myrow-thirds,
    	.myrow-fourths {
        display: block;
    }

    .myrow .col,
    	.myrow-halves .col,
    	.myrow-thirds .col,
    	.myrow-fourths .col {
        width: 100%;
        margin: 0 0 10px 0;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/* * Hide visually and from screen readers */
.hidden {
    display: none !important;
}

/* * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;

    /* 1 */
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

.clearfix:before,
.clearfix:after {
    content: " ";

    /* 1 */
    display: table;

    /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 1.25dppx),
	(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

div.line-home {
    opacity: 0.5;
    border-top-style: none;
    border-top-color: #000000;
    border-bottom: 1px dotted #000000;
}

div.line-about {
    border-top-style: none;
    opacity: 0.5;
    border-bottom: 1px dotted #ff0000;
}

div.line-services {
    border-top-style: none;
    opacity: 0.5;
    border-bottom: 1px dotted #000000;
}

div.line-work {
    border-top-style: none;
    opacity: 0.5;
    border-bottom: 1px dotted #000000;
}

div.line-blog {
    border-top-style: none;
    opacity: 0.5;
    border-bottom: 1px dotted #000000;
}

div.line-contact {
    color: black;
    opacity: 0.5;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
}

.traumaxp-text {
    font-weight: 800;
}

.btn-privacy-policy-menu {
    font-weight: 500;
    color: #4c4c4c;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.btn-tel {
    font-weight: 500;
    color: #4c4c4c;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-mail {
    font-weight: 500;
    color: #4c4c4c;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.btn-instagram {
    font-weight: bolder;
    color: #4c4c4c;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.btn-linkedin {
    font-weight: bolder;
    color: #4c4c4c;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.btn-youtube {
    font-weight: bolder;
    color: #4c4c4c;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
}

.trauma-text {
    font-weight: 800;
    font-size: 15px;
    color: #4c4c4c;
}

.coded {
    font-weight: 100;
    font-size: 13px;
    color: #4c4c4c;
}

.content {
    position: absolute;
    top: 70px;
    left: 20px;
    font-family: '#', sans-serif;
    line-height: 30px;
}

.title {
    font-size: 35px;
    color: #ffffff;
    margin-top: 40px;
    font-weight: 600;
    z-index: 10 !important;
    position: relative !important;
}

.slogan {
    color: #ffffff;
    margin-top: 5px;
    font-size: 15px;
    text-decoration: none;
}

.english {
    color: black;
    font-size: 15px;
    text-decoration: none;
}

.spanish {
    color: black;
    font-size: 15px;
    text-decoration: none;
}
















