body {
    background: url(https://i.pinimg.com/736x/19/19/62/1919623c2c16824d284c03f63b28d757.jpg);
    padding: 0;
    margin: 0;
    position: relative;
}

@font-face {
    font-family: kawaii stitch;
    src: url(https://dl.dropbox.com/s/yjal3we9j6biyn5/Kawaii%20Stitch.ttf);
}

@font-face {
    font-family: porkys;
    src: url(https://dl.dropbox.com/scl/fi/ozt9faz28nap2y2541vzk/PORKYS_-4.TTF?rlkey=51sl7q4ur2xrcmyhj0mg3zjqh&st=91tld1vv&dl=0);
}

@font-face {
    font-family: grape-soda;
    src: url(https://dl.dropbox.com/scl/fi/g0znfclke5xisj1m3urpo/GrapeSoda.ttf?rlkey=qoz3se775zzc762shfs2hv38u&st=6srurfgj&dl=0);
}

.wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.whole {
    width: 70rem;
    height: 60rem;
    margin-left: 3em;
    box-sizing: border-box;
    display: flex;
    vertical-align: middle;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 2em;
    position: relative;
}

.column1 {
    width: 20%;
    height: 70%;
    background: linear-gradient(180deg, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 0, 1) 33%, rgba(0, 192, 255, 1) 66%, rgba(192, 0, 255, 1) 100%);
    border-radius: 80px;
    box-sizing: border-box;
    padding: 0.5em;
    border: 2px dashed white;
    box-shadow: inset 13px 0px 6px -10px rgb(66 66 66 / 56%), inset -13px 0px 6px -10px rgb(66 66 66 / 56%), inset 0px 13px 6px -10px #ffffff, inset 0px -13px 6px -10px rgb(66 66 66 / 38%);
}

.inner {
    width: 100%;
    height: 100%;
    border-radius: 70px;
}

.nav {
    width: 100%;
    height: 65%;
    background-color: white;
    border-top-left-radius: 70px;
    border-top-right-radius: 70px;
    text-align: left;
    box-sizing: border-box;
    padding: 0.5em;
    font-family: grape-soda;
    font-size: 1.5em;
}

h2 {
    padding: 0;
    margin: 0;
    transition: 0.5s all ease;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 0, 1) 33%, rgba(0, 192, 255, 1) 66%, rgba(192, 0, 255, 1) 100%);
    width: 83%;
    margin: auto;
    color: white;
    height: fit-content;
    font-size: 1.2em;
    font-family: kawaii stitch;
    box-shadow: inset 2px 11px 6px -10px #ffffff, inset -10px 0px 6px -10px rgba(115, 204, 237, 0.8), inset 0px -10px 6px -10px rgba(115, 204, 237, 0.8);
    border: 1px dashed white;
    text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000;
    text-align: center;
}

h2:hover {
    transform: translateY(-2px);
}

.main {
    width: 60%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 0, 1) 33%, rgba(0, 192, 255, 1) 66%, rgba(192, 0, 255, 1) 100%);
    box-sizing: border-box;
    padding: 1em;
    border-radius: 80px;
    border: 2px dashed white;
    box-shadow: inset 13px 0px 6px -10px rgb(66 66 66 / 56%), inset -13px 0px 6px -10px rgb(66 66 66 / 56%), inset 0px 13px 6px -10px #ffffff, inset 0px -13px 6px -10px rgb(66 66 66 / 38%);
}

.footer {
    width: 100%;
    height: 9%;
    margin-top: 0.5em;
    border: 1px solid red;
    border-bottom-left-radius: 65px;
    border-bottom-right-radius: 65px;
    background-color: white;
}

.grid-container * {
    position: relative;
}

.grid-container {
    width: 100%;
    height: 90%;
    display: grid;
    grid-template-columns: 0.8fr 0.3fr 2.3fr 0.6fr;
    grid-template-rows: 1.1fr 0.3fr 1.9fr 1.7fr 0.8fr;
    gap: 5px 5px;
    grid-template-areas: "header header header header" "marquee marquee marquee marquee" "intro intro intro deco" "featured featured logs logs" "links neighbors neighbors deco2";
}

.intro {
    grid-area: intro;
}

.marquee {
    grid-area: marquee;
}

