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

:root {
    font-size: 18px;
}

body {
    margin: 0;
    font-size: 1.3rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #f8f8f8;
    background-color: #000;
}

a {
    color: inherit;
    opacity: .6;
    margin: .3em;
    text-decoration: none;
}

button {
    padding: 1rem 3rem;
    font-size: .75em;
    background-color: #008000;
    border-radius: 10px;
    color: #f8f8f8;
    opacity: .6;
    border: 0;
}

a:hover,
button:hover,
a:active,
a:focus,
a:visited {
    color: inherit;
    opacity: 1;
}

h1 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;


    transform: translateX(-100%);
    /* margin-left: -120%; */
}

p {
    margin: .5rem;
    line-height: 1;
}

header {
    background-color: transparent;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    padding: 1rem;
}

section {
    height: 100vh;
    display: flex;
    align-items: center;
}

video {
    width: 100%;
    height: 100%;
}

.btn-custom {
    box-shadow: 2px 2px 4px 0px #191919;
}

.blink {
    animation: blink 1s linear infinite;
}

.blink:hover {
    animation: none;
}

.green {
    color: green;
}

.blurred-text h1 {
    text-shadow: 0 0 0 white;
    color: transparent;
}

.blurred-text h1.green {
    text-shadow: 0 0 0 green;
    color: transparent;
}

.one {
    transition: all 2s ease-in, text-shadow 500ms ease-out;
    /* animation: text 3s ease 1; */
}

.two {
    transition: all 2s ease-in 1s, text-shadow 500ms ease-out;
    /* animation: text 6s ease 1; */
    /* transition-delay: 1s; */
}

.three {
    transition: all 2s ease-in 3s, text-shadow 500ms ease-out;
    /* animation: text 9s ease 1; */
    /* transition-delay: 3s; */
}

.enter {
    transform: translateX(0);
}

.hero {
    position: sticky;
    inset: 0;
}

.carousel {
    width: 100%;
}

.projectImg {
    /* height: 100vh; */
    margin: 0 auto;
}

.seeMore {
    position: relative;
    background: #191919;
}

.viewSite {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem 0;
}

.viewSite a {
    opacity: 1;
}

.socials {
    padding: 1.5em;
    font-size: 1.8rem;
}

.contact {
    padding: 1.5em;
    font-size: .8rem;
    background-color: green;
}

.proposalOverlay {
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 20;
    overflow: auto;

    opacity: 0;

    transform: translateY(100%);
    transition: all 1000ms ease;
}

.proposalOverlay>section {
    height: auto;
}

.overlayClose {
    margin: 20px auto;
    display: block;
    color: #fff;
    width: 50px;
    cursor: pointer;
    animation: bounce2 2s ease infinite;
    font-size: 1.5rem;
    position: absolute;
    right: 0;
    left: 0;
    text-align: center;
}

.thumbnail {
    height: 400px;
    width: 300px;
    background: red;
    /* border-radius: 50px; */
    cursor: pointer;
    margin: 0 auto 40px;
    background-size: cover;
}

._3d-flip-book {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: end;
    border-radius: 50px;
}

.nav-tabs {
    border-bottom: none !important;
    /* margin-bottom: 0.5 rem; */
    margin: auto auto 30px;
    justify-content: center;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    background: 0 0;
    border: 1px solid transparent;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 0 !important;
    /* border-bottom-left-radius: inherit !important; */
    color: #fff;
}

@keyframes blink {
    0% {
        background-color: rgb(0, 128, 0, .6);
    }

    50% {
        background-color: rgb(0, 128, 0, .8);
    }

    100% {
        background-color: rgb(0, 128, 0, 1);
    }
}

@keyframes bounce2 {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(30px);
    }

    60% {
        transform: translateY(15px);
    }
}

@keyframes text {

    /* from {
      margin-left: -120%;
      width: 100%; 
    }
  
    to {
      margin-left: 0%;
      width: 100%;
    } */
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.proj-section {
    height: auto;
    display: block;
}


.tab-content>#infographics.active {
    display: flex;
    flex-wrap: wrap;
}

#infographics .carousel {
    width: 33%;
    display: grid;
    place-items: center;
}

#infographics .carousel .projectImg {
    /* height: 270px; */
    margin: 0 auto;
    padding: 1rem;
}

@media screen and (min-width: 420px) {
    h1 {
        font-size: 3rem;
    }
}

@media screen and (min-width: 560px) {
    h1 {
        font-size: 4rem;
    }
}

@media screen and (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .proposalOverlay>section {
        height: 100vh;
    }
}