.divider {
    width: 50%;
    height: 2px;
    background: #000000;
    margin-left: 25%;
}

/* NavBar*/
#navbar {
    position: absolute;
    z-index: 999;
    margin-top: 15px;
}

.navbar {
    padding: 15px 20px;
    background-color: transparent;
    color: #000;
    margin-left: 30%;

}

.navbar-brand {
    font-size: 24px;
    color: #000;
    position: fixed;


}

.navbar-toggler {
    border-color: #000;
    position: fixed;
    right: 5%;
}

.navbar-toggler-icon {
    color: #000;
}

.navbar-nav .nav-item .nav-link {
    font-size: 16px;
    color: #000;


}

.navbar-nav {
    position: fixed;
    right: 5%;
    padding-top: 3%;

}

.navbar-nav .nav-item.active .nav-link {

    color: #000;
}


/* NavBar*/

/* First Screen*/
.home {
    width: 100%;
    height: 100%;
    background: linear-gradient(141deg, #ccc 25%, #eee 40%, #ddd 55%);
}

@import url('https://fonts.googleapis.com/css?family=Roboto:700');
@keyframes showTopText {
    0% {
        transform: translate3d(0, 100%, 0);
    }
    40%, 60% {
        transform: translate3d(0, 50%, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes showBottomText {
    0% {
        transform: translate3d(0, -100%, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.animated-title {
    color: #222;
    font-family: Roboto, Arial, sans-serif;
    height: 90vmin;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vmin;
    margin-top: 5%;
}

.animated-title > div {
    height: 50%;
    overflow: hidden;
    position: absolute;
    width: 100%;
}

.animated-title > div div {
    font-size: 12vmin;
    padding: 2vmin 0;
    position: absolute;
}

.animated-title > div div span {
    display: block;
}

.animated-title > div.text-top {
    border-bottom: 1vmin solid #000;
    top: 0;
}

.animated-title > div.text-top div {
    animation: showTopText 1s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
    bottom: 0;
    transform: translate(0, 100%);
}

.animated-title > div.text-top div span:first-child {
    color: #767676;
}

.animated-title > div.text-bottom {
    bottom: 0;
}

.animated-title > div.text-bottom div {
    animation: showBottomText 0.5s;
    animation-delay: 1.75s;
    animation-fill-mode: forwards;
    top: 0;
    transform: translate(0, -100%);
}


/* First Screen*/

/*Card*/

/*

*/
.card {
    width: 300px;
    height: 200px;
    perspective: 1000px;
    margin-top: 6%;
    margin-bottom: 6%;
    border: none;
}

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

}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

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

}

.card-front {
    background-color: #020202;
    color: #fff;
    display: flex;
    align-items: center;
    border: 10px solid #020202;
    border-radius: 10px;
    justify-content: center;
    font-size: 24px;
    transform: rotateY(0deg);
}

.card-back {
    background-color: #cccccc;
    color: #000;
    display: flex;
    overflow: hidden;
    align-items: center;
    border: 10px solid #cccccc;
    border-radius: 10px;
    justify-content: center;
    font-size: 12px;
    transform: rotateY(180deg);
}

#card {
    display: flex;
    justify-content: space-around;


}

/* Card*/

/* About*/
.container {
    width: 90%;
    display: flex;
    justify-content: center;

}

/* About*/

/* Bussines*/
@-webkit-keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

.slider {
    background: white;
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 90%;

}

.slider::before, .slider::after {

    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider .slide-track {
    -webkit-animation: scroll 5s linear infinite;
    animation: scroll 5s linear infinite;
    display: flex;
    width: calc(250px * 14);
}

.slider .slide {
    height: 100px;
    width: 100px;
    margin-left: 10%;
}

/* Bussines*/

/* Footer*/


.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #06D85F;
}

.popup .content {
    max-height: 70%;
    overflow: auto;
}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
    }
}


body {
    margin: 0;
    overflow-x: hidden;
}


.footer {
    background: #000;
    padding: 30px 0px;
    font-family: 'Play', sans-serif;
    text-align: center;
}

.footer .row {
    width: 100%;
    margin: 1% 0%;
    padding: 0.6% 0%;
    color: gray;
    font-size: 0.8em;
}

.footer .row a {
    text-decoration: none;
    color: gray;
    transition: 0.5s;
}

.footer .row a:hover {
    color: #fff;
}

.footer .row ul {
    width: 100%;
}

.footer .row ul li {
    display: inline-block;
    margin: 0px 30px;
}

.footer .row a i {
    font-size: 2em;
    margin: 0% 1%;
}

@media (max-width: 720px) {
    .footer {

        padding: 5%;
    }

    .footer .row ul li {
        display: block;
        margin: 10px 0px;

    }

    .footer .row a i {
        margin: 0% 3%;
    }
}


/* Footer*/

/* Project*/

/*
#project{
    width: 100%;
    height: 70%;
    background: #cccccc;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    justify-items: center;

}
.card1 {
  position: relative;
  width: 250px;
  height: 350px;
  background: #fff;
  border: solid 4px #333;
  box-shadow: -5px 5px #333;
  transition: all .2s ease-in-out;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.card1:hover {
  margin: 10px 10px 0 0;
  box-shadow: 0px 0px #333;
}

.card1 .img-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: filter .2s 1s ease-in-out;
}

.card1:hover .img-card {
  filter: blur(1px);
}

.card1 .add-cart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  line-height: 250px;
  font-weight: bold;
  font-size: 19px;
  opacity: 0;
}

.card1:hover .add-cart {
  opacity: 1;
  transition: opacity .3s 1s ease-in-out;
}

.card1 .info-card {
  position: absolute;
  height: 50px;
  width: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: solid 1px #ffffff;
}

.card1 .info-card p {
  font-size: 14px;
  margin: 5px;
}


*/


#project {
    width: 100%;
    height: 90%;
    background: #cccccc;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    justify-items: center;

}


.wrapper {
    max-width: 1100px;
    width: 100%;
    position: relative;

}

.wrapper i {
    height: 50px;
    width: 50px;
    background: rgb(118, 233, 118);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    font-size: 1.25rem;
    transform: translateY(-50%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);

}

.wrapper i:first-child {
    left: -22px;

}

.wrapper i:last-child {
    right: -22px;

}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    gap: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel :where(.card-project, .img-project) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging .card-project {
    cursor: grab;
    user-select: none;
}

.carousel .card-project {
    position: relative;
    width: 300%;
    height: 400px;
    background: #fff;
    border: solid 4px #333;
    box-shadow: -5px 5px #333;
    transition: all .2s ease-in-out;
    display: flex;
    justify-content: center;
    cursor: pointer;

}

.card-project .img-project {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: filter .2s 1s ease-in-out;

}

.card-project .img-project img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: filter .2s 1s ease-in-out;
}

