/* styles.css */

/* General Styles */
@font-face {
    font-family: 'Cinzel';
    src: url('CinzelDecorative-Regular.ttf') format('truetype');
    /* Add additional formats if needed, like format('woff') */
}

@font-face {
    font-family: 'SourceSans';
    src: url('SourceSans3-VariableFont_wght.ttf') format('truetype');
    /* Add additional formats if needed, like format('woff') */
}

/* Reset Styles */
body, h1, h2, h3, p, button {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'SourceSans', sans-serif;
    color: white;
    background-color: #161616;
}

/* Heading Styles */
h1, h2, h3 {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

h1 {
    font-family: 'Cinzel', sans-serif;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}

h2 {
    font-family: 'Cinzel', sans-serif;
    color: #ac8de6;
    background-color: #161616;
    text-transform: uppercase;
}

h3 {
    font-family: 'Cinzel', sans-serif;
    color: white;
    background-color: #161616;
    text-transform: uppercase;
    font-size: small;
}

/* Body Styles */
#B1 {
    font-family: 'SourceSans', sans-serif;
    color: white;
    padding: 20px;
    margin: 0 auto;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Button Styles */
button {
    display: block;
    margin: 0 auto;
    background-color: #ac8de6;
    color: white;
    font-size: medium;
    padding: 10px 20px;
}

/* Logo Styles */
#logo {
    display: block;
    margin: 0 auto;
    padding-top: 50px;
}

/* Container Styles */
.about-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Image Styles */
.about-container img {
    max-width: 300px;
    height: auto;
    margin-right: 20px;
}

/* Text Styles */
.about-text {
    font-family: 'SourceSans', sans-serif;
    color: white;
    text-align: left;
    max-width: 400px;
}

header, footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    margin-right: 10px;
}

.social-media img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
#toTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: #ac8de6;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
}

#toTopBtn:hover {
    background-color: #ac8de6;
}

/* Media Query for Small Screens (Mobile Phones) */
@media screen and (max-width: 600px) {
    h1, h2, h3 {
        font-size: 14px;
    }

    .about-text,
    .about-container img {
        max-width: 100%;
        margin-right: 0;
    }

    .about-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
