/* font import */
@import url(//fonts.googleapis.com/css?family=Gafata);

body {
    /* min-width: fit-content; */
    width: 100%;
    font-family: 'Gafata', sans-serif;
}

.text-shadow {
    text-shadow: 1px 1px 2px black;
}

/* #region link hover */
a {
    color: #428681;
}

a:hover,
a:focus {
    color: #5afaed;
}

/* #endregion link hover */

/* #region canvas */
canvas {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
    background: #191d1e;
    /* Old browsers */
    background: -moz-linear-gradient(0deg, #191d1e 50%, #283139 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(50%, #191d1e), color-stop(100%, #283139));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(0deg, #191d1e 50%, #283139 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(0deg, #191d1e 50%, #283139 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(0deg, #191d1e 50%, #283139 100%);
    /* IE10+ */
    background: linear-gradient(0deg, #191d1e 50%, #283139 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#191d1e', endColorstr='#283139', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    background-attachment: fixed
}

.highlight {
    color: #5afaed;
}

.height-fix {
    /* height: calc(100vh + 53px); */
    height: 100vh;
}

/* button-main-canvas */
.button-main-canvas {
    display: flex;
    flex-direction: row;
    position: relative;
    margin-top: 15px;
    cursor: pointer;
    padding: 10px 20px;
    color: #fff;
    border: 1px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: 1px solid;
    outline-color: rgba(255, 255, 255, .5);
    outline-offset: 0px;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* button-main-canvas arrow */
.arrow {
    display: flex;
    flex-direction: row;
    height: 20px;
    width: 20px;
    position: relative;
    margin-top: 4px;
    margin-left: 10px;
}

.arrow-left,
.arrow-right {
    background: #ffffff;
    height: 5px;
    position: absolute;
    width: 17px;
}

.arrow-left {
    transform: rotate(45deg);
    transform-origin: top left;
}

.arrow-right {
    transform: rotate(-45deg);
    transform-origin: top right;
}

/* button-main-canvas glow effect */
.button-main-canvas:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
}

/* button-main-canvas arrow effect */
.arrow-left::after,
.arrow-right::after {
    background: #5afaed;
    ;
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    transition: all 0.20s;
}

.arrow-left::after {
    left: 0;
    right: 100%;
    transition-delay: 0.20s;
}

.arrow-right::after {
    left: 0;
    right: 100%;
    transition-delay: 0;
}

.button-main-canvas:hover .arrow-left::after {
    right: 0;
    transition-delay: 0;
}

.button-main-canvas:hover .arrow-right::after {
    right: 0;
    transition-delay: 0.20s;
}

/* #endregion canvas */
/* #region navbar */
.navbar {
    z-index: 99999;
    position: fixed !important;
    background-color: black;
}

.navbar-toggler {
    color: #428681;
    background-color: #428681;
    z-index: 99999;
    border: 1px solid;
    border-color: #5afaed;
}

.nav-link:hover {
    color: #5afaed;
    text-shadow: 0 0 4px #5afaed;
}

.nav-link.active {
    --bs-navbar-active-color: #5afaed;
    text-shadow: 0 0 5px #5afaed;
}

/* navbar appearing */
.navbar {
    animation: fadeIn 10s;
    -webkit-animation: fadeIn 10s;
    -moz-animation: fadeIn 10s;
    -o-animation: fadeIn 10s;
    -ms-animation: fadeIn 10s;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* #endregion navbar */
/* #region slide */
.animated.slide-from-right {
    animation: slideInRight 0.75s ease both;
    animation-name: slideInRight;
}
/* @media screen and (max-width: 600px) { 
    .animated.slide-from-right {
        animation: none !important;
    }
} */
@keyframes slideInRight {
    0% {
      opacity: 0;
      transform: translateX(300px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

.animated.slide-from-left {
    animation: slideInLeft 0.75s ease both;
    animation-name: slideInLeft;
}

@keyframes slideInLeft {
    0% {
      opacity: 0;
      transform: translateX(-300px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

.hidden {
    opacity: 0;
}

@media screen and (max-width: 600px) { 
    .hidden {
        opacity: 1;
    }
}

/* #endregion slide */

.avatar {
    width: 200px;
    height: 200px
}

/* #region flip card */
.flip-card-text {
    width: 300px;
    height: 50px;
}

.flip-card {
    width: 50px;
    height: 50px;
}

.flip-card-image {
    -webkit-filter: drop-shadow(2px 2px 2px #222);
    filter: drop-shadow(2px 2px 2px #222);
    width: 100%;
    height: 100%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

}

.flip-card-back {
    /* background-color: transparent; */
    transform: rotateY(180deg);
}

.flip-card-inner.animated {
    transform: rotateY(180deg);
    /* box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); */
}

/* #endregion flip card */

/* #region tabs */

.tabs {
    overflow: hidden;
    /* border: 1px solid #ccc; */
    /* background-color: #f1f1f1; */
}

/* Style the buttons inside the tab */
.tabs button {
    background-color: inherit;
    /* float: left; */
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    /* font-size: 17px; */
}

/* Change background color of buttons on hover */
.tabs button:hover {
    /* background-color: #ddd; */
    border-bottom: 1px solid #5afaed;
}

/* Create an active/current tab link class */
.tabs button.active {
    /* background-color: #ccc; */
    border-bottom: 3px solid #5afaed;
}

/* Style the tab content */
.gallery-card {
    display: none;
    padding: 6px 12px;
    /* border: 1px solid #ccc; */
    /* border-top: none; */
}

.gallery-card.active {
    display: block;
}

.gallery-card.animated {
    position: relative;
    animation: showScale 1s;
}

@keyframes showScale {
    from {
        transform: scale(0.2);
    }

    to {
        transform: scale(1);
    }
}

.gallery-card {
    height: 300px;
    width: 400px;
    background-size: cover;
    background-repeat: no-repeat;
}

.gallery-card:hover {
    background-image: none !important;
}


.button-gallery-card {
    display: block;
    width: 100px;
    height: 30px;
    cursor: pointer;
    color: #333;
    border: 1px solid #333;
    visibility: hidden;
    opacity: 0;
    text-decoration: none;
    letter-spacing: 2px;
    text-align: center;
    transition: all .35s;
}

.button-gallery-card p {
    position: relative;
    z-index: 2;
}

.button-gallery-card:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #5afaed;
    transition: all .35s;
}

.button-gallery-card:hover {
    color: #fff;
    text-shadow: #000;
}

.button-gallery-card:hover:after {
    width: 100%;
}

.gallery-card:hover>.row .button-gallery-card {
    visibility: visible;
    opacity: 1;
    transform: translateY(-100%);
}

.card-header {
    visibility: hidden;
    opacity: 0;
    transform: translateY(0);
    transition: all .3s ease-out;
}

.gallery-card:hover>.row .card-header {
    visibility: visible;
    opacity: 1;
    transform: translateY(100%);
    align-items: both;
}

.carouselExampleDark {
    height: 450px;
    /* width: 700px; */
}

.carousel-inner .carousel-item {
    height: 450px;
    /* width: 700px; */
}

/* carousel buttons */
.close {
    border: none;
    /* background-color: none; */
    background: none;
    font-size: 35px;
    color: grey;
}

.close:hover {
    color:black;
}

.carousel-control-prev,
.carousel-control-next,
.carousel-indicators{
    align-items:flex-end;
}
.modal {
    --bs-modal-footer-border-width: 4px;
    --bs-modal-footer-border-color: rgb(145, 145, 145);
}
/* #endregion tabs */


/* #region contact form */
.contact-form {
    width: 340px;
    height: 440px;
    background: #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 0 40px -10px #000;
    margin: auto;
    padding: 20px 30px;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    position: relative;
    display: block;
    margin-top: -50px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: none;
    outline: none;
    resize: none;
    border: 0;
    transition: all .3s;
    border-bottom: 2px solid #bebed2
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom: 2px solid #78788c
}

.contact-form p,
.contact-form textarea:before {
    content: attr(type);
    display: block;
    margin: 28px 0 0;
    font-size: 14px;
    color: #5a5a5a;
    box-sizing: border-box;
    outline: none;
    resize: none;
}

.mail-btn {
    position: relative;
    top: 35%;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: none;
    /* outline:none; */
    -webkit-appearance: none;
    /* font-size:2rem; */
    color: black;
    /* text-decoration:none; */
    /* text-transform:uppercase; */
    letter-spacing: 0.5rem;
    text-indent: 0.5rem;
    cursor: pointer;
    /* transition: */
    /* color 1.5s .5s, */
    /* border 3s 1s; */

}

.mail-btn:before,
.mail-btn:after {
    content: '';
    position: absolute;
    opacity: 0;
    backface-visibility: visible;
    transform-style: preserve-3d;
    perspective: 400px;
    transform-origin: 50% -50%;
    transform: rotateX(360deg) rotateY(0) translateX(-50%) translateY(0) scale(0.2);
    transition: all 0.5s;
}

.mail-btn:before {
    top: 5px;
    left: 50%;
    height: 2.5rem;
    background: white;
    border-top: 2rem solid #428681;
    border-right: 3rem solid transparent;
    border-left: 3rem solid transparent;
    box-shadow: inset 0 0 20px #428681, 0 0 20px #428681;
    outline-offset: 15px;
}

.mail-btn:after {
    top: 0;
    left: 50%;
    border-top: 2rem solid white;
    border-right: 3rem solid transparent;
    border-left: 3rem solid transparent;
}

.mail-btn:hover {
    color: rgba(255, 255, 255, 0);
    border: 2px solid rgba(255, 255, 255, 0);
    transition:
        color .25s,
        border .25s;
}

.mail-btn:hover:before,
.mail-btn:hover:after {
    opacity: 1;
    transform: rotateX(0) rotateY(-10deg) translateX(-50%) translateY(0) scale(1);
}

/* #endregion contact form */

/* #region footer */
#footer a {
    text-decoration: none;
    color: #428681;
}

/* button-footer-home */
.button-footer-home {
    width: 50;
    display: flex;
    margin-bottom: 20px;
    cursor: pointer;
    padding: 25px 50px 10px 15px;
    color: #428681;
    border: 1px solid;
    /* outer border effect */
    outline: 1px solid;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);

}

/* button-footer-home arrow */
.arrow {
    display: flex;
    flex-direction: row;
    height: 20px;
    width: 20px;
    position: relative;
    margin-top: 4px;
    margin-left: 10px;
}

.arrow-footer-left,
.arrow-footer-right {
    background: #ffffff;
    height: 5px;
    position: absolute;
    width: 17px;
}

.arrow-footer-left {
    transform: rotate(-45deg);
    transform-origin: bottom left;
}

.arrow-footer-right {
    transform: rotate(45deg);
    transform-origin: bottom right;
}

/* button-footer-home glow effect */
.button-footer-home:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px #428681, 0 0 20px #428681;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;

}

/* button-footer-home arrow effect */
.arrow-footer-left::after,
.arrow-footer-right::after {
    background: #5afaed;
    ;
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    transition: all 0.20s;
}

.arrow-footer-left::after {
    left: 0;
    right: 100%;
    transition-delay: 0.20s;
}

.arrow-footer-right::after {
    left: 0;
    right: 100%;
    transition-delay: 0;
}

.button-footer-home:hover .arrow-footer-left::after {
    right: 0;
    transition-delay: 0;
}

.button-footer-home:hover .arrow-footer-right::after {
    right: 0;
    transition-delay: 0.20s;
}

/* icons glow effect */
.fa-2x:hover {
    color: #5afaed;
    text-shadow: 0 0 5px #5afaed;
}

/* #endregion footer */

@media screen and (max-width: 600px) { 
    .animated {
        animation: none !important;
    }
}
/* smooth scrolling on mobile */
body {
    -webkit-overflow-scrolling: touch;
}



*{
    box-sizing: border-box;
    /* margin: 0; */
}
/* remove white gaps along the edge */
section {
    overflow: hidden;
    /* white-space: wrap; */
    /* word-break: break-word; */
}