@font-face{
    font-family: bronco;
    src: url(fonts/bronco-font/Bronco-WyGzn.ttf);
}

* {
    margin: 0;
    padding: 0;
}

@media screen and (max-width:2000px) {
    .main{
        width: 100%;
        height: fit-content;
        background: #fafafa;
    }
    
    .nav {
        width: 100%;
        height: 90px;
        background: #fff1e1;
        border-bottom: #511a02 solid 2px;
        opacity: 96%;
        display: flex;
        position: fixed;
        top: 0;
        z-index: 1;
    }
    
    .nav img {
        width: 130px;
        margin: 5px 20px;
    }
    
    .nav .right img {
        position: relative;
        width: 30px;
        margin-top: 30px;
    }
    
    .nav .right img:hover {
        cursor: pointer;
    }
    
    
    .nav ul{
        width: 100%;
        text-align: center;
    }
    
    .nav ul li {
        display: inline-block;
        list-style: none;
        margin: auto 40px;
        position: relative;
        top: 25%;
        right: 30px;
    }
    
    .nav ul li img {
        width: 30px;
    }
    
    .nav-links {
        width: 0;
        max-height: 400px;
        right: 0;
        top: 90px;
        background: #fff1e1;
        position: fixed;
        border-bottom-left-radius: 10px;
        /* border-left: #511a02 solid 2px;
        border-bottom: #511a02 solid 2px; */
        padding: 0;
        text-align: center;
        transition: width 0.5s;
        z-index: 1;
    }
    
    .nav-links.open-menu {
        width: 100px;
        padding: 5px;
        border-left: #511a02 solid 2px;
        border-bottom: #511a02 solid 2px;
    
    }
    
    .nav-links ul {
        width: 100%;
    }
    
    .nav-links ul li{
        list-style: none;
        margin: 30px auto;
    }
    
    .nav-links ul li a {
        font-family: bronco;
        font-size: 20px;
        text-decoration: none;
        color:#fff1e1;
        background: #511a02;
        width:fit-content;
        border: #511a02 solid 2px;
        border-radius: 10px;
        padding: 5px;
        transition: 0.5s;
    }
    
    .nav-links img {
        width: 100px;
        background: #fff1e1;
        border: #fff1e1;
        color: #fff1e1;
    }
    
    .nav-links ul li a:hover {
        color: #511a02;
        background: #fff1e1;
        box-shadow: 5px 5px 5px;
    }

    .gallery-wrap{
        width: 100%;
        margin: 0;
        top: 0;
    }

    .title {
        width: 100%;
        background: #fafafa;
        margin: 0 auto;
        padding-top: 150px;
    }
    
    .title h1{
        width: fit-content;
        margin: 0 auto;
        font-family: bronco;
        font-size: 70px;
    }

    .title p {
        width: fit-content;
        margin: 40px auto;
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-size: 18px;
    }


    .row {
        width: 95%;
        margin: 30px auto 0;
        padding-bottom: 50px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-auto-rows: auto;
        gap: 6px;
    }

    
    /* Create four equal columns that floats next to eachother */
    .column {
        width: 250px;
        margin: 0;
    }

    .column img {
        width: 100%;
        height: 250px;
        padding: 5px;
    }
    
    /* The Modal (background) */
    .modal {
      display: none;
      position: fixed;
      z-index: 1;
      padding-top: 100px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: black;
    }
    
    /* Modal Content */
    .modal-content {
      position: relative;
      background-color: #fafafa;
      margin: auto;
      padding: 0;
      width: 500px;
    }
    
    /* The Close Button */
    .close {
      color: white;
      position: absolute;
      top: 10px;
      right: 25px;
      font-size: 35px;
      font-weight: bold;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    .close:hover,
    .close:focus {
      color: red;
      text-decoration: none;
      cursor: pointer;
    }
    
    /* Hide the slides by default */
    .mySlides {
      display: none;
      width: 500px;
      height: 500px;
      margin: auto;
    }

    .mySlides img{
        width: 500px;
    }
    
    
    /* Next & previous buttons */
    .prev,
    .next {
      cursor: pointer;
      position: relative;
      top: 50%;
      width: 500px;
      padding: 16px;
      margin: -50px auto 0;
      color: #511a02;
      font-weight: bold;
      font-size: 20px;
      transition: 0.6s ease;
      border-radius: 0 3px 3px 0;
      user-select: none;
      -webkit-user-select: none;
    }
    
    /* Position the "next button" to the right */
    .next {
      right: 0;
      border-radius: 3px 0 0 3px;
    }
    
    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
      color: #cc7002;
    }
    
    /* Number text (1/3 etc) */
    .numbertext {
      color: #fafafa;
      font-size: 12px;
      padding: 8px 12px;
      position: absolute;
      top: 0;
    }

    footer {
        background: #511a02;
        width: 100%;
        height: 150px;
    }


    .judah{
        position: absolute;
        padding: 10px;
        left: 10px;
        width: 15%;
        font-family: Georgia, Times, serif;
        color: #fafafa;
    }

    .judah a {
        text-decoration: none;
        color: #fafafa;
        font-weight: 600;
    }

    .footer-content {
        background: #511a02;
        width: 100%;
        display: flex;
        align-content: center;
    }

    .footer-content .end-links {
        width: fit-content;
        font-family: Georgia, 'Times New Roman', Times, serif;
        margin: 30px auto;
    }

    .footer-content .end-links h5 {
        color: #fafafa;
    }

    .footer-content ul {
        width: fit-content;
    }

    .footer-content ul li {
        list-style: none;
        text-decoration: none;
        color:#fafafa;
    }

    .footer-content ul li a {
        color: #fafafa;
        text-decoration: none;
        font-size: small;
    }

    .footer-content .up-arrow {
        width: 100px;
        align-content: center;
    }

    .footer-content .up-arrow img {
        width: 100%;
    }

    .footer-content .media-links {
        width: fit-content;
        margin: auto;
    }

    .footer-content .media-links p {
        color: #fafafa;
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-size: small;
        margin: auto;
    }

    /*.footer-content .media-links a {
        width: 50px;
        padding: 3px;
        margin: 2px;
        align-content: center;
    }*/

    .footer-content .media-links a img {
        width: 50px;
        margin: 5px;
    }

}

