/*all comentaries written here to try not getting mixed up xD*/

/*APPLIES TO ALL*/

@font-face {
    font-family: Blog-font; /* set name */
    src: url(PatrickHand-Regular.woff);
}
@font-face {
    font-family: nav-gen-font;
    src: url(KOMIKAHB.woff);
}
@font-face {
    font-family: titles-font;
    src: url(Handmade-Alphabet.woff);
}

body {
    background: linear-gradient(to bottom, rgb(216, 255, 216), rgb(67, 132, 205));
    /*rgb(216, 255, 216) rgb(216, 255, 219), #3eaf3e*/
    background-size: cover;
    background-repeat: no-repeat;
}
.backgroundimg img {
    width: 100vw;
    height: 100vh;
    position: fixed;
    mix-blend-mode: multiply;
    opacity: 0.6;
}
body,
html {
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 auto;
}

.open-nav,
.nav-close {
    display: none;
}

/*WRAPPER GENERAL*/
.wrapper-gen {
    width: 50vw;
    min-width: 200px;
    min-height: 50vh;
    padding-top: 150px;
    padding-bottom: 200px;
    padding-left: 8%;
    padding-right: 8%;
    z-index: 1;
    margin: auto;
    background-color: rgb(224, 245, 255);
    /*#e0ffe2*/
    filter: drop-shadow(6px 1px 8px rgba(0, 0, 0, 0.21)) drop-shadow(-6px 1px 8px rgba(0, 0, 0, 0.21));
}

.titles {
    text-align: center;
    font-size: 92px;
    margin: auto;
    margin-bottom: 23px;
    margin-top: 0;
    font-family: titles-font;
    color: #83c083;
    width: fit-content;
    padding: 20px;
    border-radius: 48px;
    filter: drop-shadow(4px 4px #236a4f);
}
footer {
    background-color: #9dcad3;
    margin: 0;
    position: absolute;
    width: 100%;
    z-index: 80;
}

.footertext {
    text-align: center;
    font-family: "Blog-font";
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 0.2em;
    margin-top: 20px;
}

/*SEARCH BAR*/
.logo-gen {
    width: 6vw;
    position: fixed;
    transform: translateX(-29%);
    transition: 0.5s;
    filter: drop-shadow(0 0 6px #99c5c7);
}
.logo-gen:hover {
    transform: scale(1.1) translateX(-28%);
    filter: brightness(0.99) drop-shadow(0 0 5px #629a9e);
}

li {
    display: inline-block;
    vertical-align: middle;
}
a {
    text-decoration: none;
}
.nav-gen a {
    /*every single item in flexbox*/
    text-transform: uppercase;
    color: #f6fff4;
    font-family: "nav-gen-font";
    transition: 0.3s;
}

.nav-close.green , .nav-gen .active{
    color: #20a594;
}

li a:hover {
    color: #14897a;
}
.nav-left,
.nav-right {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 9%;
    justify-content: center;
}

.nav-gen {
    /*whole REST OF THE PAGES flexbox*/
    width: 100vw;
    position: fixed;
    display: flex;
    justify-content: center;
    gap: 16%;
    background-color: #99c5c7;
    padding: 22px 0;
    z-index: 98;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.29));
    font-size: 2vw;
}

#nav-gen-open{
    animation: nav-open .5s ease-in-out forwards;
}
@keyframes nav-open {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}


.column img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px #071e07;
}

/* INTRO SCREEN */
.wrapper {
    width: 100vw;
    position: fixed;
}

#WelcomeTo {
    position: fixed;
    display: flex;
    inset: 0;
    background: black;
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 9999;
    font-family: Arial;
    animation: introFade 1s ease forwards 0.4s;
}

@keyframes introFade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

/* MAIN CONTENTTTTT INTRO */

