/* typography
==================================================*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500&display=swap');
h1 {
    font-size: 30px;
    letter-spacing: 1px;
    line-height: 30px;
    text-transform: uppercase;
    margin-left: 10px;
}
h2 {
    font-size: 30px;
    color: black;
    font-weight: 500;
}
h4 {
    font-family: 'Lato', sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    position: relative;
    margin-left: 40px;
    font-weight: 700;
}
h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
    display: block;
    height: 2px;
    background: #E7EB00;
    top: 9px;
}
.c{
    margin-left: 100px;
}
p.a{
    text-indent: 30px;
    margin-left: 30px;
    margin-right: 30px;
    padding-top: 120px;
    text-align: justify;
}
p.a:first-letter{
    font-size: 200%;
}

p.b{
    text-indent: 30px;
    margin-left: 100px;
    margin-right: 20px;
    padding-top: 50px;
}
p.b:first-letter{
    font-size: 200%;
}
.cv li {
    list-style-type: none !important;
}
/* General
==================================================*/
body {
  height:100%;
  position: relative;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  line-height: 24px;
  margin: 0;
}
.size-200{
    margin-top: 100px;
}
.size-50 {
    font-size: 50px;
    line-height: 50px;
    color: #444;
}
.h-50 {
    height: 50px;
}
.ir-arriba{
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    background: black;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: 50%;
}
/* preloader
==================================================*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 10000
}
#status,
.preloader {
    top: 50%;
    left: 50%;
    position: absolute
}
#status {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    margin: -50px 0 0 -50px
}
.preloader {
    height: 40px;
    width: 40px;
    margin-top: -20px;
    margin-left: -20px
}
.preloader:before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    height: 100%;
    width: 100%;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
    border: 2px solid #FFA500;
    border-top: 2px solid transparent;
    border-radius: 100%
}
.preloader>.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 25px;
    width: 10.6px;
    margin-top: -12.5px;
    margin-left: -5.3px;
    -webkit-animation: wink 1s ease-in-out infinite alternate;
    animation: wink 1s ease-in-out infinite alternate
}
@media only screen and (min-width:768px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader:before {
        left: -2px;
        top: -2px;
        border-width: 2px
    }
    .preloader>.icon {
        height: 37.5px;
        width: 15.9px;
        margin-top: -18.75px;
        margin-left: -7.95px
    }
}
@media only screen and (min-width:1200px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader>.icon {
        height: 50px;
        width: 21.2px;
        margin-top: -25px;
        margin-left: -10.6px
    }

}
@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}
@keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}
@-webkit-keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}
@keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}
/* Header
==================================================*/
header {
    -webkit-transition: all .5s;
    transition: all .5s;
    background-color: white;
  }

.main-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    text-align: center;
    z-index:999999;

}
.main-header img{
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  max-height: 100px;
}

/*** nav */
.navbar-default{
  width: 200px;
  height: 100%;
  overflow: auto;
  position: fixed;
  border-color: white;
  background-color: white;
}
.navbar-default ul{
    margin-left: 5%;
    list-style: none;
    padding: 0px;
    border-color: none;
    overflow-x: hidden;
    overflow-y: auto;
}
.navbar-default a{
    display: block;
    padding: 8px 30px;
    color: black;
    text-decoration: none;
    font-size: 2rem;
}
.navbar-default li{
    width: 100%;
}
.navbar-default a:hover{
    color: #F497B8;
    background-color: white;
  }
div.section {
  margin-left: 50px;
  padding: 1px 16px;
  height: auto;
}
/* home section
==================================================*/
#home {
    position: relative;
    margin-bottom: 40px;
}

/* about section
==================================================*/
#about {
    margin-bottom: 40px;
}
.about-img-div img {
    margin: 0 auto;
}
.about-border {
    position: absolute;
    border: 4px solid #b53424;
    width: 400px;
    height: 400px;
    top: 40px;
    left: 50px;
    z-index: 1
}
.imgLuis{
    padding: 15px;

}
.lroja{
    color: #b53424 !important;
    font-size: 20px;

}
/* projects section
==================================================*/

.portfolio .categories-grid span {
    font-size: 30px;
    margin-bottom: 50px;
    display: inline-block;
}
.portfolio .categories-grid .categories ul li {
    list-style: none;
    margin: 20px 0;
}
.portfolio .categories-grid .categories ul li a {
    display: inline-block;
    color: #60606e;
    padding: 0 10px;
    margin: 0 14px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}