.card-project:hover {
    margin: 10px 10px 0 0;
    box-shadow: 0px 0px #333;
}

.card-project:hover .img-card {
    filter: blur(1px);
}


@media screen and (max-width: 900px) {
    .wrapper .carousel {
        align-items: center;
        text-align: center;
        justify-items: center;
        flex-direction: column;

        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% / 3) - 12px);
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: 0;

    }

    .carousel .card-project {

        width: 250px;


    }
}

@media screen and (max-width: 720px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
        display: grid;
        grid-auto-flow: column;

        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: 0;


    }

    .carousel .card-project {

        width: 250px;


    }
}


/* Project*/

/* Button*/
.button-project {
    display: flex;

    justify-content: center;

    alignment-baseline: center;
}

button-detail {
    cursor: pointer;
    font-weight: 700;
    font-family: Helvetica, "sans-serif";
    transition: all .2s;
    padding: 10px 20px;
    border-radius: 100px;
    background: black;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    font-size: 15px;
    justify-content: center;
    justify-items: center;
    text-decoration: black;
}


button > svg {
    width: 34px;
    margin-left: 10px;
    transition: transform .3s ease-in-out;
}

button:hover svg {
    transform: translateX(5px);
}

button:active {
    transform: scale(0.95);
}


/* Button*/
@media only screen and (max-width: 720px) {
    #card {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        justify-items: center;
        align-items: center;

    }

    #project {
        width: 100%;
        height: 100%;
        background: #cccccc;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        text-align: center;
        justify-items: center;
        flex-direction: column;

    }

}

/*Details Page*/

/* Details Home*/


.iframely-embed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: white;
}

#app {

    z-index: 100;


}

#app {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    padding-bottom: 4vmin;
    height: 100%;
    width: 100%;
    /*background: linear-gradient(141deg, #ccc 25%, #eee 40%, #ddd 55%);*/
    background: #222222;
    color: #3a3535;
}


@import url("https://fonts.googleapis.com/css2?family=Prata&display=swap");

