* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

/*html*/
html, body {
    height: 100vh;
    overflow: auto;
    align-content: center;
    scroll-behavior: smooth;
}

/*nav*/
nav {
    z-index: 9999;
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    position: fixed;
    padding: 5px;
}

nav ul {
  margin: 0;
}

nav ul li {
    margin-left: 25px;
    display: inline;
}

nav ul li a {
    line-height: 25px;
    margin-right: 5px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all .5s ease-in-out;

}

nav ul li a:hover {
    text-decoration: none;
    color: rgba(255,255,255,1);
    transition: all .5s ease-in-out;

}

nav .icon{
    vertical-align: middle;
    float: right;
    display: inline;
    margin-left: 0;
    margin-right: 25px;

}

nav img {
    vertical-align: text-bottom;
    height: 20px;
    opacity: .6;
    transition: all .5s ease-in-out;
}

nav img:hover {
    opacity: 1;
    transition: all .5s ease-in-out;
}

/*inicio*/

#inicio {
    width: 100%;
    height: 100vh;
    position: relative;
    transform-style: inherit;
    z-index: -1;
    background-size: cover;

}

/* #parallax_background {
    z-index: 999;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.parallax {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.parallax_group {
    position: relative;
    height: 100vh;
    transform-style: preserve-3d;
}

.parallax_layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.parallax_layer-back {
    transform: translateZ(-1px) scale(2);
}

.parallax_layer-base {
    transform: translateZ(0);
} */

#inicio svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 250px;
    margin-left: -125px;
    margin-top: -79.11px;
}

#inicio svg path {
   fill: #FFF;
}

#inicio p {
    position: absolute;
    color: #ffffff;
    text-align: center;
    top: 50%;
    left: 50%;
    margin-top: 80px;
    margin-left: -160px;
    padding: 10px;

}

/*section*/
#contacto {
    padding-top: 45px;
    padding-left: 30px;
    height: 400px;
}

/*portafolio*/

#portafolio {
    z-index: 1001;
    text-align: center;
    background-color: #bfbfbf;
}

.button {
  margin-bottom: 35px;
    width: 100%;
    height: auto;
    min-height: 300px;
    display: inline-block;
    text-decoration: none;
    color: #000000;
}

#portafolio h2 {
    color: #ffffff;
    text-align: left;
    padding-top: 45px;
    padding-left: 30px;
}

.portafolio article{
    text-align: left;
    align-content: center;
    left: 50%;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 5px 16px 0 rgba(0, 0, 0, 0.1);
}

.portafolio img {
    width: 100%;
    padding: 15px;
}

.portafolio h3 {
    margin-left: 25px;
    margin-top: -10px;
}

.portafolio p {
    text-decoration: none;
    margin-left: 25px;
    visibility: hidden;
    opacity: 0;
}

.button:hover {
  text-decoration: none;
  color: #000;
}

.button:hover p {
    text-decoration: none;
    color: inherit;
    visibility: visible;
    opacity: 1;
    transition: all .5s ease-in-out;
}

/*videos*/

#videos {
    text-align: center;
    background-color: #999;
    padding-bottom: 35px;
}

#videos h2 {
    color: #ffffff;
    text-align: left;
    padding-top: 45px;
    padding-left: 30px;
    padding-right: 30px;
}

#videos article {
    display: inline-block;
    left: 50%;
    background-color: #fff;
    align-content: center;
    width: calc(100%/4.2);
    padding: 25px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 5px 16px 0 rgba(0, 0, 0, 0.1);
    margin-top: 35px;
}

#videos iframe {
    width: 100%;
    height: 250px;
    margin-bottom: 10px;
}

#videos h3, #videos p {
    text-align: left;
}

/*nosotros*/

#nosotros {
    background-color: #666666;
    background-blend-mode: multiply;
    background-size: cover;
	background-repeat: no-repeat;
    background-position: center;
    color: #ffffff;
    padding-top: 45px;
    padding-left: 30px;
    text-align: center;
}

#nosotros h2 {
    text-align: left;
}

#nosotros a{
    margin-top: 5px;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

.igw {
    height: 20px;
    vertical-align: text-bottom;
}

.profile {
    text-align: center;
    width: 200px;
}

.profilepicture {
    height: 150px;
    margin-bottom: 10px;
    border-style: solid;
    border-width: 5px;
    border-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 5px 16px 0 rgba(0, 0, 0, 0.1);
}

#nosotros span {
    color: #000000;
    background-color: #ffffff;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 15%;
}

.nosotros {
    text-align: center;
    display: inline-block;
    margin-top: 45px;
}

.nosotros div {
  text-align: center;
}

.correo {
    padding: 15px;
}

.correo p {
  margin: 0;
}

#nosotros svg {
    fill: #ffffff;
    height: 60px;
}

.bottom-right {
    text-align: right;
    padding-right: 15px;
    padding-bottom: 15px;
}

/* Footer */

.footer {
  width: 100%;
  position: inherit;
  bottom: 0;
  font-size: 13px;
  color: #FFF;
  background-color: rgba(57, 54, 54, .9);
  margin-bottom: 0;
  padding-top: 10px;
  z-index: 10001;
}

.footer a {
  color: #FFF;
}


/* Responsive layout - when the screen is less than 1000px wide, make the two columns stack on top of each other instead of next to each other */
@media only screen and (orientation: portrait) {

    header p {
        font-size: 25px;
    }

    h2 {
        font-size: 35px;
    }

    h3 {
      font-size: 15px;
    }

    #videos article {
    width: calc(100%/2);
    }

    #videos iframe {
        height: 300px;
    }

    #nosotros {
        padding-left: 0;
    }

    .profile {
        width: 180px;
    }

    .profilepicture {
        height: 120px;
    }

}
