/*
Theme Name: jenniexp.com
Author: Jennie
*/

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

 * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
 }

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

/* ----------------------------- GENERAL STYLING ---------------------------- */
/* #smooth-wrapper {
    padding: 2em 4em;
} */
section {
    padding: 2em 4em;
    padding-bottom: 10em;
    margin: 3em 0;

}
 /* ------------------------- TEXT FONTS LINKS ICONS ------------------------- */

 h1 {
    font-size: 4rem;
    font-weight: 900;
    cursor: default;
 }
.wtg,
#wtg-about,
button {
    animation: squiggly-anim 0.6s linear infinite;
    display: inline-block;
    filter: url(#squiggly-0); /* fallback to a valid filter */
    will-change: filter;
  }
  .wtg,
  #wtg-about {
    vertical-align: middle;
    width: 100%;
    outline: none;
    line-height: 1;
  }
  .wtg:hover,
  #wtg-about:hover {
    color: teal;
    transition: color 0.3s ease-in-out;
  }
  @keyframes squiggly-anim {
    0% {
      filter: url(#squiggly-0);
    }
    25% {
        filter: url(#squiggly-1);
      }
    50% {
      filter: url(#squiggly-2);
    }
    75% {
        filter: url(#squiggly-3);
      }
    100% {
      filter: url(#squiggly-4);
    }
  }
 h2 {
    font-size: 3rem;
    cursor: default;
 }
 h2.split-text {
    text-align: center;
    padding: 1em 3em;
 }
 h3 {
    text-transform: uppercase;
    letter-spacing: 0.25rem;
 }
 /* h4 {
    margin-top: 2em;
 } */
 p {
    line-height: 1.5rem;
 }
 a {
    text-decoration: none;
    color: black;
 }
 li {
    list-style-type: none;
    cursor: pointer;
 }
 .post-header {
    p {
        color: #b3b3b3;
        padding-bottom: 0.5em;
    }
 }

 /* ------------------------------- TAG BUBBLE ------------------------------- */
 .tag-wrapper {
    padding: 1em 0;
    display: flex;
    /* flex-wrap: wrap;  */
    justify-content: start;
    align-items: center;
    gap: 0.5rem;
  }
  
  .tag {
    /* display: inline-block; */
    /* background-color: #f0f0f0; */
    border: teal 1px solid;
    cursor: default;
    color: teal;
    font-size: 0.85rem;
    padding: 0.4em 0.75em;
    border-radius: 999px; /* makes it pill-shaped */
    transition: all 0.2s ease-in-out;
  }
  
  /* .tag:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
    cursor: pointer;
  } */
  
 /* --------------------------------- BUTTONS -------------------------------- */
.button-wrapper {
    padding: 1em 0;
    a button {
        padding: 1em 3em;
        background-color: black;
        color: white;
        font-size: 1.25rem;
        text-transform: uppercase;
        border: none; 
        cursor: pointer;

        &:hover {
            background-color: teal;
            transition: background-color 0.3s ease-in-out;
        }
    }
}

/* --------------------------- HEADER & NAVIGATION -------------------------- */
header {
    padding: 0.5em 0;
}
nav.single-nav {
    display: flex;
    justify-content: space-around;
}
ul.single-menu {
    display: flex;
}
/* ------------------------------ SECTION HERO ------------------------------ */
#hero {
    display: flex;
    justify-content: center;
}
.hero-container {
    background-color: #FEF9EF;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 3em;
    border-radius: 20px;
}
.hero-text {
    p {
        padding: 1em 2em 1em 0;
    }
    ul li {
        padding: 0.3em 0;
        text-transform: uppercase;
    }
}

.hero-image {
    display: flex;
    justify-content: right;
    img {
        width: 90%;
    }

    .button-wrapper {
        display: none;
    }
}

/* ---------------------------- SECTION WEBSITES ---------------------------- */
#websites, #appdesign {
    display: flex;
    flex-direction: column;
    padding: 2em 5em;
}
.website-wrapper,
.app-wrapper {
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr;
    gap: 1em;

    h1 {
        cursor: pointer;
    }
}
.website-wrapper a img,
.app-wrapper a img {
    width: 10%;
}
.website-wrapper a img {
    border: 1px solid black;
    border-radius: 10px;
}

/* ------------------------------- SCROLL LINE ------------------------------ */
.scroll-line-section {
    position: relative;
    z-index: 0;
}
  .horizontal-line {
    height: 1px;
    background-color: #b3b3b3;
    width: 0%;
    transition: width 1s ease-out;
    margin-bottom: 1em;
    position: absolute;
    z-index: 0;
  }
  

/* ---------------------------- SECTION SENTENCE ---------------------------- */
#sentence {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 80vh;
}

#sentence img {
    width: 10%;
    height: auto;
    transition: transform 0.4s ease-in-out;
}
#sentence img:hover {
    transform: scale(1.25);
}

