* {
    box-sizing: border-box; /* this means that when you define the width and height of a box, it will INCLUDE padding. */
    color: #e8e8e8;
}

body {
    margin: 0;
    font-family: Garamond, serif;
    background-color: #040529;
    background-image: url('pix_n_clipz/beautiful3.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-size: 2.25rem;
    font-weight: bold;
    margin: 0 0 10px 0;
}

p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.divider {
    background-color: #3f0d4d;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 40px;
}

a,
a:visited,
a:hover,
a:active {
    text-decoration: none; 
}


/* v contact form v */
.contact {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    padding: 20px;
    max-width: 800px;
    font-family: Garamond, serif;
    font-weight: bold;
    font-size: 14px;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

input[type=text], select, textarea {
    font-family: Garamond, serif;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 12px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit] {
    background-color: #3f0d4d;
    font-family: Garamond, serif;
    padding: 10px;
    border: none;
    border-radius: 12px;
    font-size: 1.8rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

input[type=submit]:hover {
    background-color: #9835b4;
    transform: scale(1.03);
}



/* v navigation buttons v */
.navigation_buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 20px;
}

.navigation_buttons div {
    background-color: #3f0d4d;
    border-radius: 12px;
    font-size: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.navigation_buttons div a {
    display: block;
    padding: 12px;
    color: #e8e8e8;
    text-decoration: none;
}

.navigation_buttons div:hover {
    background-color: #9835b4;
    transform: scale(1.03);
}



/* v logo v */
.logo img {
    display: block;
    margin: 20px auto;
    max-width: 150px;
    height: auto;
}



/* v footer v */
.footer {
    position: relative;
    width: 100%;
    margin-top: auto; /* pushes footer to bottom if page content is short */
}

.footer img {
    display: block;
    width: 100%;
    height: auto;
}

.footer__text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    text-align: center;
    white-space: nowrap;
    text-shadow: 
        0 0 5px rgba(232, 232, 232, 0.8),
        0 0 10px rgba(232, 232, 232, 0.8),
        0 0 20px rgba(232, 232, 232, 0.8);
}



/* v this is the desktop version v */
@media (min-width: 768px) {
    .navigation_buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .navigation_buttons div {
        max-width: 250px;
        width: 100%;
    }

    .logo img {
        max-width: 200px;
        max-height: 200px;
        margin: 20px 0 0 40px; /* snaps logo back to top-left corner on pc */
    }



    .introduction {
        padding: 30px;
        padding-top: 2px;

        border-radius: 12px;
        font-size: 1.8rem;

        height: auto;
        width: 600px;
        margin: auto;
    }
}