* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
}

body{
    background-color: #b99772;
    background-image: url(LOTRBG.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

a {
    color: #333;
}

/*Navbar*/

.nav-cont {
    width: 100%;
    height: 8vh;
    background-color: #b99772;
    
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/*Nav Logo*/
.nav-logo-cont{
    width: 35%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.logo-text{
    margin: auto;
    margin-right: auto;
}

.logo-textSub{
    display: none;
    margin: auto;
    font-size: 2rem;
}

.logo-img-cont{
    margin: auto;
}

.logo-img{
    width: 50px;
    margin: auto;
}

/*Nav Links*/
.nav-ul{
    display: flex;
}

.nav-item{
    display: none;
    padding: 5px 20px;
}

.nav-itemSub{
    display: initial;
    padding: 5px 20px;
    transition: all .4s;
} .nav-itemSub:hover{
    text-decoration: underline;
    font-size: 105%;
}

/*Navbar Media Queries*/
@media screen and (max-width:786px) {
    .logo-textSub{display: block;}
    .logo-text{display: none;}
    .nav-item{display: block;}
    .nav-itemSub{display: none;}
    .nav-logo-cont{
        width: 25%;
    }
}
@media (max-width:480px) {
    .logo-textSub{
        display: none;
    }
    
}

/*Body Content*/
.body-cont{
    height: 86vh;
    display: flex;
    justify-content: space-around;
    margin: 20px;
}

.body-desc{
    margin: 20px;
    width: 46%;
    height: 40vh;
    color: #f6e3ca;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(77, 77, 77, 0.2);
}

.imgBodCont{
    position: relative;
    margin: auto;
    text-align: center;
    width: 48%;
}

.imgTitle{
    color: #f6e3ca;
    text-decoration: underline;
    font-size: 2rem;
    margin: 5%;
    margin-top: 0;
}

.img-cont{
    position: relative;
    margin: auto;
    text-align: center;
    width: 100%;
}

.map{
    width: 100%;
    position: relative;
    width: 100%;
    background: white;
    border-radius: 75% 100% 75% 100% / 100% 55% 100% 50%;
    color: white;
    transition: all .8s ease;
    transition-delay:5s;
}

.map:hover {
    border-radius: 0% 0% 0% 0% ;
    transition-delay: 0s;
}

/*Body Content Media Queries*/
@media (max-width: 786px) {
    .body-cont{
        flex-direction: column;
        height: 85vh;
    }
    .body-desc{
        width: 100%;
        margin: 0;
        overflow: scroll;
        overflow-x: hidden;
        height: auto;
        background-color: rgba(77, 77, 77, 0.2);
        border-radius: 10px;
        height: 30%;
    }
    .body-p{
        font-size: 15px;
    }
    .img-cont, .imgBodCont{
        width: 85%;
        padding: 0;
        margin-top: 0;
    }
    .imgTitle{
        font-size: 2rem;
        margin: 4%;
    }
}
@media (max-width: 480px){
    .imgTitle{
        font-size: 1.5rem;
        margin-bottom: 10%;
    }
    .imgBodCont{
        margin: auto;
    }
}

/* POPUP 1 - Barad Dur*/
.popup1 {
    position: absolute;
    bottom: 48.5%;
    left: 82%;
    display: inline-block;
    cursor: pointer;
    color: black;
}

.popup1 .s{
    background-color: red;
    border-radius: 50%;
}

/* POPUP2 - Minas Tirith*/
.popup2 {
    position: absolute;
    bottom: 42.5%;
    left: 63%;
    display: inline-block;
    cursor: pointer;
    color: rgb(196, 179, 83);
}

.popup2 .s{
    background-color: white;
    border-radius: 50%;
}

/* POPUP3 - Isengard*/
.popup3 {
    position: absolute;
    bottom: 55%;
    left: 45%;
    display: inline-block;
    cursor: pointer;
    color: black;
    font-size: 1em;
}

.popup3 .s{
    background-color: red;
    border-radius: 50%;
}


/* POPUP4 - Bree*/
.popup4 {
    position: absolute;
    bottom: 70%;
    left: 38%;
    display: inline-block;
    cursor: pointer;
    color: rgb(196, 179, 83);
}

.popup4 .s{
    padding: 1px;
    background-color: brown;
    border-radius: 50%;
    font-size: .7em;
}

/* POPUP5 - The Black Gate*/
.popup5{
    position: absolute;
    bottom: 52.5%;
    left: 72.8%;
    display: inline-block;
    cursor: pointer;
    color: black;
}

.popup5 .s{
    padding: 2px;
    background-color: red;
    border-radius: 50%;
    font-size: .7em;
}

/* POPUP6 - Rivendell*/
.popup6{
    position: absolute;
    bottom: 74.5%;
    left: 48.8%;
    display: inline-block;
    cursor: pointer;
    color: rgb(196, 179, 83);
}

.popup6 .s{
    padding: 2px;
    background-color: lightblue;
    border-radius: 50%;
    font-size: .7em;
}

/* POPUP7 - Bag End*/
.popup7{
    position: absolute;
    bottom: 71.5%;
    left: 30.5%;
    display: inline-block;
    cursor: pointer;
    color: rgb(196, 179, 83);
}

.popup7 .s{
    padding: 2px;
    background-color: lightgreen;
    border-radius: 50%;
    font-size: .7em;
}

/* POPUP8 - Edoras*/
.popup8{
    position: absolute;
    bottom: 49.8%;
    left: 49.2%;
    display: inline-block;
    cursor: pointer;
    color: rgb(196, 179, 83);
}

.popup8 .s {
    background-color: green;
    border-radius: 50%;
}

/* POPUP9 - Erebor*/
.popup9{
    position: absolute;
    bottom: 74.5%;
    left: 73.4%;
    display: inline-block;
    cursor: pointer;
    color: ivory;
}

.popup9 .s {
    background-color: gold;
    border-radius: 50%;
}

/* POPUP10 - Erech*/
.popup10{
    position: absolute;
    bottom: 45.4%;
    left: 47.2%;
    display: inline-block;
    cursor: pointer;
    color: gray;
}

.popup10 .s {
    padding: 2px;
    background-color: brown;
    border-radius: 50%;
    font-size: .7em;
}

.pop-up-button{
    color: #f6e3ca;
    text-decoration: underline;        
    transition: all ease-in-out .5s;
    background-color: rgb(101, 101, 101, .4);
    border-radius: 50%;
    padding: 10px;
    margin: auto;
}
.pop-up-button:hover{
    color: #f3cf9f;
}

/* The actual popup text w/ text on the side*/
.popup1 .popuptext, .popup4 .popuptext4, .popup6 .popuptext6, .popup9 .popuptext9,
.popup7 .popuptext7{
    display: none;
    width: 250px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: -270%;
    left: -1550%;
    /* margin-left: -80px; */
}

/* Actual Popup and where it will display above */
.popup2 .popuptext2, .popup3 .popuptext3,
.popup5 .popuptext5, .popup8 .popuptext8,
.popup10 .popuptext10{
    display: none;
    width: 250px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 95%;
    left: -590%;
    margin-left: -80px;
}

/* Show popup when you hover. Shows child element when hovered... */
.popup2:hover .popuptext2, .popup1:hover .popuptext, .popup3:hover .popuptext3,
.popup4:hover .popuptext4, .popup5:hover .popuptext5, .popup6:hover .popuptext6,
.popup7:hover .popuptext7, .popup8:hover .popuptext8, .popup9:hover .popuptext9,
.popup10:hover .popuptext10{
    display: inline;
    max-height: 300px;
    overflow: scroll;
    overflow-x: hidden;
}

.popuptext, .popuptext2, .popuptext3, .popuptext4, .popuptext5, .popuptext6,
.popuptext7, .popuptext8, .popuptext9, .popuptext10 {
    font-size: 1rem;
}

.popup-text{
    margin: 4px;
}

.video{
    border-radius: 5px;
    width: 95%;
}

/*Popup Media Queries*/
@media (max-width: 786px) {
    .s{
        font-size: .5rem;
    }
    .popup2 .s, .popup3 .s, .popup8 .s, .popup9 .s, .popup1 .s{
        font-size: 1em;
    }
    .popup4 .s, .popup6 .s, .popup7 .s, .popup10 .s{
        font-size: .8em;
    }
    .popup5 .s{
        font-size: .8em;
    }
    .popup1{
        bottom: 47.5%;
        left: 81.5%;
    }
    .popup2{
        bottom: 41.5%;
        left: 63.5%;
    }
    .popup3{
        bottom: 55%;
        left: 44.5%;
    }
    .popup4{
        bottom: 69.5%;
        left: 38%;
    }
    .popup5{
        bottom: 52%;
        left: 72.5%;
    }
    .popup6{
        bottom: 74.5%;
        left: 48.8%;
    }
    .popup7{
        bottom: 71%;
        left: 30%;
    }
    .popup8{
        bottom: 49.5%;
        left: 49%;
    }
    .popup9{
        bottom: 74.5%;
        left: 73.5%;
    }
    .popup10{
        bottom: 45%;
        left: 47%;
    }
    .popup1 .popuptext, .popup4 .popuptext4, .popup6 .popuptext6, .popup9 .popuptext9{
        bottom: 95%;
        left: -590%;
        width: 200px;
    }
    .popup7 .popuptext7{
        bottom: 32%;
        left: 90%;
    }
    .popup1 .popuptext, .popup2 .popuptext2, .popup3 .popuptext3{
        width: 200px;
    }
}
@media (max-width: 425px) {
    .s{
        padding: 1px;
    }
    .popup2 .s, .popup3 .s, .popup8 .s, .popup9 .s, .popup1 .s{
        font-size: .7em;
    }
    .popup4 .s, .popup6 .s, .popup7 .s, .popup10 .s{
        font-size: .5em;
    }
    .popup5 .s{
        font-size: .5em;
    }
    .popup1{
        bottom: 46%;
        left: 80.5%;
    }
    .popup2{
        bottom: 39.5%;
        left: 63%;
    }
    .popup3{
        bottom: 53%;
        left: 44%;
    }
    .popup4{
        bottom: 67%;
        left: 38%;
    }
    .popup5{
        bottom: 50%;
        left: 71.5%;
    }
    .popup6{
        bottom: 72.5%;
        left: 48.8%;
    }
    .popup7{
        bottom: 69.7%;
        left: 29.5%;
    }
    .popup8{
        bottom: 48.5%;
        left: 48.5%;
    }
    .popup9{
        bottom: 72.5%;
        left: 73%;
    }
    .popup10{
        bottom: 42%;
        left: 46%;
    }
    .popup5 .popuptext5{
        width: 170px;
    }
    .popup4 .popuptext4{
        bottom: 32%;
        left: -90%;
        width: 170px;
    }
    .popup3 .popuptext3{
        bottom: 32%;
        left: -190%;
    }
    .popup2 .popuptext2{
        width: 170px;
    }
    .popup1 .popuptext{
        bottom: 32%;
        left: -860%;
    }
}

/* Modal Styles */
.modal{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(77, 77, 77, 0.7);
    transition: all 0.5s;
    visibility: hidden;
    opacity: 0;
    width: 100vw;
    height: 100vh;
}

.modal:target{
    visibility: visible;
    opacity: 1;
}

.modalcontent{
    position: relative;
    background: #f6e3ca;
    width: 70%;
    max-height: 70%;
    padding: 1em 2em;
    border-radius: 40% 8% 20% 90% / 20% 5% 5% 5%;
        overflow: scroll;
        overflow-x: hidden;
}

.modalContentBody{
    display: flex;
}

.videoCont{
    width: 50%;
    margin: auto;
}

.modalclose{
    position: absolute;
    top: 0;
    right: 2.5%;
    color: #585858;
    text-decoration: none;
    font-size: 3rem;
}

/* Content inside modal styles */
.modal-h1{
    margin: 5%;
    font-size: 2rem;
    text-decoration: underline;
}
.modal-p{
    margin: auto;
    text-align: center;
    margin-right: 5px;
    width: 50%;
}

@media (max-width:786px) {
    .modal-h1{
        font-size: 1.5rem;
    }
    .modalContentBody{
        flex-direction: column;
    }
    .videoCont{
        width: 90%;
        margin: auto;
        margin-top: 5px;
    }
    .modal-p{
        width: 90%;
        margin: auto;
    }
    
}
@media (max-width:480px){
}
@media (max-width: 380px){
    .modal-h1{
        font-size: 1rem;
    }
}

/* Popup Modal Styles */
.popmodal{
    z-index: 999;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(77, 77, 77, 0.7);
    transition: all 0.5s;
    visibility: hidden;
    opacity: 0;
    width: 100vw;
    height: 100vh;
}

.popmodal:target{
    visibility: visible;
    opacity: 1;
}

.popmodalcontent{
    position: relative;
    background: black;
    width: 70%;
    max-height: 70%;
    padding: 1em 2em;
    border-radius: 40% 8% 20% 90% / 20% 5% 5% 5%;
        overflow: scroll;
        overflow-x: hidden;
    display: flex;
}

.popmodalclose{
    position: absolute;
    top: 0;
    right: 2.5%;
    color: #585858;
    text-decoration: none;
    font-size: 3rem;
}

/* Content inside modal styles */
.popmodal-h1{
    margin: 5%;
    font-size: 2rem;
    text-decoration: underline;
}

.popmodal-img{
    width: 50%;
    margin: auto;
}

.popmodal-p{
    margin: 5px;
}

.popmodal-youtube-player{
    height: auto;
    width:50%;
    cursor: pointer;
    padding-bottom:56.25%;
    margin:0 auto
}

@media (max-width:786px) {
    .popmodal-h1{
        font-size: 1.5rem;
    }
    .popmodalcontent{
        flex-direction: column;
    }
    .popmodal-img{
        width: 90%;
    }
}
@media (max-width:480px){
    
    
}
@media (max-width: 380px){
    .popmodal-h1{
        font-size: 1rem;
    }
}
/* Custom Scroll Bar */
::-webkit-scrollbar{
    width: 0px;
}

/* @font-face {
    font-family: Arial, Helvetica, sans-serif;
    font-display: swap;
} */
