@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Flex display for header */

header {
    display: flex;
}

/* Header image dimensions */

header img {
    height: 80px;
    width: auto;
}

/* Font choice and background colour for main body */

body {
    margin-left: 30px;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #00ffff;
}

/* Set font size for text paragraph */

p {
    font-size: medium;
}

/* Move the error text to center screen */
.error_404{
    text-align: center;
}

/* General Nav bar styling  */
.nav-bar {
    overflow: hidden;
    border-style: solid;
    border-width: 5px;
    margin: 5px;
    border-color: rgb(255, 0, 0);
    text-align: right;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

/* Nav bar anchor styling  */
.nav-bar a {
    float: left;
    font-size: 25px;
    padding: 10px 10px;
    text-align: center;
    color: #23274d;
    text-decoration: none;
}

/* Lighten nav bar anchor colour on mouse hover  */
.nav-bar a:hover {
    background-color: rgb(1, 139, 237);
    color: #00ffff;
}

/* Styling for Nav bar list items */
.nav-bar li {
    list-style: none;
    background-color: #00ffff;
    text-align: center;
    color: rgb(255, 0, 0);
    padding: 0;
    margin: 0;
    display: inline-block;
    flex-direction: column;
}


/* Media responsiveness styling */

@media only screen and (max-width: 600px) {
    .gallery-items {
        flex-direction: column;
        align-items: center;
    }

    .socials li {
        padding: 0 5px;
    }
}

/* Styling rules for game image gallery */

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    height: auto;

}

.gallery-items {
    display: flex;
    flex-direction: row;
    width: 90%;
}

.gallery-items img {
    width: 50%;
    height: auto;
    padding-right: 50px;
    padding-bottom: 10px;
}

.gallery-items p {
    margin: auto;
    padding: 0;
}

div p {
    
    width: 320px;
    text-align: justify;
}

/* Specific styling for media on the music page, using figcaptions */

.figure-images {
    width: 50%;
    height: auto;
    padding-right: 50px;
    padding-bottom: 10px;
}

/* Hero image */

/* Styling and positional information for the hero image */

#hero-larger {
    height: 600px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#hero-image {
    height: 600px;
    width: 100%;
    background: url("../images/Commodore_Hero_Image.jpg") no-repeat center center;
    animation-name: hero-zoom-in;
    animation-duration: 8s;
    animation-fill-mode: forwards;
}

/* Animation for the size of the hero image as it zooms in */

@keyframes hero-zoom-in {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.5);
    }

}

/* Styling for the text within the hero image, under the zooming image */

#hero-text h2 {
    color: white;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    font-size: 120%;
    letter-spacing: 6px;
    padding-top: 25px;
    padding-left: 10px;
    width: 200px;
    height: 120px;
    bottom: 40px;
    right: 140px;
    position: absolute;
    background-color: rgba(0, 255, 255, 0.5);



}

hr {
    border-top: 3px solid #00ffff;
    width: 100%;
    margin: 5px 0;

}

/* Contact form */

/* styled to match footer and header colors */
#contact-form {
    margin-top: 50px;
    border-radius: 5px;
    background-color: rgb(1, 139, 237);
    padding: 20px;
    margin-bottom: 20px;
    color: black;
}

/* styling for form elements */
input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical
}

/* styled to give 3d effect on contact form submit button */
#contact-form button[type=submit] {
    background-color: white;
    padding: 12px 20px;
    border: solid;
    border-style: groove;
    border-radius: 4px;
    cursor: default;
}

/* apply different color when hovered over with mouse */
button:hover {

    color: green;
}

#contact-form h2 {
    color: black;

}

#contact-thank-you {
    margin-top: 50px;
    border-radius: 5px;
    background-color: rgb(1, 139, 237);
    padding: 20px;
    margin-bottom: 20px;
    color: black;
}

#contact-thank-you a {
    color: lightgrey;
}

#contact-thank-you a:visited {
    color: pink;
}

#contact-thank-you a:hover {
    color: lightgreen;
}

.text-center {
    text-align: center;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.text-center p {
    text-align: inherit;
}

footer {
    height: 200px;
}

.socials li {
    display: inline;
    padding: 0 10px;
}

/* Styling for the social media icons in the footer */

.socials i {
    font-size: 300%;
    margin: 5%;
    padding: 2%;
    color: black;
}