* {
    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;
}

h1,
h2 {
    font-weight: bold;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

p {
    font-size: 18px;
    line-height: 1.2;
    word-spacing: 1.2px;
}



.divider {
    background-color: #3f0d4d;
    padding-top: 2px;
    padding-bottom: 15px;
    font-size: 1.8rem;
    text-align: center;
}



.introduction {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    padding-top: 180px;
}

.introduction > img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    
    /* cropping */
    width: 565px;
    height: 250px;
    object-fit: cover;
    object-position: top;

    z-index: 1;
    margin-top: 10px;
}

.introduction__box {
    background-color: #3f0d4d;
    
    padding: 30px;
    padding-top: 2px;
    
    border-radius: 12px;
    font-size: 1.8rem;

    height: auto;
    width: auto;
    margin: 30px;

    position: relative;
    z-index: 2;
}

.introduction__box--picture {
    overflow: hidden;
    object-fit: cover;
}

.introduction__box--picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}



.footer {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.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;

    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);
}

a,
a:visited,
a:hover,
a:active {
    text-decoration: none; 
}



.navigation_buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.navigation_buttons div {
    background-color: #3f0d4d;
    padding: 10px;
    border-radius: 12px;
    font-size: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.navigation_buttons div:hover {
    background-color: #9835b4;
}



.logo img {
    margin-top: 20px;
    margin-left: 20px;

    max-width: 120px;
    max-height: 120px;
}



/* 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;
    }



    .introduction {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding-top: 0;
    }

    .introduction img {
        position: relative;
        left: auto;
        transform: none;
        
        width: 600px;
        height: auto;
        object-fit: fill;
        object-position: center;

        flex-shrink: 0;
        margin-right: -180px;
        z-index: 1;
    }

    .introduction__box {
        padding: 30px;
        padding-top: 2px; 
        border-radius: 12px;
        font-size: 1.8rem;

        height: auto;
        width: 600px;
        margin: 30px;

        position: relative;
        z-index: 2;
    }

    .introduction__box img {
        max-width: 100%;
        max-height: 100%;
    }
}