.scroll-animate-sentence .word {
    transition: color 0.3s ease;
    display: inline-block;
  }
  
  .scroll-animate-sentence .word:hover {
    color: teal;
    cursor: pointer;
  }
  

/* -------------------------------- ABOUT US -------------------------------- */
section#about {
    display: flex;
    align-items: center;
    background-color: #FEF9EF;
    padding: 4em 8em;
    margin-bottom: 0;
    border-radius: 20px;
}
.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5em;
}
.pic {
    display: flex;
    justify-content: center;
    background-size: cover;
}
.about-wrapper div img:first-child {
    height: 25rem;
    border-radius: 500px;
}
img#tools {
    width: 70%;
    padding: 1em 0;
}

/* --------------------------- SECTION SINGLE PAGE -------------------------- */
#featured {
    max-width: 100%;
    height: 50%;
    margin: 0;
    padding: 0;
    background-size: cover;
}
#featured img {
    width: 100%;
    
}

/* --------------------------------- FOOTER --------------------------------- */

footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: black;
    padding: 3em 8em;
    color: white;
    height: 40vh;
    width: 100%;
}
#copyright {
    padding-top: 1em;
    font-size: 0.75rem;
    letter-spacing: 0.15rem;
}
.pixel-hover-title.contact-title {
    font-size: 2rem;
    text-transform: uppercase;

    &:hover {
        color: white;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
form.wpcf7-form.init {
    padding: 1em 3em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}
form input[type=submit] {
    display: flex;
    background-color: teal;
    padding: 1em;
    width: 100%;
    color: white;
    text-transform: uppercase;
}
form input[type=submit]:hover {
    background-color: #FEF9EF;
    color: black;
}
label {
    font-size: 1rem;
}
textarea {
    height: 5vh;
    /* width: 81%; */
}
/* --------------------------- PLUGIN: TRANSLATION -------------------------- */
/* #trp-floater-ls.trp-language-switcher-container.trp-floater-ls-flags.trp-top-right.trp-color-light.only-flags {
    box-shadow: none;
    background-color: transparent;
}
.trp-language-switcher-container {
    display: flex;
} */

/* ------------------------------ PAGE PROJECT ------------------------------ */
#project-page {
    min-height: 70vh;
    display: grid;
    justify-content: left;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    padding: 4em;
    gap: 2em;
}
.project-preview {
    text-align: left;
}
.project-image img {
    width: 80%;
}
.project-label {
    text-align: left;
}

.hover-image-wrapper {
    position: relative;
    display: inline-block;
  }
  
  .hover-image-wrapper .preview.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  
  .hover-image-wrapper:hover .preview.hover {
    opacity: 1;
  }
  
  .hover-image-wrapper .preview.normal {
    display: block;
    transition: opacity 0.8s ease;
  }
  
  .hover-image-wrapper:hover .preview.normal {
    opacity: 0;
  }
  
  /* ---------------------------- RESPONSIVE DESIGN --------------------------- */
/*   
  
  @media screen and (max-width:400px) {
    #hero, 
    .hero-container,
    .website-wrapper,
    .app-wrapper,
    .about-wrapper,
    footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    #smooth-wrapper,
    #smooth-content {
        padding: 0.5em;
    }

    section, p {
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-container {
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .button-wrapper {
            display: flex;
            justify-content: center;
            text-align: center;

            button {
                width: 80%;
                padding: 0.5em;
            }
        }
    }
    nav.pullRight,
    .button-wrapper {
        display: none;
    } */
    /* RESPONSIVE TEXT */
    /* h1 {
        font-size: 2.5rem;
    }
    p {
        line-height: 1rem;
    }

    #trp-floater-ls.trp-language-switcher-container.trp-floater-ls-flags.trp-top-right.trp-color-light.only-flags {
        right: 300px;
    }
    .trp-language-switcher-container {
        display: flex;
    }
  } */

  /* -------------------------- SCRAMBLE TEXT EFFECT -------------------------- */
.pixel-hover-title-wrapper {
    position: relative;
    display: inline-block;
  }
  
  /* Pixelated title effect */
  .pixel-hover-title {
    position: relative;
    display: inline-block;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
    transform-origin: left;
  }

  .pixel-hover-title:hover {
    /* transform: scale(1.05); */
    color: #523710;
  }

  
  /* Tooltip image (completely out of layout flow) */
  .tooltip-image {
    position: absolute;
    bottom: 0;
    left: -55%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  
  .tooltip-image img {
    width: 300px;
    opacity: .9;
    height: auto;
    image-rendering:pixelated;
    border-radius: 6px;
    /* z-index: 12;
    position: absolute; */
  }
  .tooltip-image h4 {
    width: 100%;
    text-wrap:nowrap;
    background-color: wheat;
    border-radius: 200px;
    padding: 1em;
    font-weight: 400;
  }
  
  .pixel-hover-title-wrapper:hover .tooltip-image {
    opacity: 1;
    visibility: visible;
  }

  
/* ---------------------------- RESPONSIVE DESIGN --------------------------- */

@media screen and (max-width: 1000px) {

    body,
    html {
        background-color: #FEF9EF;
    }
    #hero, 
    .hero-container,
    .website-wrapper,
    .app-wrapper,
    .about-wrapper,
    footer {
        display: grid;
        grid-template-columns: 1fr;
        padding: 1em;
    }
    h1 {
        font-size: 2.3rem;
    }
    section {
        margin: 0.5em;
        padding: 1em;
    }
    #sentence h2 {
        font-size: 1.8rem;
    }
    .hero-text{
        display: flex;
        flex-direction: column;
        padding-top: 1em;
    }
  
  .button-wrapper a button {
    padding: 1em;
    font-size: 1rem;
  }
  .logo-animate a img {
    width: 15%;
    padding: 1em 0;
  }
    /* #websites, 
    #appdesign,
    #about {
        padding: 2em;
    } */
     section#about {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: center;
     }
    .about-wrapper {
        text-align: center;
    }
    /* .about-text {
        display: flex;
        justify-content: left;
        align-items: center;
        text-align: left;
    } */
    .post-header {
        padding-left: 1em;
    }
    .tag-wrapper {
        justify-content: center;
    }

    footer#footer-section {
        display: flex;
        flex-direction: column;
    }
    form.wpcf7-form.init {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1em;
    }
    input,
    textarea {
        width: 100%;
    }
    footer {
        height: 50vh;
    }
    input[type=submit] {
        border: none;
    }
}
  
