* {
    margin: 0;
    padding: 0;
    font-family: 'Fjalla One', sans-serif;
}

body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(Img/Waterfall.gif) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  /*
body {
    background-image: url(Img/Waterfall.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
*/

.hidden {
    display: none;
}

nav {
    position: absolute;
    right: 0;
    align-self: center;
}

header {
    display: flex;
    background: black;
    position: fixed;
    width: 100%;
}

.nav-opt {
    display: flex;
    list-style: none;
}

.nav-opt li {
    margin-right: 15px;
    padding: 10px;
}

.nav-opt li a {
    text-decoration: none;
    color: rgb(37, 175, 185);
}

.nav-search {
    max-width: 18px;
    height: auto;
}

.touch-search:hover {
    cursor: pointer;
}

h1 {
    color: white;
    font-family: 'Lobster', cursive;
    font-weight: normal;
    padding: 5px;
}

h2 {
    display: block;
    position: relative;
    top: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    background: 
    linear-gradient(
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    );
    color: white;
    font-size: 20px;
    font-family: 'Charm', cursive;
    text-align: center;
}

#js-form {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#js-form label {
    color: white;
    font-size: 30px;
    margin-bottom: 15px;
}

#js-form input {
    border: 1px solid rgb(37, 175, 185);
}

#country-destination {
    color: white;
    padding: 10px;
    border-radius: 26px;
    width: 188px;
    text-align: center;
    background: 
    linear-gradient(
      rgba(240, 234, 234, 0.3),
      rgba(240, 234, 234, 0.3)
    );
}

::placeholder {
    color: black;
}

#submit-search {
    font-family: 'Lobster', cursive;
    margin-top: 15px;
    color: white;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
    background: 
    linear-gradient(
      rgba(240, 234, 234, 0.3),
      rgba(240, 234, 234, 0.3)
    );
}

#submit-search:hover {
    cursor: pointer;
}

.country-options {
    padding-top: 30px;
}

fieldset {
    text-align: center;
    border: none;
    color: white;
}

.country-opt-dis {
    list-style: none;
}

.country-opt-dis li {
    margin-top: 15px;
}

.country-opt-dis li label:hover {
    cursor: pointer;
    color: black;
}

.country-opt-dis input[type="radio"] {
    display: none;
}

h3 {
    margin-top: 50px;
    padding: 5px;
    background: 
    linear-gradient(
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    );
    color: white;
    font-size: 20px;
    font-family: 'Charm', cursive;
    text-align: center;
}

.country-flag {
    max-width: 100%;
    height: auto;
}

.currency {
    color: white;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    background: 
    linear-gradient(
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3)
    ); 
}

#js-error-message {
    padding-top: 70px;
    text-align: center;
    color: rgb(245, 42, 42);
    font-weight: bold;
}

.rate-comparison {
    margin-top: 10px;
}

.video-data li {
    margin-bottom: 15px;
    background: 
    linear-gradient(
      rgba(240, 234, 234, 0.5),
      rgba(240, 234, 234, 0.3)
    )
}

#myModal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

#modal-view {
    font-size: 60px;
}

.close-modal {
    color: white;
    float: right;
    margin-right: 15px;
}

.close-modal:hover {
    cursor: pointer;
}

@media screen and (max-width: 812px) and (max-height: 415px) {
    body {
        -webkit-background-size: 100%;
    }
}

@media screen and (min-width: 421px ) {
    .country-flag {
        width: 300px;
        padding: 0px 10px;
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 815px ) {
    .country-flag {
        width: 200px;
        padding: 25px 10px 0px;
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }

    #js-form label {
        font-size: 60px;
    }

    #country-destination {
        padding: 14px;
        font-size: 20px;
        width: 300px;
    }

    #submit-search {
        font-family: 'Lobster', cursive;
        margin-top: 15px;
        color: white;
        padding: 20px;
        font-size: 20px;
    }

    #js-error-message {
        font-size: 35px;
    }
    
    .video-data {
        display: flex;
        list-style: none;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .video-data li {
        width: 24.99%;
        padding: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
}