@import "containers.less";
@import "typos.less";
@import "main.less";
@import "modal.less";
@import "contacto.less";
@import "footer.less";

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html{
	height: 100%;
	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body{
	min-height:100%;
	height: 100%;
	margin:0;
	background: #f2f2f2;
    font-family: 'roboto';
    font-size: 15px;
    text-align: justify;
    hyphens: initial;
	
}

ul li {
    text-align: left;
    hyphens: initial;
}
img {
    width: 100%;
}

h1 {
	font-weight: lighter;
}
.close{
    color: #fff;
    font-size: 2em;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 1;
    padding: 5px 13px 9px;
    border-radius: 100%;
    background: #B49B74;
    cursor:pointer;
    &:hover{
        opacity: 0.8;
    }
}
.header {
    justify-content: space-around;
    background: rgba(250,250,250,0.8);
    position: fixed;
    width: 100%;
    z-index: 200;
    .container{
        display: flex;
        justify-content: space-between;
        .logo {
            display: flex;
            align-items: baseline;
            h3 {
                color:#1D283B;
                span {
                    font-weight: lighter;
                    color:#B49B74;
                }
            }
        }
        .menu {
            display: flex;
            justify-items: center;
            align-items: center;
            .hamburgesa {
                margin-right: 10px;
            }
            .btn-contacto {
                padding: 10px;
                border-radius: 4px;
                background: #1D283B;
                color: #fff;
                font-size: 14px;
                font-weight: bold;
                text-decoration:none;
            }        
        }
    } 
}

.menuIcon {
    cursor: pointer;
    display: block;
    height: 35px;
    width: 35px;
    z-index: 999;
    position: relative;
}
/* Icon Bars */
.icon-bars {
    background: #1D283B;
    position: absolute;
    right: 0;
    top: 17px;
    height: 2px;
    width: 25px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
} 
.icon-bars::before {
    background: #1D283B;
    content: '';
    position: absolute;
    right: 0;
    top: -8px;
    height: 2px;
    width: 25px;
    -webkit-transition: 0.3s width 0.4s;
    transition: 0.3s width 0.4s;
}
.icon-bars::after {
    margin-top: 0px;
    background: #1D283B;
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 2px;
    width: 25px;
    -webkit-transition: 0.3s width 0.4s;
    transition: 0.3s width 0.4s;
}
/* Bars Shadows */
.icon-bars.overlay {
    background: #1D283B;
    width: 25px;
}
.icon-bars.overlay::before {
    background: #1D283B;
    width: 25px;
}
.icon-bars.overlay::after {
    background: #1D283B;
    width: 25px;
}
/* Toggle Menu Icon */
.menuIcon.toggle .icon-bars {
    position: fixed;
    top: 30px;
    right: 10px;
    transform: translate3d(0, 5px, 0) rotate(135deg);
    transition-delay: 0.1s;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.menuIcon.toggle .icon-bars::before {
    top: 0;
    transition-delay: 0.1s;
    opacity: 0;
}
.menuIcon.toggle .icon-bars::after {
    top: 10px;
    transform: translate3d(0, -10px, 0) rotate(-270deg);
    transition-delay: 0.1s;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.menuIcon.toggle .icon-bars.overlay {
    width: 20px;
    opacity: 0;
    -webkit-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
}


/*======================================================
                Responsive Mobile Menu 
======================================================*/ 
.overlay-menu {
  background: rgb(0, 50, 86);  
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 15px;
  transform: translateX(-100%);
  width: 100vw;
  height: 100vh;
  -webkit-transition: transform 0.2s ease-out;
  transition: transform 0.2s ease-out;
  z-index: 99;
  position: fixed;
#menu {
    .logo-mobile {
        width: 150px;
        margin: 0 0 50px 0;
    }
    .nav-item {
        color: #fff;
        text-align: left;
        font-size: 1.5em;
        display:flex;
    }
}
}
.overlay-menu ul, .overlay-menu li {
  display: block;
  position: relative;
  color: #fff;
  padding: 0;
}
.overlay-menu li a {
  color: #ffffff !important;
  display: block;
  font-size: 1.8em;
  letter-spacing: 4px;
  padding: 10px 0;
  text-align: center;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.overlay-menu #menu a .nav-item:hover {
  color: rgb(28, 121, 184);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.main {
    background: url("../img/main-bg-2.png");
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    .main-square {
        background: rgba(29,40,59,0.8);
        color: #fff;
        max-width: 550px;
        width: 50%;
        padding: 20px;
        margin-left:auto;
        h2 {
            margin-top: 0;
            margin-bottom: 0;
            font-size: 2.4em;
            span {
                font-weight: lighter;
                color:#B49B74;
            }
        }
        .main-square-info {
            display: flex;
            justify-content: space-between;
            .main-square-info-block {
                width: 48%;
                
                p {
                    font-size: 16px;
                }
                .line {
                    width: 100%;
                    height: 1px;
                    background: #B49B74;
                }
                .btn-block {
                    color: #1D283B;
                    background: #B49B74;
                    border-radius: 4px;
                    padding: 10px;
                    text-align: center;
                    width: 150px;
                }
            }
        }
    }
}
.curriculum {
    background: url("../img/cv-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 75px 0 50px;
    .cv-title {
        display: flex;
        align-items: center;
        .shape-1 {
            width: 80px;
            height: 30px;
            background: #1D283B;
        }
        h1 {
            margin-left: 15px;
        }
    }
}
.cv-info {
    display: flex;
    justify-content: space-between;
    .cv-info-text {
        width: 48%;
        .line {
            width: 100%;
            height: 1px;
            background: #B49B74;
        }
        p {
            span {
                color: #B49B74;
            }
        }
    }
}
.experiencia {
    background: #1D283B;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    padding: 75px 0 50px;
    .experiencia-title {
        color: #fff;
        display: flex;
        align-items: center;
        .shape-2 {
            width: 80px;
            height: 30px;
            background: #fff;
        }
        h1 {
            margin: 0 15px;
        }
    }
    .experiencia-info {
        .experiencia-info-text {
            h1 {
                color:  #B49B74;
            }
            &.bottom{
            	.experiencia-info-text-item{
            		position:relative;
            		&:last-child:after{
            			display: none;
            		}
            		&:after{
            			content: '';
					    position: absolute;
					    width: 2px;
					    height: 70%;
					    background: #B49B74;
					    right: 0;
					    top: 50%;
					    transform: translate(0px,-50%);
            		}
            	}
            }
            .experiencia-info-text-row{
            	margin-bottom:15px;
                .row{
                    display: flex;
                    flex-wrap: wrap;
                    margin:0 -15px;
                    .experiencia-info-text-item {
                        width: calc(100% / 3);
                        padding: 0 15px;
                        span {
                            font-weight: lighter;
                        }
                        .line {
                            width: 100%;
                            height: 1px;
                            background: #B49B74;
                        }
                        h4 {
                            margin: 25px 0 10px;
                        }
                        p {
                            margin: 15px 0;
                        }
                    }
                }
            }
        }
        .line {
            width: 100%;
            height: 1px;
            background: #B49B74;
        }
    }
}
.mapa {
    background: #1D283B;
    padding: 75px 0 50px;
    .experiencia-title {
        color: #fff;
        display: flex;
        align-items: center;
        margin-bottom:45px;
        .shape-2 {
            width: 80px;
            height: 30px;
            background: #fff;
        }
        h1 {
            margin: 0 15px;
        }
    }
    .mapa-contenido {
        display: flex;
        justify-content: space-between;
        > img{
            margin-top: 35px;
        }
        .mapa-info {
            width: 35%;
            color: #B49B74;
            h2 {
                color: #B49B74;
            }
            .list-item {
                margin-bottom: 15px;
                .city {
                    display: flex;
                    align-items: center;
                    margin: 10px 0;
                    padding-left: 25px;
                    img {
                        width: 20px;
                        height: 20px;
                        margin-right: 10px;
                    }
                    h4 {
                        font-weight: lighter;
                        margin: 0;
                        color: #fff;
                    }
                }
                .city-item {
                    margin-left: 35px;
                    color: #fff;
                }
            }
            
        }
        img {
            width: 60%;
            max-width: 550px;
        }
    }
}
.contacto {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 75px 0 50px;
    .contacto-title {
        display: flex;
        align-items: center;
        .shape-3 {
            width: 80px;
            height: 30px;
            background: #1D283B;
        }
        h1 {
            margin-left: 15px;
        }
    }
    .contacto-row {
        display: flex;
        justify-content: space-between;
        .contacto-info {
            width: 30%;
            h2{
                margin: 10px 0;
            	color: #B49B74;
            }
            .line {
                width: 100%;
                height: 1px;
                background: #1d283b;
            }
            p{
                margin: 10px 0;
            }
            a{
                margin: 10px 0;
                color:#1D283B;
                font-weight: 600;
                display: block;
            }
        }
        .contacto-map {
            width: 65%;
        }
    }
}
#whatsappLogo{
    position:fixed;
    bottom:15px;
    right:15px;
    svg{
        width: 60px;
        height: 60px;
        path{
            fill: #25D366;
        }
    }
}
@media (max-width: 767px) {
    body {
        font-size: 14px ;
    }
    h1{
        text-align:left;
    }
    .main {
        background-position: center;
        .main-square {
            width: 100% !important;
            margin-left: 0;
        }
    }

    .experiencia {
        .experiencia-info {
            .experiencia-info-text {
                h1 {
                    font-size: 24px;
                }
                .experiencia-info-text-row {
                    .row {
                        flex-direction: column;
                        .experiencia-info-text-item {
                            width: 100% !important;
                        }
                    }
                }
            }
        }
    }

    .cv-info {
        flex-direction: column;
        .cv-info-text {
            width: 100%;
        }
    }

    .mapa{
        .mapa-contenido {
            flex-direction: column;
            align-items: center;
            .mapa-info {
                width: 100%;
                h1 {
                    text-align: center;
                }
            }
            img {
                width: 100%;
                margin: 10px 0;
            }
        }
    }
    .contacto {
        .contacto-row {
            flex-direction: column-reverse;
            justify-content: center;
            .contacto-info {
                width: 60%;
            }
            .contacto-map {
                width: 100%;
            }
        }
    }

    .footer {
        .footer-row {
            flex-direction: column-reverse;
        }
    }
    .header .container .logo{
        display: inherit;
        text-align: left;
    }
    .modal-body .menu-inside{
        flex-direction: column;
        .right{
            padding:0;
            margin:0;
            &:before{
                width: 100%;
                height: 2px;
                left: 0;
                top: 10px;
            }
        }
    }
    .experiencia-info-text-item:after{
        display: none;
    }
}