/* ------------------------------------------------------------------------ */
@media screen and (max-width:450px) {
  
    .logo-animate a img {
        width: 25%;
        padding: 1em 0;
      }

    /* TEXT */
    h1.split-text,
    h1.pixel-hover-title  {
        font-size: 1.75rem;
    }
  
    h2,
    h2.pixel-hover-title {
        font-size: 1.5rem;
    }
    #sentence {
        height: 50vh;
    }

    .website-wrapper,
    .app-wrapper {
        padding-left: 1em;
    }
    /* IMAGES */
    .hero-image {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        img {
            width: 80%;
        }
    }
    
    /* .hero-image .button-wrapper {
        display: flex;
        justify-content: center;
        text-align: center;
        margin-top: 2em;
    }
     */
    /* .hero-image .button-wrapper button {
        width: 80%;
        padding: 0.5em;
    }
     */
     .button-wrapper a button {
        width: 60%;
        padding: 1em;
        font-size: 0.75rem;
      }
    .logo-img {
        text-align: center  ;
    }
    a#home img {
        width: 20%;
    }
    

    #websites, 
    #appdesign,
    section#about {
        padding: 1em;
    }
    /* section#about {
        display: inline;
        padding: 3em;
    } */
     .horizontal-line {
        width: 90vw;
     }
    section#about div img {
        width: 50%;
        height: auto;
    }
    section#about .about-wrapper p {
        padding: 1em;
        line-height: 1.5rem;
    }

    .tag-wrapper {
        flex-wrap: wrap;
    }
   
    /* nav.pullRight,
    .button-wrapper {
        display: none;
    } */
    /* h1 {
        font-size: 2.5rem;
    }
    p {
        line-height: 1rem;
    } */

    #trp-floater-ls.trp-language-switcher-container.trp-floater-ls-flags.trp-top-right.trp-color-light.only-flags {
        right: 300px;
    }
    .trp-language-switcher-container {
        display: flex;
    }

    footer {
        height: 70vh;
    }
    input[type=submit] {
        border: none;
    }
}
  