.logoHome {
    width: 6vw;
    min-width: 58px;
    position: fixed;
    padding: 5px;
    margin: 1.5%;

    z-index: 99;
    transition: 0.5s;
    filter: drop-shadow(4px 5px 1px rgba(0, 0, 0, 0.37)) drop-shadow(0 0 5px #178370);
}
.logoHome:hover {
    transform: scale(1.1);
    filter: brightness(0.99) drop-shadow(4px 5px rgba(0, 0, 0, 0.37)) drop-shadow(0 0 5px #0f6e5d);
}

.monitowrap {
    width: 100vw;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;

    bottom: 0;
    left: 0;
    animation: entrance-monito 2s ease-in-out forwards;
}

.monitowrap a img {
    /*alter size of the monito BUT IT WORKS LIKE HALF OF THE TIME*/
    min-width: 500px;
    width: 38vw;
    height: auto;
    display: block;
    filter: drop-shadow(8px 10px rgba(0, 0, 0, 0.37))  brightness(1.1);
    
}
.monitohover {
    transition:
        filter 0.3s,
        transform 0.3s;
}
.monitohover:hover {
    cursor: pointer;
    filter: brightness(1.2) drop-shadow(0 0 3px #e0ffe3) drop-shadow(0 0 5px #c4ffc1);
    transform: scale(1.03);
}

.Titles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 3%;
}

#ThatBirbs {
    width: 30%;
    margin-bottom: 2%;
    filter: drop-shadow(4px 5px rgba(0, 0, 0, 0.37));
}
#Portfolio {
    width: 101%;
    filter: drop-shadow(8px 10px rgba(0, 0, 0, 0.37));
}

@keyframes entrance-monito {
    0% {
        transform: translateY(120%);
    }

    100% {
        transform: translateY(10%);
    }
}

.iconsLeft {
    position: fixed;
    display: flex;
    bottom: -40vh;
    left: 20%;
    transform: translateX(-50%);

    justify-content: flex-start;
    gap: 4vw;
}

.iconsRight {
    position: fixed;
    display: flex;
    bottom: -40vh;
    right: 20%;
    transform: translateX(50%);

    justify-content: flex-end;
    gap: 4vw;
}

.iconsRight a,
.iconsLeft a {
    pointer-events: auto;
}

.floating-icons {
    width: 17vw;
    min-width: 250px;
    pointer-events: auto;
    filter: drop-shadow(5px 6px rgba(0, 0, 0, 0.37));

    animation:
        rise 1.4s ease-out forwards var(--delay),
        hover 2s ease-in-out infinite alternate calc(var(--delay) + 1.4s);
}
.iconshover {
    transition:
        filter 0.3s,
        transform 0.3s;
}

.iconshover:hover {
    cursor: pointer;
    filter: brightness(1.2) drop-shadow(5px 6px rgba(0, 0, 0, 0.37)) drop-shadow(0 0 3px #e0ffe3)
        drop-shadow(0 0 5px #c4ffc1);
    transform: scale(1.1);
}

/* EACH ICON GETS ITS OWN DELAY AND HEIGHT juju hihi */
.iconIlu {
    --delay: 1.3s;
    --rise-height: 64vh;
}

.iconSewing {
    --delay: 1.5s;
    --rise-height: 82vh;
}

.iconCoding {
    --delay: 1.7s;
    --rise-height: 88vh;
}

.icon3d {
    --delay: 1.8s;
    --rise-height: 56vh;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(-1 * var(--rise-height))) scale(1);
        opacity: 1;
    }
}

@keyframes hover {
    0% {
        transform: translateY(calc(-1 * var(--rise-height))) translateY(0);
    }
    50% {
        transform: translateY(calc(-1 * var(--rise-height))) translateY(-10px);
    }
    100% {
        transform: translateY(calc(-1 * var(--rise-height))) translateY(0);
    }
}

/*LIGHTBOX AKA BIG IMAGES WHITHOUT USING JS BTW*/
/*NO SCROLL*/
.lightboxes {
    position: absolute;
}

