/* Author: Myla Havryliuk */
/* Date: 10/08/2024 */
/* File Name: styles_midterm.css */

/* CSS Reset */
body {
    background: url(../images/bgr6.jpg);    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    color: black;
    display: flex;
    flex-direction: column;
    font-family: 'Cinzel Decorative', cursive;
    margin: 0;
}

header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #522530;
    color: white;
    padding: 10px;
    height: 100px;
}
.parallax{
   background: url(../images/bgr6.jpg);
   height: 100vh;
   background-repeat: no-repeat;
   background-size: cover;
   background-attachment: fixed;
   background-position:center;
   }
h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.legacy-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

h2, h3 {
    font-weight: bold;
    margin-top: 20px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
    margin-right: 15px;
}

.legacy-content ul {
    padding-left: 20px;
    line-height: 1.6;
}

strong {
    font-weight: bold;
}
.logo {
    width: 100px;
    height: auto;
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 50px;
    margin-left: 0;
}
/* Style rules for mobile viewport */


/* Style rules to show mobile class and hide tab-desk class */
.mobile {
    display: block;
}

.tab-desk {
    display: none;
}

/* Style rules for header area */
.mobile h1, .mobile h3 {
    padding: 1%;
    text-align: center;
}

.mobile h1 {
    font-family: 'Cinzel Decorative', cursive;
}

.mobile h3 {
    font-family: 'Cormorant Garamond', cursive;
}

nav {
    position: absolute;
    top: 120px;
    left: 0;
    width: 150px;
    background-color: #471925;
    overflow-y: auto;
}

nav ul {
    list-style-type: none;
    padding: 0;
    font-size: 20px;
}

nav ul li {
    padding: 50px;
    text-align: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

nav ul li:hover {
    background-color: #777;
}

main {
    font-family: 'Cormorant Garamond', cursive;
    margin-left: 220px;
    padding: 20px;
    font-size: 20px;
}
 a {
    font-family: 'Cormorant Garamond', cursive;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
 }
 a:hover {
     color: white;
     text-decoration: none;
 }
 .link {
    color: #4d3319;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

table {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 5px;
    padding-top: 10px;
}
table td {
width: 25%;
height: 130px
font-size: 10px;
padding: 5px;
}
td[colspan] {
width: auto;
}
td[rowspan] {
height: auto;
}
td img {
margin-bottom: 10px;
}
td a {
display: block;
padding-top: 10px}

.center-image {
    text-align: center;
    vertical-align: middle;
    background-color: #f0f0f0;
    font-size: 18px;
}
.center-cell {
padding: 0;
}
.center-image img {
width: 100%;
height: 100%;
object-fit: cover;
margin: 0 auto;
}
.td img {
max-width: 100px;
height: auto;
display: block;
margin: 0 auto;
}
table {
.cellspacing: 5px;
.cellpadding: 10px;
}

.right-text {
    margin-top: 20px;
    max-width: 600px;
}

.right-text p {
    font-size: 16px;
    line-height: 1.5;
}
.content {
display: flex;
align-items: center;
margin-bottom: 20px
}
.content p {
margin-right: 20px
flex: 1;
}
.content img {
max-width: 100%;
height: auto;
}

/* Text content */
.text-content {
    max-width: 600px; 
}

.text-content h2 {
    margin-bottom: 10px; 
}

.text-content p {
    line-height: 1.5; 
}
.aside {
    text-align: center; 
    font-size: 1.5em; 
    font-weight: bold; 
    text-shadow: 4px 4px 10px #c5a687; 
}
/* Basic form styling */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.submit-button {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #4d3319;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #c5a687;
}
footer {
    width: 100%;
    text-align: center; 
    padding: 20px;
    background-color:  #522530;
    color: white;
    position: relative; 
    bottom: 0;
    left: 0;
}

footer p {
    margin: 0;
    text-align: center;
    }

/* Media Query for Tablet Viewport */
@media screen and (min-width: 620px) and (print) {
    /* Tablet Viewport: Show tab-desk class, hide mobile class */
    .tab-desk {
        display: block;
    }

    .mobile {
        display: none;
    }

    /* Tablet Viewport: Style rules for nav area */
    nav li {
        border-top: none;
        display: inline-block;
        font-size: 1.25em;
    }

    nav li a {
        padding: 0.5em;
    }
        /* New styles for grid layout */
    .grid {
        display: grid; 
        grid-template-columns: repeat(2, 1fr); /
        grid-gap: 10px; 
    }

    aside {
        grid-column: 1 / span 2; 
    }
}
/* Media Query for Desktop Viewport */
@media screen and (min-width: 1000px) and (print) {
    /* Desktop Viewport: Style rules for nav area */
    nav li {
        font-size: 1.5em;
    }

    nav li a {
        padding: 0.5em 1.5em; 
    }

    nav li a:hover {
        color: #2a1f14;
        background-color: #000;
    }

    /* Desktop Viewport: Style rules for main content */
    #info ul {
        margin-left: 5%;
    }
     /* New styles for grid layout */
    .grid {
        grid-template-columns: repeat(3, 1fr); 
        grid-gap: 30px; 
    }

    aside {
        grid-column: 1 / span 3; 
        font-size: 2em; 
    }
}
/* Media Query for Large Desktop Viewports */
@media screen and (min-width: 1921px) {
    /* Style rule for body element */
    body {
        background: linear-gradient(to bottom, #000, #ffffff); 
    }

    /* Style rule for #wrapper */
    #wrapper {
        width: 1920px; 
        margin: 0 auto; 
    }

    /* Style rule for main */
    main {
        background: url(../images/bgr6.jpg);
    }
        /* New styles for grid layout */
    .grid {
        grid-template-columns: repeat(4, 1fr); 
    }

    aside {
        grid-column: 1 / span 4; 
        font-size: 3em; 
    }
}
/* Media Query for Print */
@media print {
    /* Style rules for print layout can go here */
    body {
        color: black;
    }

    #wrapper {
        width: 100%; 
        margin: 0; 
    }

    nav, footer {
        display: none; 
    }
}