/* Global Styles */
body {
    font-family: 'Garamond', serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}


a {
    text-decoration: none;
    color: #7b68ee;
    transition: color 0.3s;
}

a:hover {
    color: #9370DB;
    text-decoration: underline;
}

/* Navigation Styles */
nav {
    background-color: #fff;
    border-bottom: 2px solid #7b68ee;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-logo-title {
    display: flex;
    align-items: center;
    padding: 10px 30px;
}

.nav-logo-title img {
    width: 50px;
    margin-right: 15px;
}

.nav-logo-title a {
    font-size: 24px;
    font-weight: bold;
    color: #7b68ee;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

ul li {
    margin: 0 15px;
}

ul li a {
    font-size: 18px;
    font-family: 'Garamond', serif;
    padding: 15px 0;
    position: relative;
}

ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #9370DB;
    transition: width 0.3s;
}

ul li a:hover::after {
    width: 100%;
}

/* Header Styles */
#header {
    background-image: url('violetheader.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 200px 0;
    position: relative;
    z-index: 1;
}

#header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(123, 104, 238, 0.6);
    z-index: -1;
}

.header-texts h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-texts h3 {
    font-size: 28px;
    font-style: italic;
    margin-bottom: 30px;
    font-family: 'Garamond', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-texts p {
    font-size: 20px;
    line-height: 1.6;
    font-family: 'Garamond', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Content Styles */
#content {
    padding: 100px;
}

.content h2 {
    color: #7b68ee;
    font-size: 32px;
    margin-bottom: 30px;
    font-family: 'Cinzel', serif;
    position: relative;
    padding-bottom: 10px;
}

.content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #9370DB;
}

.content p {
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Garamond', serif;
}

/* Article Styles */
#articles {
    background-color: #f0f0f0;
    padding: 100px;
}

.row-first,
.row-second {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.article {
    background-color: #fff;
    padding: 40px;
    margin-right: 30px;
    flex-basis: calc(33.33% - 20px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.article:last-child {
    margin-right: 0;
}

.article:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(123, 104, 238, 0.4);
    transition: background-color 0.3s;
    z-index: 1;
}

.article:hover::before {
    background-color: rgba(123, 104, 238, 0.6);
}

.article h3,
.article p,
.article a {
    position: relative;
    z-index: 2;
}

.article-long {
    background-color: #fff;
    padding: 40px;
    margin-right: 30px;
    flex-basis: calc(66.66% - 20px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    
}}

.article-long:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.article-long::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(123, 104, 238, 0.4);
    transition: background-color 0.3s;
    z-index: 1;
}

.article-long:hover::before {
    background-color: rgba(123, 104, 238, 0.6);
}

.article-long h3,
.article-long p {
    position: relative;
    z-index: 2;
}

/* Creativity Styles */
#creativity {
    background-color: #f0f0f0;
    padding: 100px;
}

.creativity-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mini-one,
.mini-two,
.mini-three,
.mini-four {
    background-color: #fff;
    padding: 40px;
    margin-bottom: 30px;
    flex-basis: calc(50% - 15px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 20px;
    
}

.mini-one::before,
.mini-two::before,
.mini-three::before,
.mini-four::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(123, 104, 238, 0.4);
    transition: background-color 0.3s;
    z-index: 1;
}

.mini-one:hover::before,
.mini-two:hover::before,
.mini-three:hover::before,
.mini-four:hover::before {
    background-color: rgba(123, 104, 238, 0.6);
}

.mini-one .mini-content,
.mini-two .mini-content,
.mini-three .mini-content,
.mini-four .mini-content {
    flex-basis: 50%;
    padding: 0 30px;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.mini-one:hover,
.mini-two:hover,
.mini-three:hover,
.mini-four:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Footer Styles */
footer {
    background-color: #7b68ee;
    color: #fff;
    padding: 100px;
    text-align: center;
}

.footer-logo h3 {
    font-size: 32px;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.footer-logo p {
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Garamond', serif;
}

.footer-form p {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Garamond', serif;
}

.footer-form label {
    font-size: 16px;
    color: #fff;
    font-family: 'Garamond', serif;
}

.footer-form select,
.footer-form input[type="text"],
.footer-form input[type="radio"] {
    margin-bottom: 15px;
    font-family: 'Garamond', serif;
    padding: 10px;
    border: none;
    border-radius: 4px;
}

.footer-form button {
    background-color: #fff;
    color: #7b68ee;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Garamond', serif;
    border-radius: 4px;
}

.footer-form button:hover {
    background-color: #9370DB;
    color: #fff;
}

.footer-credit h3 {
    font-size: 16px;
    margin-top: 30px;
    font-family: 'Garamond', serif;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-logo-title {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .nav-logo-title img {
        margin-bottom: 10px;
    }

    .row-first,
    .row-second {
        flex-direction: column;
    }

    .article,
    .article-long {
        flex-basis: auto;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .mini-one,
    .mini-two,
    .mini-three,
    .mini-four {
        flex-basis: auto;
        flex-direction: column;
    }

    .mini-one .mini-image,
    .mini-two .mini-image,
    .mini-three .mini-image,
    .mini-four .mini-image {
        flex-basis: auto;
        height: 200px;
        border-radius: 20px 20px 0 0;
    }

    #content,
    #articles,
    #creativity,
    footer {
        padding: 60px;
    }
}

/* Images */
img[alt="Third image"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/9/9d/Anime_icon.jpg/revision/latest?cb=20230622020740);
    width: 300px;
    height: 400px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

img[alt="Four image"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/5/57/Vol1Chap4.1.png/revision/latest?cb=20180206123043);
    width: 300px;
    height: 400px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

img[alt="Second image"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/a/ae/Violet_Evergarden_Volume_1.png/revision/latest?cb=20221127154643);
    width: 300px;
    height: 400px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

img[alt="First image"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/1/1c/Violet_Evergarden_Volume_2.png/revision/latest?cb=20221127155932);
    width: 300px;
    height: 400px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

img[alt="Article 1"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/a/ae/Violet_Evergarden.png/revision/latest?cb=20180209195829);
    width: 200px;
    height: 150px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

img[alt="Article 2"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/f/fb/Violet_Episode_7.png/revision/latest?cb=20180224132132);
    width: 200px;
    height: 150px;
    display: block;
    position: relative;
    
    top: 0;
    left: 0;
}

img[alt="Article 3"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/6/66/Luculia_Violet_hug.png/revision/latest?cb=20180210231124);
    width: 200px;
    height: 150px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

img[alt="Article 4"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/f/f5/Violet_evergarden_witchcraft.gif/revision/latest?cb=20180427085324);
    width: 400px;
    height: 300px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

img[alt="Logo"] {
    content: url(https://static.wikia.nocookie.net/violet-evergarden/images/4/4e/Vol2Chap7.png/revision/latest?cb=20180204213402);
    width: 50px;
    height: 50px;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    border-radius: 50%;
}
