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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', serif;
    color: #010004;
    background: #fffef9;
    overflow-x: auto;
}

span {
    color: #C291F2;
    -webkit-text-stroke: .2px #0b0010;
}

/* Nav */
.logo {
    cursor: pointer;
}

/* Header:Main */
header {
    border-bottom: 1px solid #512888;
    padding: 0.6rem 0 0.3rem 0;
    position: relative;
}

h1 {
    font-size: 3rem;
}

ul {
    list-style: none;
}

a {
    font-size: 1.2rem;
    font-weight: 300;
    text-decoration: none;
    color: #070009;
    cursor: pointer;
}

p {
    width: 80%;
    margin: 0 auto;
}

button,
input,
textarea {
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
}

/* Header:classes & ids */
.navActive {
    color: #C291F2;
}

.container {
    width: 93%;
    max-width: 1400px;
    margin: auto;
}

.flexDisplay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

#villa {
    max-width: 100%;
    margin: 2rem auto;
    text-align: center;
}

/* Nav Close */
.navClose {
    display: none;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    background: url(menu.svg)no-repeat center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Hero Image */
.right img {
    filter: grayscale(100%);
}

/* Villa Plaza content*/
.villa-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 4rem auto;
}

.sketch {
    flex: 1;
    min-width: 280px;
}

.sketch-villa {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sketch img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 300px;
}

.text {
    text-align: center;
}

.final-logo img {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-top: 1rem;
}

/* Sunset Photos */
.ptp-row {
    overflow: auto;
}

.ptp-colodds {
    width: 25%;
    margin-left: 23%;
    float: left;
}

.ptp-colevens {
    width: 25%;
    margin-right: 23%;
    float: right;
}

.sunset-photo {
    width: calc(100% - 5px);
    height: auto;
    border-radius: 10px;
    transition: 0.3s ease;
}

.sunset-photo:hover {
    transform: scale(1.02);
}

.sunsetinfo-container {
    outline: 1px #010004 solid;
    outline-style: groove;
    width: 53%;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
}

figure {
    margin: 0 auto;
}

figcaption {
    text-align: center;
    font-size: 20px;
    padding: 4px;
}

/* Blog */
.blog-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-content {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.blog-posts {
    flex: 2;
    min-width: 300px;
}

.blog-sidebar {
    flex: 1;
    min-width: 250px;
}

.blog-post {
    background: rgba(226, 237, 210, 0.2);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-post h2 {
    color: #512888;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.blog-post h3 {
    color: #512888;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.5rem;
}

.blog-post p {
    width: 100%;
    margin: 1rem 0;
    line-height: 1.6;
}

.blog-post ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.blog-post li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0d6f0;
    font-size: 0.9rem;
    color: #666;
}

.blog-sidebar img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-content {
    background: rgba(226, 237, 210, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-content h3 {
    color: #512888;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.sidebar-content p {
    width: 100%;
    margin-bottom: 1rem;
}

.sidebar-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.sidebar-content li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Stellar Vince:time */
.video-wrapper {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #001;
    z-index: 1000;
    padding: 0;
    margin: 0;
}

.video-wrapper.video-wrapper.fullscreen video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-wrapper {
    justify-content: center;
    display: flex;
    flex-direction: row;
    width: 60%;
    height: auto;
}

.time-image {
    width: 80%;
    height: auto;
    border-radius: 10px;
}

.time-side,
.time-side2 {
    width: 60%;
    height: auto;
    padding: 15px;
    border-radius: 20px;
}

.vidtoimage-container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    text-align: center;
}


/* Showcase:index */
#showSect {
    height: 100vh;
}

#showSect .left h1 {
    font-size: 5.4rem;
    line-height: 100px;
}

#showSect .left span {
    font-size: 6rem;
    text-shadow: 0 0 3px #C291F2;
}

#showSect p {
    font-size: 1rem;
    font-weight: 300;
    margin: 1.5rem 0;
    width: 60%;
    -webkit-text-stroke: .2px #dda9f5;
}

#showSect .frame {
    border: 3px solid #C291F2;
    position: relative;
    margin-bottom: 5rem;
    margin-right: 1rem;
}

#showSect .frame::before,
#showSect .frame::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 18px solid #05379a;
    z-index: -1;
}

#showSect .frame::after {
    border: 21px solid #C291F2;
    z-index: -2;
}

img {
    display: block;
}

/* Buttons */
.btns {
    margin-right: 3rem;
}

.btns button {
    margin-right: 3rem;
}

.btns a {
    font-size: 1.5rem;
    color: #F2EFEB;
    background: none;
    border: none;
    padding: 0.6rem 1.2rem;
    position: relative;
    transform: translate(-2%, -8%);
    transition: transform 0.3s ease;
}

.btns a::before,
.btns a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 6px;
    z-index: -1;
}

.btns a::after {
    transform: translate(-47%, -34%);
    background: #512888;
    z-index: -2;
    transition: transform 0.3s ease;
}

.btns a:hover {
    transform: translate(0, 0);
}

.btns a:hover::before {
    background: #1f012d;
}

.btns a:hover::after {
    transform: translate(-50%, -50%);
}

