@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,400;0,500;0,600;1,100;1,400&family=Space+Mono:wght@400;700&display=swap');

@font-face {
    font-family: Franchise;
    src: url(assets/fonts/Franchise-mini.woff);
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes up-and-down {
    0% {
        translate: 0 0;
    }

    50% {
        translate: 0 20px;
    }

    100% {
        translate: 0 0;
    }
}

@keyframes animated-border {
    0% {
        left: 0;
        width: 0;
    }

    100% {
        left: 0;
        width: 100%;
    }
}

@keyframes strikethrough {
    from {
        width: 0%;
    }

    to {
        width: 105%;
    }
}

:root {
    --lapis-lazuli: #05668dff;
    --teal: #028090ff;
    --persian-green: #00a896ff;
    --mint: #02c39aff;
    --cream: #f0f3bdff;
}

*,
*::after,
*::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Poppins';
}

strong {
    font-weight: bold;
}

body {
    margin: 0;
}

.content-wrapper {
    width: 100vw;
    min-height: 100vh;
    background-color: #edebeb;
    padding: 1.5rem;
}

#hero {
    display: -ms-grid;
    display: grid;
    place-content: center;
    place-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.scroll-down-icon {
    font-size: 4rem;
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 1s;
    z-index: 1;
    -webkit-animation-name: up-and-down, fade-in;
    animation-name: up-and-down, fade-in;
    -webkit-animation-delay: 1s, 0.5s;
    animation-delay: 1s, 0.5s;
    -webkit-animation-duration: 1.5s, 0.5s;
    animation-duration: 1.5s, 0.5s;
    -webkit-animation-fill-mode: both, backwards;
    animation-fill-mode: both, backwards;
    animation-iteration-count: infinite, 1;
    -webkit-animation-iteration-count: infinite, 1;
}

#title {
    font-weight: 300;
    letter-spacing: 0;
    word-spacing: 0;
    font-family: Franchise;
    font-size: 16vw;
    line-height: 1;
    text-align: center;
    margin: 0;
    color: black;
    opacity: 0;
    -webkit-animation-name: fade-in;
    animation-name: fade-in;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    z-index: 1;
}

#hmu {
    text-align: center;
    font-size: max(2vw, 1.2rem);
    font-family: 'Space Mono';
    max-width: 90%;
    opacity: 0;
    -webkit-animation-name: fade-in;
    animation-name: fade-in;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    z-index: 1;
    text-shadow: 0px 0px 4px white;
    position: relative;
}

#hmu *{
	font-family: inherit;
}

#linkedin {
    bottom: -1rem;
    fill: var(--lapis-lazuli);
    width: 3rem;
    position: relative;
    cursor: pointer;
    -webkit-animation-name: pulse;
    animation-name: pulse;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
    -webkit-animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
    animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

#me {
    position: fixed;
    left: -60px;
    bottom: -50px;
    transform: rotate(0deg);
    width: min(400px, 100%);
    z-index: 0;
    transition: opacity 0.4s linear, scale 0.4s linear;
    -webkit-animation-name: fade-in;
    animation-name: fade-in;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
    pointer-events: none;
	display: none;
}

#header-logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: Franchise; 
    margin: 0; 
    font-size: 4rem;
}

section {
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-description {
    font-size: 1rem;
    margin-bottom: 3rem;
    text-align: justify;
}

.info-icon {
    font-size: 0.9rem;
    color: grey;
    border: 2px solid grey;
    border-radius: 50%;
    height: 1.2rem;
    width: 1.2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem;
    cursor: pointer;
    position: relative;
}

.info-icon::after {
    content: attr(data-info);
    width: 20rem;
    background-color: white;
    box-shadow: 1px 1px 5px grey;
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    display: none;
	font-weight: 400;
    font-size: 0.9rem;
    padding: 0.5rem;
}

@media (hover: hover) {
    .info-icon:hover::after {
        display: flex;
    }
}

@media (hover: none) {
    .info-icon.open::after {
        display: flex;
    }
}

#menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: black;
    z-index: 10;
    color: white;
    display: grid;
    place-content: center;
    overflow-y: scroll;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

#menu-wrapper.open {
    visibility: visible;
    opacity: 1;
    pointer-events: all !important;
}

.noscroll{
    overflow-y: hidden;
}

.menu-items-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 2rem;
    padding-left: 0;
    align-items: flex-start;
    padding-inline: 0.5rem;
}

.menu-list-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.menu-list-item::after {
    content: "";
    background-color: #f95cf9;
    position: absolute;
    height: 2px;
    bottom: -8px;
}

@media(hover: hover){
    .menu-list-item:hover::after {
        animation-name: animated-border;
        animation-duration: 0.4s;
        animation-timing-function: cubic-bezier(0.23, 1, 0.320, 1);
        animation-fill-mode: forwards;
    }
}

.m-0 {
    margin: 0;
}

.gap-1 {
    gap: 1rem;
}