.title {
    padding-left: 1em;
    grid-column: 1 / -1;
    grid-row: 1;

    font-family: Roboto, Arial, sans-serif;
    font-size: 5vw;
    width: 100%;
    z-index: 2;
    color: #cccccc;

}

.description {

    grid-column: 1 / -1;
    grid-row: 1;

    font-family: Roboto, Arial, sans-serif;
    font-size: 3.5vw;
    width: 45%;

    display: flex;
}

@keyframes text-clip {
    from {
        clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes outer-left {
    from {
        transform: translateX(50%);
    }
    to {
        transform: none;
    }
}

@keyframes inner-left {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: none;
    }
}

.cafe,
.mozart {
    animation: outer-left 1s 1s cubic-bezier(0.5, 0, 0.1, 1) both;

}


.title-inner {
    display: inline-block;
    animation: inner-left 1s 1s ease both;
}

.description-inner {
    display: inline-block;
    animation: inner-left 1s 1s ease both;
}

.cafe-inner {
    display: inline-block;
    animation: inner-left 1s 1s ease both,
    text-clip 1s 0s cubic-bezier(0.5, 0, 0.1, 1) both;
}

.mozart-inner {
    animation: text-clip 1s 0s cubic-bezier(0.5, 0, 0.1, 1) both;
}

.title {
    animation: outer-left 1s 1s ease both;
}


.mozart {
    display: inline-block;
}

.image {
    grid-row: 1;
    grid-column: 2;
    margin-left: -2rem;
    opacity: 0.7;

    animation: image-in 1s cubic-bezier(0.5, 0, 0.1, 1) 2s backwards;


}

.image img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes image-in {
    from {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Details Home*/


/* Details Home Description*/


#details-home-description {
    width: 100%;
    height: 100%;
    background: linear-gradient(141deg, #ccc 25%, #eee 40%, #ddd 55%);


}

.details-home-description-left {
    width: 50%;
    height: 90%;
    position: absolute;
    left: 0;
    display: flex;

    align-items: center;
    justify-content: center;
}

.details-home-description-left img {
    border: solid 4px #333;
    box-shadow: -5px 5px #333;
    transition: all .2s ease-in-out;
}

.details-home-description-left img:hover {
    margin: 10px 10px 0 0;
    box-shadow: 0px 0px #333;
}

.details-home-description-right {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    right: 0;
}

.main h1 {
    text-align: center;
    text-transform: uppercase;
    color: black;
    font-size: 4rem;
}


.roller {
    height: 4.125rem;
    line-height: 4rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    color: black;
}


#spare-time {
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 1rem;
    margin-top: 0;
    color: black;

}

.roller #rolltext {
    position: absolute;
    top: 0;
    animation: slide 5s infinite;
    font-size: 30px;
}

@keyframes slide {
    0% {
        top: 0;
    }
    25% {
        top: -4rem;
    }
    50% {
        top: -8rem;
    }
    72.5% {
        top: -12.25rem;
    }
}

@media screen and (max-width: 900px) {
    .main h1 {
        text-align: center;
        text-transform: uppercase;
        color: black;
        font-size: 1.225rem;
    }

    .roller {
        height: 2.6rem;
        line-height: 2.125rem;
    }

    #spare-time {
        font-size: 1rem;
        letter-spacing: 0.1rem;
    }

    .roller #rolltext {
        animation: slide-mob 5s infinite;
    }

    @keyframes slide-mob {
        0% {
            top: 0;
        }
        25% {
            top: -2.125rem;
        }
        50% {
            top: -4.25rem;
        }
        72.5% {
            top: -6.375rem;
        }
    }


    .details-home-description-right {
        width: 100%;
        height: 20%;
        position: relative;


        display: grid;
        align-items: center;
        justify-content: center;


    }

    .details-home-description-left img {

        width: 100%;
        height: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .details-home-description-left {
        width: 100%;
        height: 70%;
        position: relative;
        display: flex;
        gap: 100%;


        align-items: center;
        justify-content: center;


    }

    .roller #rolltext {
        position: absolute;
        top: 0;
        animation: slide 5s infinite;
        font-size: 13px;
    }


}

/* Details Home Description*/

/* Details Home Description Personal Sites*/


:root {
    --card-height: 40vw;
    --card-margin: 4vw;
    --card-top-offset: 1em;
    --numcards: 4;
    --outline-width: 0px;
}

.cards-personal-sites {
    background: #222222;
}