.portfolio .categories-grid .categories ul li a:hover,
.portfolio .categories-grid .categories ul li a:focus {
    text-decoration: none;
}
.portfolio .categories-grid .categories ul li a.active {
    background-color: #FFE86F;
    padding: 0px 20px;
    color: black;
    text-decoration: none;
}
.portfolio_filter {
    padding-left: 0;
}
.portfolio_item{
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 30px;
}
.portfolio_item .portfolio_item_hover {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: rgb(253,252,251,0.5);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 1;
}
.portfolio_item .portfolio_item_hover .item_info {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 10px;
    width: 100%;
    color: #444;
    font-size: 18px;
}
.portfolio_item .portfolio_item_hover .item_info em {
    display: block;
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
}
.portfolio_item .portfolio_item_hover .item_info em {
    font-style: normal;
    display: inline-block;
    background-color: #444;
    padding: 5px 20px;
    color: #fff;
    margin-top: 10px;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
    font-size: 20px;
    letter-spacing: 2px;
}
.portfolio_item:hover .portfolio_item_hover {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.portfolio_item:hover .item_info em,
.portfolio_item:hover .item_info span{
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.portfolio .categories-grid .categories ul li {
    float: left;
}
.portfolio .categories-grid .categories ul li a {
    padding: 0 10px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}
.portfolio_filter {
    padding-left: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}
.portfolio-padding {
    padding: 50px 0;
}
.portfolio-inner {
    padding-bottom: 0 !important;
    margin-top: 120px;
}
.modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
}
.img-responsive{
    margin-left: auto;
    margin-right: auto;
}

/* contact
==================================================*/
.datos{
    padding: 40px;
    background: rgb(206,202,194, 0.3);
    border: 1px #ccc solid;
}
#contact-form input,
#contact-form textarea {
    height: 50px;
    margin-bottom: 10px;
    border-radius: 0;
}
#contact-form label {
    display: block;
    margin-bottom: .2em;
    font-size: 13px;
    line-height: 13px;
    font-size: 1.3rem;
    line-height: 1.3rem;
    color: #000;
}
#contact-form label.error {
    margin-top: 10px;
    margin-bottom: 1em;
    font-size: 12px;
    line-height: 12px;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #D33E43;
    margin-left: 10px
}
#contact-form input[type="text"].error,
#contact-form input[type="password"].error,
#contact-form input[type="date"].error,
#contact-form input[type="datetime"].error,
#contact-form input[type="datetime-local"].error,
#contact-form input[type="month"].error,
#contact-form input[type="week"].error,
#contact-form input[type="email"].error,
#contact-form input[type="number"].error,
#contact-form input[type="search"].error,
#contact-form input[type="tel"].error,
#contact-form input[type="time"].error,
#contact-form input[type="url"].error,
#contact-form textarea.error {
    border-color: #D33E43
}
textarea {
    resize: none;
}
fieldset {
    border: 0px;
    margin: 0;
    padding: 0
}
.required {
    color: #e9266d
}
#success,
#error {
    display: none
}
#success p,
#error p {
    display: block;
}
#success p {
    color: #425BB5;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2px solid #425BB5;
    margin-top: 10px;
}
#error p {
    color: #D33E43;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2px solid #D33E43;
    margin-top: 10px;
}
#submit {
    background-color: #371900;
    color: #fff;
    padding: 10px 40px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    width: 100%;
}
#submit:hover{
    background-color: rgb(253,102,61);
}
.social {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}
.social li {
    float: left;
}
.social li a {
    color: #333;
    font-size: 35px;
    margin-right: 15px;
    transition: all .3s;
    -webkit-transition: all .3s;
}
.social li a:hover {
    color: #fe8839;
}
/* Footer
==================================================*/
#footer{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  background-color: white;
  color: black;
  text-align: center;
}
.droits{
  margin-top: 5%;
}

/* philosophie
=================================================*/
.card{
    margin: 10px;
    padding: 20px;
}
.btn{
  border: 1px solid black;
  color: black;
  border-radius: 0;
  margin-bottom:10px;
  float: right !important;
}


/* Responsive media queries
==================================================*/
/* Large Devices, Wide Screens */
@media (max-width: 1200px) {

    .portfolio .categories-grid .categories ul li a {
        padding: 0 2px;
    }
     header{
        height: auto;
        background-color: white;
    }
}
/** Laptop --------------------------------------*/
@media (max-width: 998px) {
    .timeline-event-copy {
        width: 90%;
        left: 2em;
    }
    header{
        height: auto;
        background-color: white;
    }
    .size-200{
      margin-top: 10px;
}

/* Small Devices, Tablets */
@media (max-width: 768px) {
    header{
        height: auto;
        background-color: white;
    }
    h1 {
        font-family: 'Playfair Display', serif;
        font-size: 50px;
        line-height: 50px;
    }
    #home,
    .disply-table {
        height: 600px;
        margin-top: 150px;
        width: 100%;
    }
    .about-border {display: none;}
    .portfolio .categories-grid .categories ul li {
        list-style: none;
        margin: 10px 0;
    }
    .size-200{margin-top: 10px;}
}

@media screen and (max-width: 770px) {
      .navbar-default {
        width: 100%;
        height: auto;
        position: relative;
      }
      .navbar-default a {float: left;}
      div.content {margin-left: 0;}
}

/** Smartphones (portrait and landscape)-----*/
@media (max-width: 480px) {
    header{
        height: auto;
        background-color: white;
    }
    #home{
      margin-top: 50px;
    }
    .main-header{
      height: 100px;
    }
    .navbar-default a {
      text-align: center;
      float: none;
    }
    .display-table {
        height: 500px;
    }
    .about-border{
        display: none;
    }
    .size-200{
      margin-top: 0;
    }

}