.rotate-90 {
    transform: rotate(90deg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.flex {
    display: flex;
}

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

a {
    text-decoration: none;
    font-family: inherit;
    color: inherit;
}

.post-container {
    background-color: transparent;
    border: 2px solid black;
    padding-inline: 0.5rem;
    flex-grow: 1;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media(hover: hover){
    .post-container:hover {
        box-shadow: inset 0px 0px 25px 0px #8080806b;
    }
}

.post-container::after {
    content: "";
    height: 8px;
    width: 20px;
    position: absolute;
    bottom: -10px;
    right: -2px;
    clip-path: polygon(0% 0%, 5% 100%, 100% 0%);
    background-color: black;
    cursor: pointer;
}

.post-container::before {
    content: "";
    height: 8px;
    width: 20px;
    position: absolute;
    top: -10px;
    left: -2px;
    clip-path: polygon(0% 100%, 95% 0%, 100% 100%);
    background-color: black;
    cursor: pointer;
}

.post-title {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 1.2rem;
}

.float-bottom {
    margin-top: auto;
}

.post-excerpt {
    margin-top: 0.5rem;
    color: grey;
    font-size: 1rem;
}

.separate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-main-language {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
	font-size: 0.9rem;
}

.post-main-language:hover{
    text-decoration: underline;
}

.post-main-language img {
    width: 1.5rem;
}

.post-main-category{
    cursor: pointer;
	font-size: 0.9rem;
}

.post-main-category:hover{
    text-decoration: underline;
}

.post-container:first-child .post-date {
    background-color: #f95cf9;
}

.post-date {
    float: right;
    color: white;
    font-size: 0.8rem;
    background-color: black;
    padding: 0.1rem 0.5rem 0.1rem 0.5rem;
    border-bottom-left-radius: 5px;
    position: relative;
    right: -0.5rem;
    top: -0.5rem;
    border: 2px solid black;
    border-top: none;
    border-right: none;
    font-weight: bold;
}

.read-more {
    position: absolute;
    bottom: -4rem;
    right: 0;
    font-size: 0.9rem;
    color: #f95cf9;
    font-weight: bold;
    cursor: pointer;
}

.read-more:hover{
    text-decoration: underline;
}

.archive-posts {
    margin-top: 7rem;
}

p::selection, h1::selection, 
h2::selection, h3::selection {
    background-color: black;
    color: white;
}

footer {
    background-color: black;
    color: white;
    padding: 0.5rem;
    text-align: center;
}

.text-center {
    text-align: center;
}

.single-container {
    width: min(800px, 100%);
    margin-top: 6rem;
    margin-inline: auto;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.single-container h1 {
    justify-content: center;
	font-size: 2rem;
}

.single-details {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    color: grey;
    font-size: 0.9rem;
    line-height: 1.5;
}

.divider {
    padding: 0.5rem;
    position: relative;
    bottom: 0.2rem;
    color: #f95cf9;
}

.single-container * {
    max-width: 100%;
}

.single-container p {
	line-height: 1.4;
}

.single-container > section:last-child{
    margin-bottom: 3rem;
}

.single-container iframe {
    height: 300px;
}

.single-container figure {
    width: 100%;
    margin-block: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    margin-inline: 0;
    padding-block: 1rem;
}

.single-container img,
.single-container iframe {
    max-width: 100%;
    width: 100%;
    display: block;
    margin-inline: auto;
    margin-block: 2rem;
}

figure img{
    margin-block: 0 !important;
}

.single-container figcaption{
    color: grey;
    font-size: 0.9rem;
    text-align: center;
}

.single-container a {
    color: #f95cf9;
    text-decoration: underline;
}

.archive-title {
    margin-bottom: 3rem;
}

.single-title {
    margin-bottom: 1rem;
}

.strikethrough::after {
    content: "";
    height: 2px;
    background-color: black;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 55%;
    background-color: #f95cf9;
    animation-name: strikethrough;
    animation-duration: 0.8s;
    animation-delay: 0.5s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(1, -0.04, 0, 1.11);
    ;
}

#menu-icon {
    display: inline-block;
    padding: 10px;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    z-index: 11;
}

.animated-menu{
    -webkit-animation-name: fade-in;
    animation-name: fade-in;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
}

#menu-icon .bar {
    margin: 3px;
    width: 2rem;
    height: 3px;
    background: #000;
    transition: margin 0.2s, transform 0.2s;

    /* same as above but with prefixes added */
    -webkit-transition: margin 0.2s, -webkit-transform 0.2s;
    transition: margin 0.2s, -webkit-transform 0.2s;
    -o-transition: margin 0.2s, transform 0.2s;
    transition: margin 0.2s, transform 0.2s;
    transition: margin 0.2s, transform 0.2s, -webkit-transform 0.2s;
}

#menu-icon.close .bar {
    background-color: white;
}

#menu-icon.close .bar:first-child {
    -webkit-transform: translateY(6px) rotate(45deg);
    -ms-transform: translateY(6px) rotate(45deg);
    transform: translateY(6px) rotate(45deg);
}

#menu-icon.close .bar:nth-child(2) {
    opacity: 0;
}

#menu-icon.close .bar:last-child {
    -webkit-transform: translateY(-6px) rotate(-45deg);
    -ms-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
}

.sml_subscribe{
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
	flex-wrap: wrap;
}

.sml_email{
    margin: 0;
    padding: 0;
}

.sml_submit{
    margin: 0;
    padding: 0;
}

.sml_emailinput{
    padding-inline: 0.5rem;
    padding-block: 0.2rem;
    border: 4px solid #f95cf9;
    outline: none;
    font-size: 1rem !important;
}

.sml_submitbtn{
    background-color: #f95cf9;
    border: none;
    color: white;
    display: flex;
    height: 100%;
    cursor: pointer;
    font-size: 1rem !important;
}

.sml_thankyou{
    display: none;
}

.wp-block-table{
    display: block !important;
}

button.lightbox-trigger {
    display: none !important;
}

@media screen and (max-width: 1000px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 600px) {
    #hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 10vh;
    }

    #title {
        font-size: 30vw;
        width: -webkit-min-content;
        width: -moz-min-content;
        width: min-content;
    }

    .info-icon::after {
        left: unset;
        right: 100%;
        width: 15rem;
        transform: translateX(50%);
        bottom: 2rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .scroll-down-icon {
        bottom: 8rem;
    }

}

@media screen and (max-width: 450px) {
    #me {
        left: -60px;
        bottom: -50px;
        transform: rotate(20deg);
        width: min(300px, 100%);
    }
}