.header {
    grid-area: header;
    border-top-left-radius: 65px;
    border-top-right-radius: 65px;
    background: url(https://i.pinimg.com/736x/28/85/0a/28850a7ef3d71b548d21c7341b83b14f.jpg);
    background-size: 30rem;
    background-position-y: 35%;
    background-position-x: right;
    border: 2px dashed white;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.clock {
    font-family: kawaii stitch;
    position: absolute;
    top: 0;
    right: 0;
    width: fit-content;
    height: fit-content;
    font-size: 1.7em;
    color: white;
    box-sizing: border-box;
    padding: 20px;
    filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black) drop-shadow(0 -1px 0 black) drop-shadow(1px 0 black);
    border-bottom-left-radius: 50px;
}

.title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: fit-content;
    height: fit-content;
    font-size: 1.5em;
    color: white;
    box-sizing: border-box;
    padding: 15px 15px;
    font-family: kawaii stitch;
    border-top-right-radius: 50px;
    transition: all 0.5s ease;
}

.title:hover {
    transform: scale(110%) rotate(-4deg);
}

h1 {
    padding: 0;
    margin: 0;
    background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 0, 1) 33%, rgba(0, 192, 255, 1) 66%, rgba(192, 0, 255, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fff;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px 1px 0 black) drop-shadow(0 -1px 0 black) drop-shadow(1px 0 black) drop-shadow(1px 1px 0 white) drop-shadow(-1px 1px 0 white) drop-shadow(0 -1px 0 white) drop-shadow(1px 0 white);
    line-height: 40px;
}

.deco {
    grid-area: deco;
}

.logs {
    grid-area: logs;
}

.featured {
    grid-area: featured;
}

.neighbors {
    grid-area: neighbors;
}

.links {
    grid-area: links;
}

.deco2 {
    grid-area: deco2;
}

.column2 {
    width: 20%;
    height: 60%;
    background: linear-gradient(180deg, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 0, 1) 33%, rgba(0, 192, 255, 1) 66%, rgba(192, 0, 255, 1) 100%);
    border-radius: 80px;
    box-sizing: border-box;
    padding: 0.5em;
    border: 2px dashed white;
    box-shadow: inset 13px 0px 6px -10px rgb(66 66 66 / 56%), inset -13px 0px 6px -10px rgb(66 66 66 / 56%), inset 0px 13px 6px -10px #ffffff, inset 0px -13px 6px -10px rgb(66 66 66 / 38%);
}

.camera-lens {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-radius: 30%;
    background: radial-gradient(circle, #000 30%, #333 70%, #666 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


/* fake flash */

.camera-flash {
    position: absolute;
    top: 30px;
    right: 125px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #fff;
    box-shadow: inset 0 0 5px #ccc;
}

.flip-card {
    background-color: transparent;
    width: 300px;
    height: 600px;
    perspective: 1000px;
    position: fixed;
    right: 2em;
    bottom: 3em;
    transform: rotate(5deg);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

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

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: inset 13px 0px 6px -10px rgb(66 66 66 / 56%), inset -13px 0px 6px -10px rgb(66 66 66 / 56%), inset 0px 13px 6px -10px #ffffff, inset 0px -13px 6px -10px rgb(66 66 66 / 38%);
}

.flip-card-front {
    border: 2px solid rgba(0, 0, 0, 0.402);
    outline: 1px solid rgba(255, 255, 255, 0.608);
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: inset 0 10px 20px rgba(255, 255, 255, 0.6), /* top highlight */
    inset 0 -10px 20px rgba(0, 0, 0, 0.3), /* bottom shading */
    inset 10px 0 20px rgba(0, 0, 0, 0.2), /* left shadow */
    inset -10px 0 20px rgba(255, 255, 255, 0.1);
    /* right highlight */
    border-radius: 30px;
}

.flip-card-back {
    background: #fff;
    transform: rotateY(180deg);
    padding: 10px;
}


/* phone screen style */

.phone-screen {
    background: #f5f5f5;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 10px;
    overflow-y: auto;
    box-shadow: inset 0 0 10px #ccc;
    box-sizing: border-box;
}

.chat-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.chat-bubble {
    padding: 8px 12px;
    margin: 6px 0;
    border-radius: 16px;
    max-width: 80%;
    word-wrap: break-word;
}

.user {
    background: #ffcdf2;
    align-self: flex-end;
}

.bot {
    background: #d0f4ff;
    align-self: flex-start;
}

#chat-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.popup-inner {
    background: #fff;
    border: 4px dashed hotpink;
    padding: 30px;
    text-align: center;
    font-family: "Comic Sans MS", cursive;
    box-shadow: 0 0 20px rgb(255, 0, 128);
    border-radius: 20px;
}

.popup-inner p {
    font-size: 18px;
    margin-bottom: 15px;
}

.popup-inner button {
    background: rainbow;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(to right, red, orange, yellow, green, blue, violet);
    color: white;
    text-shadow: 1px 1px 2px #000;
}