*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
}

body,
html {
    height: 100%;
    color: #272727;
    line-height: 1.8;
    background: #2980b9; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to bottom,
        #ffffff,
        #6dd5fa,
        #2980b9
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to bottom,
        #ffffff,
        #6dd5fa,
        #2980b9
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    background-size: cover;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes noise-anim {
    0% {
        clip: rect(37px, 9999px, 72px, 0);
    }
    5% {
        clip: rect(56px, 9999px, 68px, 0);
    }
    10% {
        clip: rect(81px, 9999px, 71px, 0);
    }
    15% {
        clip: rect(57px, 9999px, 5px, 0);
    }
    20% {
        clip: rect(16px, 9999px, 8px, 0);
    }
    25% {
        clip: rect(96px, 9999px, 46px, 0);
    }
    30% {
        clip: rect(25px, 9999px, 27px, 0);
    }
    35% {
        clip: rect(71px, 9999px, 49px, 0);
    }
    40% {
        clip: rect(51px, 9999px, 59px, 0);
    }
    45% {
        clip: rect(84px, 9999px, 50px, 0);
    }
    50% {
        clip: rect(34px, 9999px, 66px, 0);
    }
    55% {
        clip: rect(71px, 9999px, 89px, 0);
    }
    60% {
        clip: rect(51px, 9999px, 52px, 0);
    }
    65% {
        clip: rect(55px, 9999px, 77px, 0);
    }
    70% {
        clip: rect(81px, 9999px, 3px, 0);
    }
    75% {
        clip: rect(22px, 9999px, 58px, 0);
    }
    80% {
        clip: rect(78px, 9999px, 91px, 0);
    }
    85% {
        clip: rect(60px, 9999px, 1px, 0);
    }
    90% {
        clip: rect(37px, 9999px, 77px, 0);
    }
    95% {
        clip: rect(75px, 9999px, 99px, 0);
    }
    100% {
        clip: rect(27px, 9999px, 47px, 0);
    }
}

@keyframes noise-anim-2 {
    0% {
        clip: rect(94px, 9999px, 80px, 0);
    }
    5% {
        clip: rect(1px, 9999px, 94px, 0);
    }
    10% {
        clip: rect(29px, 9999px, 51px, 0);
    }
    15% {
        clip: rect(90px, 9999px, 8px, 0);
    }
    20% {
        clip: rect(35px, 9999px, 29px, 0);
    }
    25% {
        clip: rect(11px, 9999px, 2px, 0);
    }
    30% {
        clip: rect(52px, 9999px, 97px, 0);
    }
    35% {
        clip: rect(11px, 9999px, 3px, 0);
    }
    40% {
        clip: rect(59px, 9999px, 40px, 0);
    }
    45% {
        clip: rect(78px, 9999px, 94px, 0);
    }
    50% {
        clip: rect(29px, 9999px, 61px, 0);
    }
    55% {
        clip: rect(25px, 9999px, 62px, 0);
    }
    60% {
        clip: rect(16px, 9999px, 66px, 0);
    }
    65% {
        clip: rect(55px, 9999px, 12px, 0);
    }
    70% {
        clip: rect(21px, 9999px, 82px, 0);
    }
    75% {
        clip: rect(100px, 9999px, 3px, 0);
    }
    80% {
        clip: rect(97px, 9999px, 79px, 0);
    }
    85% {
        clip: rect(42px, 9999px, 96px, 0);
    }
    90% {
        clip: rect(91px, 9999px, 37px, 0);
    }
    95% {
        clip: rect(35px, 9999px, 24px, 0);
    }
    100% {
        clip: rect(68px, 9999px, 75px, 0);
    }
}

@keyframes slideShow {
    0% {
        visibility: visible;
        z-index: 100;
    }
    12% {
        visibility: visible;
        z-index: 100;
    }
    25% {
        visibility: hidden;
        z-index: 0;
    }
    100% {
        visibility: hidden;
        z-index: 0;
    }
}

.u-center-text {
    text-align: center;
}

.u-margin-bottom-big {
    margin-bottom: 8rem;
}

.u-margin-bottom-medium {
    margin-bottom: 4rem;
}

.u-margin-bottom-small {
    margin-bottom: 1.5rem;
}

.u-margin-top-big {
    margin-top: 8rem;
}

.u-margin-top-medium {
    margin-top: 4rem;
}

.w3-padding-64 {
    padding-left: 24;
    padding-right: 24;
}

body {
    font-family: "Lato", sans-serif;
}

.w3-wide {
    letter-spacing: 10px;
}

.button {
    border: none;
    display: inline-block;
    outline: 0;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}
.button:hover {
    opacity: 0.5;
    background-color: transparent;
}

.bgimg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bgimg-1 {
    background-image: url("../assets/pictures/mounts.jpg");
    min-height: 100%;
}
.bgimg-2 {
    background-image: url("../assets/pictures/About.jpg");
    min-height: 400px;
}
.bgimg-3 {
    background-image: url("../assets/pictures/contact1.jpg");
    min-height: 400px;
}

@media only screen and (max-device-width: 1024px) {
    .bgimg-1,
    .bgimg-2,
    .bgimg-3 {
        background-attachment: scroll;
    }
}

.image-responsive {
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
    border-radius: 1000px;
    z-index: 10;
    position: relative;
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
}
.image-responsive__picture {
    transform: translateX(-7rem) scale(1.4);
    transition: 0.35s ease;
    backface-visibility: hidden;
    background-color: #000;
}
.image-responsive__overlay {
    width: 200%;
    height: 200%;
    position: absolute;
    overflow: hidden;
    top: -50%;
    left: -50%;
}
.image-responsive__overlay--set1,
.image-responsive__overlay--set2 {
    left: 50%;
    position: absolute;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    -webkit-transform-origin: 50%;
    -ms-transform-origin: 50%;
    transform-origin: 50%;
    background-color: transparent;
    margin: 0px;
    padding: 0px;
}
.image-responsive__overlay--set1 {
    top: 40%;
}
.image-responsive__overlay--set1 a:first-child i {
    -webkit-transform: translate3d(-60px, -60px, 0);
    transform: translate3d(-60px, -60px, 0);
}
.image-responsive__overlay--set1 a:nth-child(2) i {
    -webkit-transform: translate3d(60px, -60px, 0);
    transform: translate3d(60px, -60px, 0);
}
.image-responsive__overlay--set2 {
    top: 60%;
}
.image-responsive__overlay--set2 a:first-child i {
    -webkit-transform: translate3d(-60px, 60px, 0);
    transform: translate3d(-60px, 60px, 0);
}
.image-responsive__overlay--set2 a:nth-child(2) i {
    -webkit-transform: translate3d(60px, 60px, 0);
    transform: translate3d(60px, 60px, 0);
}
.image-responsive img {
    display: block;
    position: relative;
}
.image-responsive h2,
.image-responsive hr {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    -webkit-transform-origin: 50%;
    -ms-transform-origin: 50%;
    transform-origin: 50%;
    background-color: transparent;
    margin: 0px;
}
.image-responsive h2 {
    text-transform: uppercase;
    color: #eaf2e3;
    text-align: center;
    font-size: 3rem;
    padding: 1rem;
    letter-spacing: 10px;
    font-weight: 100;
    margin-top: 7rem;
    text-shadow: 0 1px 0 #000;
}
.image-responsive:hover h2 {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: translate3d(-50%, -50%, 0) scale3d(0.8, 0.8, 1);
    transform: translate3d(-50%, -50%, 0) scale3d(0.8, 0.8, 1);
}
.image-responsive hr {
    width: 40%;
    opacity: 0;
    filter: alpha(opacity=0);
    border: 1px solid #eaf2e3;
}
.image-responsive hr:nth-child(3) {
    -webkit-transform: translate3d(-50%, -50%, 0) rotate3d(0, 0, 1, 90deg)
        scale3d(0, 0, 1);
    transform: translate3d(-50%, -50%, 0) rotate3d(0, 0, 1, 90deg)
        scale3d(0, 0, 1);
}
.image-responsive hr:nth-child(4) {
    -webkit-transform: translate3d(-50%, -50%, 0) rotate3d(0, 0, 1, 180deg)
        scale3d(0, 0, 1);
    transform: translate3d(-50%, -50%, 0) rotate3d(0, 0, 1, 180deg)
        scale3d(0, 0, 1);
}
.image-responsive p {
    width: 30%;
    text-transform: none;
    font-size: 15px;
    line-height: 2;
}
.image-responsive p a {
    color: #eaf2e3;
}
.image-responsive p a:hover,
.image-responsive p a:focus {
    opacity: 0.6;
    filter: alpha(opacity=60);
}
.image-responsive a i {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    padding: 30px;
    font-size: 70px;
}
.image-responsive:hover hr:nth-child(3) {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate3d(-50%, -50%, 0) rotate3d(0, 0, 1, -90deg)
        scale3d(1, 1, 1);
    transform: translate3d(-50%, -50%, 0) rotate3d(0, 0, 1, -90deg)
        scale3d(1, 1, 1);
}
.image-responsive:hover hr:nth-child(4) {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate3d(-50%, -50%, 0) rotate3d(0, 0, 1, -180deg)
        scale3d(1, 1, 1);
    transform: translate3d(-50%, -50%, 0) rotate3d(0, 0, 1, -180deg)
        scale3d(1, 1, 1);
}
.image-responsive:hover .image-responsive__picture {
    transform: translateX(-7rem) scale(1.3);
    filter: blur(3px) brightness(80%);
}
.image-responsive:hover .image-responsive__overlay--set1 i:empty,
.image-responsive:hover .image-responsive__overlay--set2 i:empty {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
    filter: alpha(opacity=100);
}

.card {
    max-width: 40rem;
    margin: 2rem auto;
    padding-bottom: 2em;
    --mouseX: 0;
    --mouseY: 0;
    --padding: 1em;
    background: transparent;
    position: relative;
    display: block;
    position: relative;
    top: calc(var(--padding) * -1);
    bottom: calc(var(--padding) * -1);
    left: calc(var(--padding) * -1);
    right: calc(var(--padding) * -1);
    content: " ";
    background: #272727;
    transform: perspective(700px) rotateX(calc(var(--mouseY) * -1deg))
        rotateY(calc(var(--mouseX) * 1deg));
    border-radius: 6px;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}
.card__title {
    margin: 0 auto;
    color: #eaf2e3;
    text-align: center;
    text-transform: capitalize;
}
.card__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 1em auto;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.card__text {
    margin: 2em 5%;
    color: rgba(234, 242, 227, 0.8);
}
.card__btn {
    padding: 0.7em 2em;
    background: #4e54c8; /* fallback for old browsers */
    background: -webkit-linear-gradient(
        to right,
        #8f94fb,
        #4e54c8
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
        to right,
        #8f94fb,
        #4e54c8
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    color: #eaf2e3;
    text-decoration: none;
    margin: 1em auto 0;
    border-radius: 2px;
}
.card__btn:hover {
    opacity: 0.8;
}
.card__btn > i {
    transform: translateY(20%);
}

#myNavbar {
    color: #eaf2e3;
    background: transparent;
    width: 50px;
    -webkit-animation: fadein 2s;
    -moz-animation: fadein 2s;
    -ms-animation: fadein 2s;
    -o-animation: fadein 2s;
    animation: fadein 2s;
    z-index: 100;
}

#mobileNav {
    z-index: 10;
}