.lightbox {
    position: fixed;
    display: none;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.lightbox:target {
    display: flex;
    align-items: center;
    bottom: 0;

    justify-content: center;
    left: 0;
    right: 0;
    top: 0;
}

.lightbox img {
    display: block;
    max-height: 80vh;
    max-width: 90vh;
    border-radius: 1em;
    margin: auto;
}

.lightbox .close {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1001;
}

.lightbox2 p,
.lightbox2 a,
.lightbox p,
.lightbox a {
    font-size: 2vw;
    font-weight: 200;
    color: #ffffff;
    font-family: franklin Gothic;
    hyphens: auto;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 5%;
    margin: 20%;
    justify-content: center;
    align-items: center;
}

/*SCROLLABLE LIGHTBOX*/
.lightbox2 {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: none;
    background-color: rgba(0, 0, 0, 0.8);

    z-index: 1000;
}

.lightbox2:target {
    display: flex;
    align-items: center;
    bottom: 0;

    justify-content: center;
    left: 0;
    right: 0;
    top: 0;
}

.lightbox2 img,
.Vid2 {
    display: block;
    max-width: 32vw;
    margin: auto;
}
.lightbox2 .close {
    font-size: 8em;
    top: 0;
    left: 0;
    margin: 20px;
    position: fixed;
    z-index: 1001;
    color: white;
}

.content-scroll {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* how big it is before scrolling */
    width: 90vw;
    height: 90vh;
    overflow-y: scroll;
    /* look & feel */
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border: 1px solid #000;
}
.section a{
    color:#f2f277
}

.section {
    margin: 50px 6%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 5%;
    align-items: center;
}

.descriptions {
    width: 42vw;
}

/*VIDEO AND TEXT*/
.Vid {
    width: 50vw;
    margin-top: 10px;
}

/*ABOUT*/
.about-sections {
    margin:0;
    padding:0;
    gap: 1%;
    width:100%;
    display:flex;
   align-items: center;
    justify-content:space-between;
    font-family: Arial, Helvetica, sans-serif;
    font-size: larger;
    word-spacing: -2px;
    hyphens: auto;
    text-align: justify;
    color:#236a4f;
}
.about-sections img, .about-texts{
    font-weight: 500;
    max-width: 50%;
    height:fit-content;
}
.about-sections .birdbrain{
    filter:brightness(1.2);
}
.about-texts{
    padding:0 11px;
    border:dashed;
    border-radius: 20px;
}

/*BLOG*/
.blog-texts {
    max-width: 100%;
    min-width: 200px;
    margin: auto;
    margin-top: 38px;
    font-family: Blog-font;
    color: #000000;
    filter: drop-shadow(8px 6px 1px rgba(0, 0, 0, 0.29));
 
}
.blog-texts p{
    max-width: 100%;
    min-width: 200px;
    margin: auto;
    text-align: justify;
    margin-top: 20px;
    font-size: 19px;
    hyphens: auto;
}
.blog-sections {
    margin-top: 49px;
    background-color: rgb(227, 245, 207);
    padding: 29px;
    border-radius: 50px;
}

h2 {
    text-align-last: center;
    margin: 0;
}

.time {
    text-align: center;
    font-size: 20px;
}

/* SEWING */
.sewing-Monito img {
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    object-fit: contain;
}

.paper {
    width: clamp(200px, 27%, 420px);
    z-index: 1;
    filter: drop-shadow(8px -2px rgba(0, 0, 0, 0.29));
}
.sewing {
    width: clamp(180px, 25%, 380px);
    z-index: 2;
    filter: drop-shadow(5px -2px rgba(0, 0, 0, 0.29)) brightness(1.3);
}

.button {
    background-color: #83c083;
    border-radius: 16px;
    border: none;
    color: white;
    padding: 5px 21px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 33px;
    margin: 15px 2px;
    cursor: pointer;
    transition: 0.5s;
}
.socials {
    margin: 0;
    padding: 0;
}
.contact-text {
    color: #064316;
    font-size: 34px;
    width: 34vw;
    font-family: titles-font;
}

.contact img {
    height: auto;
    position: fixed;
    bottom: 0;
    right: 3%;
    object-fit: contain;
}
.contact-image {
    width: clamp(270px, 49%, 450px);
    z-index: 2;
    filter: drop-shadow(10px -2px rgba(0, 0, 0, 0.29)) brightness(1.25);
}

/*IMAGE GALLERY FOR IMG AND SEWING*/

.row {
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
}

/* Create four equal columns that sits next to each other */
.column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;

    padding: 0 4px;
}

