/* Html Scroll Smooth */
html {
    scroll-behavior: smooth;
}

/* Scroll Bar */
::-webkit-scrollbar {
    width: 4px;
    background: #242424;
}
::-webkit-scrollbar-thumb {
    background: rgb(150, 250, 150);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(125, 175, 125);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:active {
    background: rgb(100, 150, 100);
    border-radius: 4px;
}
/* User Selection */
::selection {
    background: green;
}


/* Main Body Background */
body {
    background: #242424;
    overflow-x: hidden;
    margin-right: 4px;
}

/* Navigation Bar */
.navbar {
    padding:20px;
    background: #1a1a1a;
    color: grey;
    display: flex;
    
}
.navbar a {
    color: grey;
    margin-left: 3%;
    text-decoration: none;
    font-size: 20px;
    padding: 20px;
}
.navbar a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Navigation Bar Text */
.NavText {
    transform: translateX(550px);
    font-weight: bolder;
    font-size: 20px;
    background: #000;
    padding: 10px;
    border-radius: 4px;
}

.mNav {
    font-size: 40px;
    transform: translateX(-60px);
}
.mNav a {
    font-size: 30px;
}
.mNav a:hover {
    text-decoration: none;
}

.mNavTXT {
    width: 50%;
    color: white;
    z-index: 1;
    height: 100%;
    position: fixed;
    margin-top: -100px;
    transition: 0.5s;
    background: rgba(30, 40, 40, 0.7);
    text-align: center;
    padding: 20px;
    transform: translateX(-500px);
    
}
.mNavTXT a {
    font-size: 20px;
    color: grey;
    margin-top: 25px;
    text-decoration: none;
    display: block;
}
#clsbtn {
    font-size: 40px;
    position: absolute;
    top: -20px;
    right: 3%;
    color: grey;
}

#clsbtn:hover, .mNavTXT a:hover {
    color: white;
}
/* Sections */
.section {
    padding: 20px;
    color: white;
    text-decoration: none;
    position: relative;
    width: 100%;
    
}

.section h1 {
    text-decoration: underline;
    margin-left: 15%;
    margin-right: 4%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding:60px;
}
.section hr {
    margin-left: 30%;
    margin-right: 25%;
}
.section q {
    font-weight:bold;
    font-style: italic;
}
.section p, li {
    margin-left: 20%;
    margin-right: 10%;
}
.section a {
    color: white;
    text-decoration:none;
}
.section a:hover {
    color: green;
}
.section li {
    padding:3px;
}
.section li:hover {
    transform: translateX(10px);
    transition: 0.5s;
}
/* Animation In Sections */
.section .mObject {
    position: absolute;
    top: 0;
    animation: fly 10s infinite;
}

.section .mObject2 {
    position: absolute;
    bottom: 0;
    right: 0;
    animation: fly2 7s infinite;
}
.section .mObject3 {
    position: absolute;
    bottom: 0;
    left: 3%;
    animation: hang 7s infinite;
}
.section .mObject4 {
    position: absolute;
    bottom: 0;
    left: 0;
    animation: hang2 7s infinite;
}

@keyframes fly {
    0%{transform: translateY(450px) rotate(100deg);}
}
@keyframes fly2 {
    0%{transform: translateY(-600px) rotate(360deg);}
}
@keyframes hang {
    0%{transform:translateY(-500px) translateX(30px);}
}
@keyframes hang2 {
    0%{transform:translateX(600px);}
}
/**/
/* Sections Background Colors */
.S1 {
    background: rgba(20, 80, 120);
}
.S2 {
    background: rgba(150, 30, 30);
}
.S2 h1 {
    background-image: url("images/TheBalloonFarm.jpg");
    color: rgb(150, 30, 30);
}

.S3 {
    background: rgba(120, 80, 20);
}
.S3 h1 {
    background-image: url("images/HotelOfSpidersLightening2.gif");
    color: rgb(120, 80, 20);
}

.S4 {
    background: rgba(20, 80, 120);
}

.S4 h1 {
    background-image: url("images/TheBalloonFarm.jpg");
    color: rgb(150, 30, 30);
}
/**/

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: #1a1a1a;
}
.footer a {
    text-decoration: none;
    color: grey;
}
.footer a:hover {
    text-decoration: none;
}
/* Social Media Icons */
.fa {
    font-size: 20px;
    padding: 20px;
    color: grey;
}
.fa-info, a {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
}
.fa-info {
    border: 2px solid grey;
    border-radius: 100%;
    padding: 5px;
    font-size: 10px;
} 
.fa-facebook:hover {
    color: #099fff;
    text-shadow: 0 0 10px;       
}
.fa-instagram:hover {
    color: rgb(150, 20, 250);
    text-shadow: 0 0 10px;       
}
.fa-pinterest:hover {
    color: #ff0000;
    text-shadow: 0 0 10px;       
}
.fa-envelope:hover {
    color: #00ffff;
    text-shadow: 0 0 10px;       
}
.fa-info:hover {
    color: #00ff00;
    text-shadow: 0 0 10px;
    border-color: #00ff00;
}
.text:hover {
    color: #00ff00;
    text-shadow: 0 0 10px;
}

/* Media Queries */
@media screen and (max-width: 850px) {
    .NavText {
        transform: translateX(300px);
    }
    h1, h2, h3 {
        font-size: 20px;
    }
    p, a, li {
        font-size: 10px;
    }
}
/*****/
@media screen and (max-width: 600px) {
    .PC {
        display:none;
    }
    .NavText {
        transform: translateX(50px);
    }
    .mNav {
        margin-left: -60px;
        display: block;
        
    }
    h1, h2, h3 {
        font-size: 10px;
        font-weight: bold;
    }
    p, a, li {
        font-size: 10px;
    }
    .section h1 {
        margin-left: 10%;
    }
    .section p, li {
        margin-left: 15%;
    }
}

/* Up Button */
.btnup {
    padding: 20px;
    position: fixed;
    color: white;
    font-size: 30px;
    bottom: 10%;
    right: 3%;
}
/*******/

@media screen and (min-width: 600px) {
    .mNav {
        display: none;
    }
    .mNavTXT {
        display: none;
    }
    .NavText {
        transform: translateX(300px);
    }
}
/*****/
@media screen and (min-width: 850px) {
    .NavText {
        transform: translateX(700px);
    }
}