@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda&family=Open+Sans&family=Oswald:wght@300&family=Source+Serif+4&display=swap');
/* 
  font-family: 'Oswald', sans-serif; 
  font-family: 'Bodoni Moda', serif;
  font-family: 'Open Sans', sans-serif;
  font-family: 'Source Serif 4', serif;
*/

:root {
    --black: #000000;
    --green: #d0f1db;
    --nav-bar: #f8f9fa;
    --nav-link: #343a40;
    --nav-link-hover: #828181; 
    --article-background: #f7f7f7;
    --light-text: #535353;
    --light-grey: #f7f7f7;
}

/* ----------------------------------------------
                    Nav Bar Styling
------------------------------------------------*/

body {
    margin: 0;
}

a {
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 5em;
    background-color: var(--nav-bar);
}

nav a {
    color: var(--nav-link);
}

nav ul li {
    list-style-type: none;
}

nav ul li a:hover {
    color: var(--nav-link-hover);
}

.collapse {
    display: flex;
    justify-content: space-between;
    flex-grow: .5;
}

.brand {
    padding-top: 3px;
    padding-left: 10px;
    font-size: 32px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
}

.nav-link-container {
    display: flex;  
}

.nav-link {
    padding: 0 20px 0 20px;
    font-size: 19px;
    font-family: 'Bodoni Moda', serif;
}

.icon-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.icon {
    font-size: 18px;
    padding: 0 20px 0 20px;
    margin: 5px;
}

.toggle {
    font-size: 25px;
    background-color: transparent;
    border: none;
    position: absolute;
    right: 0;
    padding: 15px;
    margin-right: 13px;
    display: none;
}


/* ----------------------------------------------
                Main Site Styling
------------------------------------------------*/

.container {
    max-width: 1240px;
    padding: 0 15px 0 15px;
    margin: auto;
    margin-bottom: 5em;
  }

.grid {
    margin: 0 auto;
}

.grid-item {
    width: calc(33.333333% - 20px);
    margin-bottom: 2em;
    text-align: center;
}

.big-item {
    width: calc(66.66666% - 20px);
    margin-bottom: 2em;
    text-align: center;
}

.cover-img {
    width: 100%;
}

.cover-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 22px;
    color: var(--nav-link);
}

.vid-container {
    display: flex;
    justify-content: center;
    margin: 15px 0 50px 0;
}

.img-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 15px 0 15px 0;
}

.four-images {
    width: calc(25% - 10px);
    padding: 5px;
}

.three-images {
    width: calc(33.333333% - 10px);
    padding: 5px;
}

.two-images {
    width: calc(50% - 10px);
    padding: 5px;
}

.one-image {
    width: calc(100% - 10px);
    padding: 5px;
}

.article-container {
    display: flex;
    flex-direction: column;
    background-color: var(--article-background);
    padding: 0 20px 0 20px;
}

.article-title {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-grey);
}

.article-header-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-top: 50px;
    padding-bottom: 60px;
  }

.content-text p{
    font-size: 17px;
    font-family: 'Bodoni Moda', serif;
}

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

pre {
    white-space: pre-wrap;
}

.big-link {
    align-self: center;
    border: 1px solid var(--black);
    padding: 30px;
    margin: 40px 10px 20px 10px;
    width: 200px;
}

.big-link:hover {
    background-color: var(--green);
}

.date-text {
    margin-top: 6px;
    font-size: 13px;
    font-family: 'Bodoni Moda', serif;
    color: var(--light-text);
}

.l-pad {
    padding-left: 10px;
}

/* ----------------------------------------------
                Footer Styling
------------------------------------------------*/

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 1em;
}

.col-2 {
    max-width: 45%;
    padding: 0 15px 0 15px;
}

footer {
    padding-top: 4em;
}

.footer-container {
    max-width: 900px;
    margin: auto;
}

.featured-post {
    display: flex;
}

.featured-text {
    font-family: 'Bodoni Moda', serif;
    font-size: 19px;
    color: var(--nav-link);
}

.featured-body {
    font-size: 16px;
}

.featured-pic {
    height: 120px;
    width: 120px;
    object-fit: cover;
}

.contact-body {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.email {
    gap: 8px;
    color: var(--light-text);
}

.copyrights {
    border-top: 2px solid var(--light-grey);
  }

.copyright-text {
    text-align: center;
    font-family: 'Bodoni Moda', serif;
    color: var(--light-text);
}


/* ----------------------------------------------
                Media Queries
------------------------------------------------*/

@media(max-width: 1290px) {
    .movie {
        height: 486px;
        width: 864px;
    }
}

@media(max-width: 960px) {
    nav {
        flex-direction: column;
    }
    
    .nav-link-container {
        padding: 0;
    }

    .icon-container {
        flex-direction: row;
        align-items: center;
    }

    .nav-link {
        padding: 0 10px 0 10px;
    }

    .icon {
        padding: 0 10px 0 10px;
    }

    .toggle {
        display: initial;
    }

    .collapse {
        max-height: 0;
        overflow: hidden;
        transition: all .8s cubic-bezier(0.74, .42, .23, .98);
    }

    .collapse-toggle {
        max-height: 500px;
      }

    .grid .grid-item {
        width: calc(50% - 20px);
    }

    .four-images {
        width: calc(50% - 10px);
    }

    .three-images {
        width: calc(25% - 10px);
    }

    .movie {
        height: 360px;
        width: 640px;
    }

    .footer-container {
        max-width: 600px;
        margin: auto;
    }
}

/* This media query is for the footer */
@media(max-width: 624px) {
    .row {
        justify-content: center;
    }

    .col-2 {
        max-width: 100%;
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

    .feature-description {
        display: none;
    }

    .movie {
        height: 297px;
        width: 528px;
    }

    .four-images {
        width: calc(100% - 10px);
    }

    .three-images {
        width: calc(100% - 10px);
    }

    .two-images {
        width: calc(100% - 10px);
    }

    iframe.two-images {
        width: 770px;
        height: 1030px;
    }

    pre {
        font-size: smaller;
    }    

}

/* This media query is for the navbar */
@media(max-width: 522px) {
    .collapse {
        flex-direction: column;
    }

    .nav-link-container {
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
        margin-bottom: 5px;
    }

    .icon-container {
        flex-direction: row;
        justify-content: center;
    }

    .icon {
        padding: 0 6px 0 6px;
    }

    .grid .grid-item {
        width: calc(100%);
    }
}

/* ----------------------------------------------
                Form Styling
------------------------------------------------*/
form {
    margin: 0 auto;
    padding: 10px;
    border: 1px solid var(--black);
    border-radius: 5px;
  }
  
  .radio-form {
    border: none;
    padding-left: 0;
  }
  
  .radio-form label {
    font-weight: 200;
  }
  
  .radio-form legend {
    margin-left: 0;
    font-weight: bold;
  }
  
  
  .input-form {
    display: flex; 
    justify-content: left; 
  }
  
  .input-form label {
    width: 150px;
    font-weight: 600;
  }
  
  .input-form input {
    flex: 1;
    margin-left: 10px;
    padding: 5px;
  }
  
  .submit {
    width: 49%;
    padding: 8px 0;
    border: none;
    color: var(--white);
    background-color: var(--article-background);
  }
  
  .reset {
    width: 49%;
    margin-bottom: 15px;
    margin-top:10px;
    padding: 8px 0;
    border: 1px solid var(--light-text);
    background-color: var(--white);
  }
  
  .submit:hover {
    background-color: var(--nav-link-hover);
  }
  
  .reset:hover {
    background-color: var(--nav-link-hover);
  }
