@font-face {
    font-family: 'Roboto-Black';
    src: url('fonts/Roboto/Roboto-Black.ttf');
}

@font-face {
    font-family: 'Roboto-Thin';
    src: url('fonts/Roboto/Roboto-Thin.ttf');
}

body {
    background-color: rgb(207,240,247); *
    font-family: Roboto-Thin;
    font-size: 20px;
}

header {
    background-color: rgb(16,31,62);
    color: rgb(207,240,247);
    padding: 1rem 0;
    text-align: center;
}

header h1, h2, h3 {
    /* font-family: cursive; */
    font-family: Roboto-Black;
    margin: 0;
    font-size: 300%;
}

header h1.seperate {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    word-spacing: 0.3em;
    text-shadow: 1px 1px 3px red;
}

main h1, h2, h3{
    font-family: fantasy;
    margin: 0;
    font-size: 200%;
    text-shadow: 1px 1px 3px purple;
}

main h1 {
    font-size: 50px;
}

main h2 {
    font-size: 45px;
}

main h3 {
    font-size: 30px;
}


header img {
    width: 25%;
    height: auto;
}

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

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

/* nav ul li a */

nav ul li a{
    color: rgb(207,240,247);
    font-weight: bold;
}

nav ul li a:link{
    color: rgb(207,240,247);
    font-weight: bold;
}

nav ul li a:visited{
    color: lightcyan;
}
nav ul li a:hover{
    color: lightgray;
    text-decoration: underline;
}
nav ul li a:active{
    color: lightcyan;
}

/* main p a */

main p a:link{
    color: rgb(16,31,62);
    font-weight: bold;
}

main ul li a:visited{
    color: rgb(239, 224, 255);
}
main ul li a:hover{
    color: lightgray;
    text-decoration: underline;
}
main ul li a:active{
    color: lightcyan;
}

main {
    width: 80%;
    margin: 20px auto;
}

.container {
    display: flex;
    align-items: center; 
}

article img {
    width: 25%;
    height: auto;
}

article p {
    text-indent: 1cm;
}

footer {
    background-color: rgb(16,31,62);
    color: rgb(207,240,247);
    text-align: center;
    padding: 10px 0;
}

form {
    background-color: rgb(16,31,62);
    color: rgb(207,240,247);
    padding: 20px;
    margin-bottom: 20px;
}

form input[type=text], form input[type=email], form textarea {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
}

form input[type=submit] {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

form input[type=submit]:hover {
    background-color: #555;
}

.author{
    font-style: italic;
}

.emphasize{
    text-decoration: underline;
    line-height: 2em;
}

img, span {
    vertical-align: text-top;
    display: inline-block;
}

p.intro:first-letter{
    font-size: 200%;
}

/* added on 2023.4.23 */

/* Responsive Styles */
@media screen and (max-width: 768px) {
    header h1, h2, h3 {
        font-size: 150%; /* Smaller font size on smaller screens */
    }

    nav ul li {
        display: block; /* Stack the navigation items */
        margin-right: 0;
        margin-bottom: 10px;
    }

    main {
        width: 95%; /* Use more width on smaller screens */
    }

    header img, article img {
        width: 50%; /* Larger relative size for images */
    }

    .container {
        flex-direction: column; /* Stack elements vertically in flex container */
    }

    /* Adjust other elements as needed */
}

@media screen and (max-width: 480px) {
    /* Even more specific styles for very small screens */
    body {
        font-size: 18px; /* Slightly smaller font size */
    }

    header h1 {
        font-size: 120%;
    }

    /* Adjust layout and font sizes as needed */
}

