*:not(a > img):not(li.img):not(a.img) {
    transition-duration: 240ms;
}

body, html {
    height: 100%;
    margin: 0;
    font: 400 15px/1.8 "Lato", sans-serif;
    color: #000;
    background-color: #00000088;
}

.popupContainer {
    width: 400px;
    background-color: #fff;
    position: relative;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
    z-index: 10;
}

.popupContainer h2 {
    font-size: 38px;
    font-weight: 500;
    margin: 30px 0 10px;
}

.openPopup {
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}

.blocker {
    width: 100%;
    height: 100vh;
    background-color: #0007;
    position: fixed;
    visibility: hidden;
    z-index: 5;
}

.bgimg, .bgimg2 {
    position: relative;
    opacity: 1;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(images/bg-img.png);
}

.bgimg {height: 50%;}

.bgimg2 {height: 20%;}

.nb {
    display: none;
    float: right;
}

.nc {
    float: right;
}

@media only screen and (max-device-width: 1024px) {
    .bgimg, .bgimg2 {
        background-attachment: scroll;
    }
    .na {
        display: none;
    }
    .nb {
        display: initial;
    }
}

::-moz-selection {
    color: #00f;
    background: #0ff;
}

::selection {
    color: #00f;
    background: #0ff;
}

h3, h4 {
    letter-spacing: 5px;
    text-transform: uppercase;
    font: 36px "Lato", sans-serif;
    color: #000;
    text-align: center;
}

h3:hover, h4:hover {
    color: #777;
}

/* Footer */
.footer {
    background-color: #132542;
    color: #fff;
}

/* Boxes */
.box, .footer, .textarea, .box2, .box3 {
    top: 0%;
    padding: 50px 80px;
    text-align: justify;
    font-size: 20px;
}

.box {
    background-color: #fff;
}

.box2 {
    background-color: #fcff9c;
}

.box3 {
    background-color: #adc6c9;
}

.textarea {
    color: #000;
    background-color: #fff;
}

/* Navigation */
ul.n {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #eee;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

li.n:not(.nb):not(.nc) {
    float: left;
}

li.n a.text {
    display: block;
    color: #000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li.n a.text:hover {
    color: #ffb700;
}

li.n a.text.active {
    background-color: #00ffff;
}

/* Images */
a > img {
    width: 90%;
    align-self: center;
    padding: auto;
    margin: auto;
}

li.img {
    width: 7%;
    max-height: 10%;
    padding: auto;
    margin: auto;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

a.img {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Links */
div:not(.footer) a {
    color: #00f;
    text-decoration: underline;
}

div.footer a {
    color: #09f;
    text-decoration: underline;
}

div a:hover {
    color: #ffb700;
    text-decoration: none;
}

div a:active {
    background-color: #0000ff;
    color: #00ffff;
}

/* Captions */
.caption {
    position: absolute;
    left: 0;
    bottom: 25%;
    width: 100%;
    text-align: center;
    color: #00000055;
}
    
.caption span.border {
    background-color: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 100px;
    letter-spacing: 10px;
    font-variant: small-caps;
    bottom: 50%;
}

.caption span.border:hover {
    color: #aaa;
}

.caption span.sd {
    color: #fff;
    padding: 12px;
    font-size: 18px;
    letter-spacing: 6px;
}

.caption span.sd:hover {
    color: #aaa;
}

/* Miscellaneous */
hr.sep {
    color: #fff;
    width: 250px;
    text-align: center;
}

h6 {
    color: #fff;
    padding: 0px;
    margin: 0px;
    font-size: 60px;
    font-weight: normal;
}

p:hover {
    color: #777;
}

.floating-text, .floating-text-p {
    color: #000;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    transition-duration: 240ms;
}

::-webkit-scrollbar-track {
    background: #fff; 
}

::-webkit-scrollbar-thumb {
    background: #999;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}

::-webkit-scrollbar-thumb:active {
    background: #555;
}

/* Banner */
.banner {
    background-image: linear-gradient(to right, #fc036b, #7f03fc);
}

.bannerContent {
    padding: 16px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.bannerText {
    flex-grow: 1;
    line-height: 1.4;
    font-family: 'Helvetica', sans-serif;
}

.bannerClose, .popupContainer button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 200%;
    transition-duration: 50ms;
}

.bannerClose:hover {
    color: #fff;
}

.bannerText, .bannerClose > span {
    color: #fff;
}
