body {
    background-color: rgba(73, 74, 73, 1);
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
}

.trayectoria {
    background-color: rgba(255, 255, 255, 1);
}

.lgtitle {
    margin-top: 150px;
    font-size: 5em;
}

.lgsubtitle {
    font-size: 2em;
    color: white;
    font-weight: 300;
}

.masthead {
    height: 100vh;
    background: rgba(73, 74, 73, 1) url('../images/trayectoria/circle.png') left bottom no-repeat;
    background-size: 70% auto;
    position: relative;
}

.masthead h2 {
    font-family: Arial Black, Arial Bold, Gadget, sans-serif;
    display: inline-block;
    font-weight: 700;
    font-size: 300px;
    color: black;
    position: absolute;
    right: 0;
    top: 20%;
}

.masthead h2 span {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 70px;
    color: white;
    font-weight: 700;
    padding-bottom: 10px;
    padding-right: 30px;
    border-bottom: 10px solid #991E1E;
    transform: translate(-40px, -50px);
}

.declarahead {
    height: 100vh;
    width: 100%;
    background-image: url('../images/declaracion/circle.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-color: rgba(73, 74, 73, 1);
}

.declarahead h2 {
    font-family: Arial Black, Arial Bold, Gadget, sans-serif;
    display: block;
    position: absolute;
    right: 0%;
    bottom: 90px;
    font-weight: 700;
    font-size: 300px;
    color: black;
    width: 100%;
    text-align: right;
}

.declarahead h2 span {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 70px;
    color: white;
    font-weight: 700;
    padding-bottom: 10px;
    padding-right: 30%;
    border-bottom: 10px solid #991E1E;
    transform: translate(-40px, -50px);
}

.conthead {
    height: 100vh;
    background-image: url('../images/contacto/circle.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-color: rgba(73, 74, 73, 1);
    padding: 250px 80px 40px 80px;
}

.conthead h2 {
    font-family: Arial Black, Arial Bold, Gadget, sans-serif;
    display: block;
    font-weight: 700;
    font-size: 300px;
    color: black;
    width: 100%;
    margin-bottom: 50px;
    position: relative;
}

.conthead h2 span:not(.letter) {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 70px;
    color: white;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 10px solid #991E1E;
    transform: translate(0px, -50px);
    width: 80%;
    margin-left: 20%;
}
.conthead h2 span.letter{
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
}
.contacto-content{
    padding: 60px 20px;
}
.md-form{
    padding-bottom: 20px;
}
.form-actions{
    text-align: right;
}
.info {
    color: white;
    padding: 20px;
}

.info h3 {
    font-weight: 700;
    ;
}

.sombra {
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #333333;
    -webkit-box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
    -moz-box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}


span.text-content {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    display: table;
    height: auto;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0;
}

span.text-content span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.modal-body {
    text-align: center;
    vertical-align: middle;
}

.img-modal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.modal-fullscreen .modal-dialog {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    max-width: none;
}

.modal.modal-fullscreen .modal-content {
    height: auto;
    height: 100vh;
    border-radius: 0;
    border: none;
}

.modal.modal-fullscreen .modal-body {
    overflow-y: auto;
}

.portafolio-bottom {
    padding-top: 40px;
}

.portafolio-bottom .spacer {
    flex: 0 0 auto;
    display: block;
    width: 12.5%;
}

a.home-btn {
    display: block;
    position: fixed;
    top: 40px;
    right: 40px;
    line-height: 30px;
    padding-right: 30px;
    text-decoration: none;
    color: white;
    z-index: 10;
    transition: 330ms all ease-out;
}

a.home-btn.black {
    color: black;
}

a.home-btn span {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 30px;
}

i.fas.fa-solid.fa-angle-left,
i.fas.fa-solid.fa-angle-right {
    display: block;
    position: fixed;
    top: 50%;
}

i.fas.fa-solid.fa-angle-left {
    left: 20px;
}

i.fas.fa-solid.fa-angle-right {
    right: 20px;
}

.show-mob {
    display: none;
}

@media screen and (max-width:768px) {
    .portafolio-bottom .spacer {
        display: none;
    }

    .lgtitle {
        font-size: 2rem;
        margin-top: 30px;
    }

    .lgsubtitle {
        font-size: 1rem;
    }

    .home-nav a {
        display: block;
        padding: 30px;
    }

    .masthead h2 {
        font-size: 120px;
        width: 100%;
        text-align: center;
    }

    .masthead h2 span {
        font-size: 24px;
        transform: translate(0, -30px);
    }
    .conthead{
        background-position: top left;
    }
    .declarahead h2{
        font-size: 100px;
        text-align: center;
    }
    .conthead h2 span.letter{
        font-size: 80px;
    }
    .declarahead h2 span,
    .conthead h2 span:not(.letter) {
        font-size: 21px;
        padding-right: 0;
        transform: translate(0px, -20px);
    }
    .conthead h2 span:not(.letter){
        margin-left: 30%;
    }
    .hide-mob {
        display: none;
    }

    .show-mob {
        display: block;
    }
}

.hover .img {
    overflow: hidden;
    transform: rotate(0.0001deg);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover:hover .img {
    transform: scale(0.95);
}

.hover:hover img {
    transform: scale(1.15);
}

.imagecontainer {
    position: relative;
}  
.imagecontainer img{
    width: 100%;
    height: auto;
}
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(255, 255, 255, .9);
}
.imagecontainer:hover .overlay {
    opacity: 1;
}
.text {
    color: rgb(40, 40, 40);
    font-size: 14px;
    position: relative;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding-left: 10px;
}
.modal-header{
    flex-wrap: wrap;
}
.modal-header h4,
.modal-header h5{
    width: 100%;
    text-align: center;
}
.modal-header h4{
    font-size: 21px;
    font-weight: 700;
}
.modal-header h5{
    font-size: 15px;
    font-weight: 400;
}
.mt-6{margin-top:5rem;}

.sociallinks{
    width:25px; 
    margin-right:10px; 
    padding-bottom:5px; 
    color:#FFF;
}

.sociallinks:hover{
    color:#FFF;
}

.sociallinks:visited{
    color:#FFF !important;
}