.btns a:active {
    color: aliceblue;
}

/* About Me:index */
#aboutSect {
    text-align: center;
    margin-bottom: 6rem;
}

section .heading {
    font-size: 4rem;
    margin: 1rem 0;
}

.box {
    width: 22%;
    height: 200px;
    background: #fffdff;
    margin: 3rem 0;
}

.box .circle {
    width: 60px;
    height: 60px;
    background: #0b0010;
    border-radius: 50px;
    position: relative;
    margin: 1.5rem auto;
}

.box .circle div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: #C291F2;
    border-radius: 50px;
    transition: box-shadow 0.5s;
}

.box:hover .circle div {
    box-shadow: 0 0 15px #C291F2;
}

.box h1 {
    font-size: 1.5rem;
}

/* Form prevent spam:index  */
.checkbox {
    display: none;
}

/* Work:index */
.projects {
    display: grid;
    grid-template-columns: auto auto auto;
    margin: 6rem 0;
}

.project {
    width: 90%;
    padding: 2rem;
    margin: 1.5rem 1rem;
    background: rgb(237, 236, 232);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.project img {
    width: 100%;
    opacity: .9;
    border-radius: 10px;
    transition: scale 0.3s, opacity 0.3s;
}

.project:hover img {
    opacity: 1;
    scale: 1.1;
}

/* Contact me:index */
#contactSect {
    text-align: center;
}

form {
    flex-wrap: wrap;
    width: 80%;
    margin: 2rem auto;
    margin-bottom: 6rem;
}

input,
textarea {
    width: 46%;
    padding: 1rem 0.2rem;
    font-size: 1.2rem;
    color: #0e0e0e;
    border-bottom: 1px solid #F2EFEB;
}

input:focus,
textarea:focus {
    border-color: #512888;
}

form .btns {
    margin: auto;
    margin-top: 1.5rem;
}

form button {
    margin: 0;
}

/* Footer */
footer {
    background: #F2EFEB;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.smallContainer {
    max-width: 500px;
    margin: auto;
}

footer ul {
    margin-bottom: 2.5rem;
}

footer ul:nth-child(2) {
    max-width: 300px;
    margin: auto;
}

footer ul:nth-child(2) li {
    width: 40px;
    height: 40px;
    background: #F2EFEB;
    border-radius: 50px;
    padding: 10px;
    cursor: pointer;
}

footer .container {
    text-align: right;
}

footer .container a {
    font-size: 0.7rem;
}

/* Media Queries */
@media (max-width: 1200px) {

    header h1 span {
        font-size: 3rem;
    }

    #showSect .left h1 span {
        font-size: 4.6rem;
    }

    #showSect p {
        width: 90%;
    }

    #showSect img {
        width: 90% auto;
    }

    #workSect h1 span {
        font-size: 4rem;
    }

    #contactSect h1 span {
        font-size: 4rem;
    }

    /* Villa */
}

@media (max-width: 1024px) {
    #showSect {
        flex-direction: column-reverse;
        margin: 6rem auto;
    }

    #showSect .frame {
        margin-right: 0;
    }

    .btns {
        margin-top: 4rem;
    }

    .info {
        flex-wrap: wrap;
        margin: 3rem 2rem;
    }

    .info .box {
        width: 45%;
        margin: 0;
    }

    .projects {
        grid-template-columns: repeat(2, 1fr);
    }

    footer div:nth-child(2) {
        margin-top: 2rem;
        text-align: center;
    }

    #showSect {
        height: unset;
    }

    /* Villa */
}

@media (max-width: 768px) {
    #showSect .frame {
        margin-bottom: 1rem;
    }

    #showSect img {
        width: 300px;
    }

    .info .box {
        width: 100%;
    }

    .btns button:nth-child(4) {
        margin-top: 4rem;
    }

    .projects {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 3rem;
    }

    input {
        width: 100%;
    }

    footer ul {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .navClose {
        display: block;
        z-index: 100;
        transition: all 0.3s;
    }

    .navCloseTrigger {
        background: url(/menu.svg)no-repeat center;
    }

    header ul {
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(100%);
        width: 240px;
        padding-top: 8rem;
        z-index: 1;
        transition: transform 0.3s;
    }

    .ulOpen {
        transform: translateX(0);
    }

    header ul::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 240px;
        height: 100vh;
        background: #faf9ff;
        z-index: -1;
    }

    /* Villa Plaza */
    .villa-container {
        flex-direction: column;
        align-items: center;
    }

    .info,
    .sketch {
        text-align: center;
    }

    .text p {
        text-align: left;
    }

    /* Time */
    .image-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .time-image,
    .time-side,
    .time-side2 {
        width: 90%;
        padding: 10px;
    }

    /* Sunset Photo */
    .ptp-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
    }

    .ptp-colevens,
    .ptp-colodds {
        width: 100%;
        margin: 0;
        float: none;
    }

    .sunset-photo {
        width: 90%;
        max-width: 500px;
        margin: 10px auto;
        display: block;
    }

    /* Blog */
    .blog-content {
        flex-direction: column;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }

    .blog-post {
        padding: 1.5rem;
    }
}