.column img {
    width: 100%;
    margin-top: 8px;
    vertical-align: middle;

    border-radius: 5%;

    transition: transform 0.3s;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 850px) {
    .logoHome {
        min-width: 13vw;
    }
    .monitowrap a img {
        min-width: 80vw;
    }
    .iconsLeft {
        bottom: -27vh;
        left: 20%;
        transform: translateX(-15%);
    }

    .iconsRight {
        bottom: -24vh;
        right: 20%;
        transform: translateX(12%);
    }

    .floating-icons {
        width: 38vw;
        min-width: 128px;
    }
    .column {
        max-width: 50%;
        -ms-flex: 50%;
        flex: 32%;
    }
    .wrapper-gen {
        width: 70vw;
    }
    .nav-gen {
        font-size: 2.5vw;
    }
    .content {
        display: block;
    }
    .lightbox p {
        text-align: center;
    }
    .Vid {
        width: 70vw;
    }
    .lightbox2 img,
    .Vid2 {
        max-width: 78vw;
    }
    .descriptions {
        width: 80vw;
        font-size: 35px;
    }
    .lightbox2 p,
    .lightbox2 a,
    .lightbox p,
    .lightbox a {
        font-size: 3vw;
    }
    .lightbox2 .close {
        font-size: 8em;
        margin: 0;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        max-width: 100%;
        -ms-flex: 100%;
        flex: 100%;
    }
    .lightbox img {
        max-width: 90vw;
    }
    .content {
        margin: 5%;
    }
    .wrapper-gen {
        width: 88vw;
        padding: 3%;
        padding-top: 24%;
        padding-bottom: 254px;
    }

    .logo-gen {
        width: 25vw;
        top: 0;
        right: 0;
        margin-right: 20%;
        margin-top: 5%;
    }

    li {
        display: list-item;
        list-style: none;
    }
    a {
        text-decoration: none;
    }
    .nav-gen-open a {
        /*every single item in flexbox*/
        text-transform: uppercase;
        color: #f6fff4;
        font-family: "Komikahb";

        transition: 0.5s;
    }

    .nav-left,
    .nav-right,
    .logo-gen,
    .nav-close {
        display: block;
        justify-content: left;
    }

    .nav-gen {
        display: none;
    }
    .nav-gen:target {
        /*whole REST OF THE PAGES flexbox*/
        width: 100vw;
        position: fixed;
        display: inline-block;
        padding: 10%;
        font-size: 8vw;
    }

    .open-nav {
        z-index: 3;
        position: fixed;
        display: block;
        background-color: #99c5c7;
        padding: 5%;
        width: 100vw;
        filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.29));
    }

    .open-nav img {
        transition: 0.5s;
    }
    .open-nav img:hover {
        transform: scale(1.2);
    }
    .titles {
        margin-bottom: 0;
        font-size: 60px;
    }
    .Vid {
        width: 75vw;
    }
    .descriptions p {
        max-width: 80vw;
    }
    .lightbox2 p,
    .lightbox2 a,
    .lightbox p,
    .lightbox a {
        font-size: 5vw;
    }
    .lightbox2 .close {
        font-size: 4em;
    }
    .blog-texts {
        margin-top: 38px;
        font-size: 21px;
    }
    .blog-sections {
        margin-top: 12px;
        padding: 19px;
        border-radius: 50px;
    }
    .button {
        border-radius: 13px;
        font-size: 21px;
        margin: 6px 2px;
    }

    .contact-text {
        font-size: 30px;
        width: 91vw;
    }
    .contact-text p {
        margin: 9px 0px;
    }
}