@media screen and (max-width:1350px) {
    .row {
        width: 90%;
        margin: 30px auto 0;
        padding-bottom: 50px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: 6px;
    }   
}

@media screen and (max-width:1100px) {

    .nav {
        width: 100%;
        height: 150px;
        background: #fff1e1;
        border-bottom: #511a02 solid 2px;
        opacity: 96%;
        display: flex;
        position: fixed;
        top: 0;
        z-index: 1;
    }
    
    .nav img {
        width: 200px;
        margin: 5px 20px;
    }
    
    .nav .right img {
        position: relative;
        width: 70px;
        margin-top: 30px;
    }
    
    .nav .right img:hover {
        cursor: pointer;
    }
    
    
    .nav ul{
        width: 100%;
        text-align: center;
    }
    
    .nav ul li {
        display: inline-block;
        list-style: none;
        margin: auto 40px;
        position: relative;
        top: 25%;
        right: 30px;
    }
    
    .nav ul li img {
        width: 70px;
    }
    
    .nav-links {
        width: 0;
        max-height: 400px;
        right: 0;
        top: 150px;
        background: #fff1e1;
        position: fixed;
        border-bottom-left-radius: 10px;
        /* border-left: #511a02 solid 2px;
        border-bottom: #511a02 solid 2px; */
        padding: 0;
        text-align: center;
        transition: width 0.5s;
        z-index: 1;
    }
    
    .nav-links.open-menu {
        width: 150px;
        padding: 5px;
        border-left: #511a02 solid 2px;
        border-bottom: #511a02 solid 2px;
    
    }
    
    .nav-links ul {
        width: 100%;
    }
    
    .nav-links ul li{
        list-style: none;
        margin: 30px auto;
    }
    
    .nav-links ul li a {
        font-family: bronco;
        font-size: 40px;
        text-decoration: none;
        color:#fff1e1;
        background: #511a02;
        width:fit-content;
        border: #511a02 solid 2px;
        border-radius: 10px;
        padding: 5px;
        transition: 0.5s;
    }
    
    .nav-links img {
        width: 150px;
        background: #fff1e1;
        border: #fff1e1;
        color: #fff1e1;
    }
    
    .nav-links ul li a:hover {
        color: #511a02;
        background: #fff1e1;
        box-shadow: 5px 5px 5px;
    }

        .title h1{
        width: fit-content;
        margin: 0 auto;
        font-family: bronco;
        font-size: 110px;
    }

    .title p {
        width: fit-content;
        margin: 40px auto;
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-size: 25px;
    }

    .row {
        width: 85%;
        margin: auto;
        padding-bottom: 50px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
        gap: 3px;
    }   

    .modal-content {
        position: relative;
        background-color: #fafafa;
        margin: auto;
        padding: 0;
        width: 500px;
    }

}