.icon {
    width: 24.2%;
    padding: 0.6rem;
    filter: brightness(0) invert(0.6);
}
.icon:hover {
    filter: brightness(1) invert(0);
}

.text-box {
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    padding: 0;
}
.text-box:hover .text-box__section--content {
    transition: all 0.25s linear;
    height: 0rem;
    overflow: hidden;
}
.text-box__section {
    overflow: hidden;
    border-bottom: 1px solid;
}
.text-box__section--title {
    font-weight: 700;
    padding: 1rem;
    margin: 0;
}
.text-box__section--content {
    transition: all 0.25s linear;
    height: 0rem;
}
.text-box__section:hover .text-box__section--content,
.text-box__section-default .text-box__section--content {
    height: 25rem;
}

.title {
    background-color: rgb(0, 0, 0);
    text-align: center;
    padding: 18px;
    z-index: 10;
}

.title span {
    -webkit-animation: fadein 1.5s;
    -moz-animation: fadein 1.5s;
    -ms-animation: fadein 1.5s;
    -o-animation: fadein 1.5s;
    animation: fadein 1.5s;
}

.row {
    max-width: 114rem;
    margin: 0 auto;
}
.row:not(:last-child) {
    margin-bottom: 8rem;
}
.row::after {
    content: "";
    display: table;
    clear: both;
}
.row [class^="col-"] {
    float: left;
}
.row [class^="col-"]:not(:last-child) {
    margin-right: 6rem;
}
.row .col-1-of-2 {
    width: calc((100% - 6rem) / 2);
}
.row .col-1-of-3 {
    width: calc((100% - 2 * 6rem) / 3);
}
.row .col-2-of-3 {
    width: calc(2 * ((100% - 2 * 6rem) / 3) + 6rem);
}
.row .col-1-of-4 {
    width: calc((100% - 3 * 6rem) / 4);
}
.row .col-2-of-4 {
    width: calc(2 * ((100% - 3 * 6rem) / 4) + 6rem);
}
.row .col-3-of-4 {
    width: calc(3 * ((100% - 3 * 6rem) / 4) + 2 * 6rem);
}

.bg1 {
    background-color: #272727;
    color: white;
}

.section {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 9vw;
    transform: skewY(5deg);
    transform-origin: left;
}

.profile__section-right {
    height: 47rem;
}