#cards-personal-sites {
    padding-bottom: calc(var(--numcards) * var(--card-top-offset)); /* Make place at bottom, as items will slide to that position*/
    margin-bottom: var(--card-margin); /* Don't include the --card-margin in padding, as that will affect the scroll-timeline*/
}

#card_1-personal-sites {
    --index: 1;
}

#card_2-personal-sites {
    --index: 2;
}

.card-personal-sites {
    position: sticky;
    top: 0;
    padding-top: calc(var(--index) * var(--card-top-offset));
}

@supports (animation-timeline: works) {


    .card-personal-sites {
        --index0: calc(var(--index) - 1); /* 0-based index */
        --reverse-index: calc(var(--numcards) - var(--index0)); /* reverse index */
        --reverse-index0: calc(var(--reverse-index) - 1); /* 0-based reverse index */
    }

    .card__content {
        transform-origin: 50% 0%;
        will-change: transform;

        --duration: calc(var(--reverse-index0) * 1s);
        --delay: calc(var(--index0) * 1s);

        animation: var(--duration) linear scale var(--delay) forwards;
        animation-timeline: cards-element-scrolls-in-body;
    }

    @keyframes scale {
        to {
            transform: scale(calc(
                    1.1
                    -
                    calc(0.1 * var(--reverse-index))
            ));
        }
    }
}

/** DEBUG **/

#debug {
    position: fixed;
    top: 1em;
    left: 1em;
}

#debug::after {
    content: " Show Debug";
    margin-left: 1.5em;
    color: white;
    white-space: nowrap;
}

#debug:checked ~ main {
    --outline-width: 1px;
}


/** PAGE STYLING **/


header,
main {
    width: 80vw;
    margin: 0 auto;
}

header {
    height: 100vh;
    display: grid;
    place-items: center;
}

#cards-personal-sites {
    list-style: none;
    outline: calc(var(--outline-width) * 10) solid blue;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--numcards), var(--card-height));
    gap: var(--card-margin);
}

.card-personal-sites {
    outline: var(--outline-width) solid hotpink;
    width: 100%;
}

.card__content {
    box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.1), 0 1em 2em rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255);
    color: rgb(10, 5, 7);
    border-radius: 1em;
    overflow: hidden;

    display: grid;
    grid-template-areas: "text img";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;

    align-items: stretch;
    outline: var(--outline-width) solid lime;
}

.card__content > div {
    grid-area: text;
    width: 90%;
    place-self: center;
    text-align: left;

    display: grid;
    gap: 1em;
    place-items: start;
}

.card__content > figure {
    grid-area: img;
    overflow: hidden;
}

.card__content > figure > img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

h1 {
    font-weight: 300;
    font-size: 3.5em;
}

h2 {
    font-weight: 300;
    font-size: 2.5em;
}

p {
    font-family: sans-serif;
    font-weight: 300;
    line-height: 1.42;
}


aside {
    width: 50vw;
    margin: 0 auto;
    text-align: left;
}

aside p {
    margin-bottom: 1em;
}

@media screen and (max-width: 900px) {
    #cards-personal-sites {
        list-style: none;
        outline: calc(var(--outline-width) * 10) solid blue;


        grid-template-rows: repeat(var(--numcards), 60%);
        gap: var(--card-margin);
    }

    .card__content {
        box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.1), 0 1em 2em rgba(0, 0, 0, 0.1);
        background: rgb(255, 255, 255);
        color: rgb(10, 5, 7);
        border-radius: 1em;
        overflow: hidden;
        display: flex;
        flex-direction: column;

        grid-template-rows: auto;

        align-items: stretch;
        outline: var(--outline-width) solid lime;
    }

    .card__content > figure > img {
        width: 100%;
        height: 30%;
        object-fit: fill;
    }
}

@media only screen and (min-width: 500px) and (max-width: 899px) {
    #cards-personal-sites {
        list-style: none;
        outline: calc(var(--outline-width) * 10) solid blue;

        margin-bottom: 90%;

        grid-template-rows: repeat(10, 30%);
        gap: var(--card-margin);
    }

    .card__content {
        box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.1), 0 1em 2em rgba(0, 0, 0, 0.1);
        background: rgb(255, 255, 255);
        color: rgb(10, 5, 7);
        border-radius: 1em;
        overflow: hidden;
        display: flex;
        flex-direction: column;

        grid-template-rows: auto;

        align-items: stretch;
        outline: var(--outline-width) solid lime;
    }
}

/* Details Home Description Personal Sites*/
/*Details Page*/


