/*GENERAL STYLING*/

html {
    scroll-behavior: smooth;
}

/*BODY*/
body {
    margin: 0%;
    opacity: 1;
    transition: 3s opacity;
    letter-spacing: .2vw;
    font-family: Avant Garde, Helvetica;
    font-size: 1.5vw;
    overflow-x: hidden;
    user-select: none;
}

body.fade-out {
    opacity: .1;
}

/*HEADING 1*/
h1 {
    text-transform: uppercase;
    font-family: Comic Sans MS, Comic Sans, sans-serif;
    text-align: center;
    margin-top: 3%;
    color: rgb(0, 0, 0);
}

/*HEADING 1 HOVER EFFECTS*/
h1:hover {
    filter: grayscale(5%);
    transform: scale(1.1);
    transition: transform 1s;
}

/*HEADING 2*/
h2 {
    text-transform: uppercase;
    font-family: Comic Sans MS, Comic Sans, sans-serif;
    text-align: center;
    margin-top: 3%;
    color: rgb(0, 0, 0);
}

/*HEADING 1 HOVER EFFECTS*/
h2:hover {
    filter: grayscale(5%);
    transform: scale(1.1);
    transition: transform 1s;
}

/*STYLING FOR PORTFOLIO TITLE TEXT*/
.white-text {
    color: rgb(255, 255, 255);
}

/*PARAGRAPH*/
p {
    font-family: Andale Mono, monospace;
    text-align: justify;
    letter-spacing: .1vw;
    font-size: 2.5vw;
    padding-left: 1vw;
    padding-right: 1vw;
}

/*PARAGRAPH HOVER*/
p:hover {
    transition: transform 1s;
    transform: scale(1.01);
}

/*CENTER CLASS*/
.center {
    text-align: center;
}

/*CENTER CLASS HOVER*/
.center:hover {
    transition: transform 2s;
    transform: scale(1.1);
}

/*ACHOR*/
a {
    color: rgb(4, 0, 255);
    cursor: pointer;
    text-decoration: underline;
}

/*QUOTATION*/
q {
    font-style: italic;
}

/*IMAGE*/
img {
    filter: grayscale(75%);
    border-radius: 8px;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto auto auto auto;
}

/*IMAGE HOVER*/
img:hover {
    filter: grayscale(5%);
}

/*FOOTER*/
footer {
    padding: 2%;
    background-color: rgb(0, 0, 0);
}
/*END OF GENERAL STYLING*/

/*NAVBAR*/
.navbar {
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    -webkit-animation: moveNav 5s;
    animation: moveNav 5s;
}

/*NAVBAR ANIMATION*/
@keyframes moveNav {
    from {left: -100vw;}
    to {left: 0vw;}
}

/*NAVBAR LINKS*/
.navbar a {
    float: left;
    display: block;
    color: rgb(255, 255, 255);
    padding: .75vw 1vw;
    text-decoration: none;
    font-family: Andale Mono, monospace;
    font-size: 1.5vw;
    text-align: center;
    position: relative;
    -webkit-animation: moveNavText 5.75s;
    animation: moveNavText 5.75s;
}

/*NAVBAR TEXT ANIMATION*/
@keyframes moveNavText {
    from {top: -100vw}
    to {top: 0vw}
}

/*NAVBAR HOVER*/
.navbar a:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s ease-in;
}

/*NAVBAR HOME*/
.navbar a.active {
    background-color: rgb(66, 66, 66);
}

/*END OF NAVBAR*/

/*VIDEO STYLING*/

/*BACKGROUND VID FORMAT*/
#typing-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    z-index: -1;
}

/*SCREENS 576PX AND SMALLER WILL NOT DISPLAY BACKGROUND VIDEO*/
@media screen and (max-width: 576px) {
    #typing-video {
        display: none;
    }
}

/*TEXT OVER VIDEO*/
.video-text {
    background: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
    width: 100%;
    height: 100vh;
    padding-top: 2vh;
    position: relative;
    -webkit-animation: moveVideoText 5.75s;
    animation: moveVideoText 5.75s;
}

/*VIDEO TEXT ANIMATION*/
@keyframes moveVideoText {
    from {top: -100vw}
    to {top: 0vw}
}

/*END OF VIDEO STYLING*/

/*slideshow styling*/
#slideshow_background {
    background: rgba(255, 255, 255, 0.35);
}

.mySlides {
    display: none;
}

/*slideshow section / container*/
#slideshow_container {
    width: 39.5vw;
    height: auto;
    padding-top: 4%;
    position: relative;
    margin: auto;
}

#slideshow_container a {
    text-decoration: none;
}

/*Images contained within the slideshow*/
.slideshow_images {
    vertical-align: middle;
    height: auto;
    box-shadow: 0px 5px 10px 12px rgba(0, 0, 0, .75);
    width: 100%;
}

/*next and previous buttons*/
.previous, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 2vw;
    color: darkgray;
    font-weight: bold;
    font-size: 1.5vw;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: 0.6s ease;
}

/*positioning the next button to the right side*/
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/*hover effect on slide show buttons*/
.previous:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/*slideshow text*/
.text {
    color: white;
    padding: 1vw;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-family: Perpetua, Rockwell Extra Bold;
    letter-spacing: .1vw;
    font-size: 1.5vw;
    background-color: rgba(0, 0, 0, .75);
    font-weight: bold;
    border-radius: 0px 0px 7px 7px;
}

/*dots styling*/
.dot {
    cursor: pointer;
    height: 1vw;
    width: 1vw;
    margin: .25vw;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    z-index: 1;
}
/*hover effect for slideshow dots*/
.active, .dot:hover {
    background-color: black;
}

/*fading animation for slideshow*/
.fade {
    animation-name: fade;
    animation-duration: .5s;
    -webkit-animation-name: fade;
    -webkit-animation-duration: .5s;
}

@-webkit-keyframes fade {
    from {opacity: .4;}
    to {opacity: 1;}
}

@keyframes fade {
    from {opacity: .4;}
    to {opacity: 1;}
}
/*End Slideshow Styling*/

/*TABLE STYLING*/
* {
    box-sizing: border-box;
}

.column-1 {
    float: left;
    width: 50%;
    padding: 1.6%;
    height: 450px;
    background-color: #f2f2f2;
}

.column-2 {
    float: left;
    width: 50%;
    padding: 1.6%;
    height: 450px;
    background-color: #4d4d4d;
}

/*COLUMN TALL IS FOR THE LAST 2 COLUMNMS*/
.column-tall {
    padding-top: 3.5%;
    height: 450px;
}

/*FOR UNDER THE ROWS*/
.row:after {
    content: "";
    display: table;
    clear: both;
}

/*END OF TABLE STYLING*/

/*CONTACT FORM*/

.pop_up_button {
    position: fixed;
    bottom: 1.75vw;
    right: 1.75vw;
    width: 25vw;
    background-color: white;
    color: black;
    border: solid black;
    cursor: pointer;
    -webkit-animation: movePopup 5s;
    animation: movePopup 5s;
}

@keyframes movePopup {
    from {right: -40vw;}
    to {right: 1.75vw;}
}

@-webkit-keyframes movePopup {
    from {right: -40vw;}
    to {right: 1.75vw;}
}

/*contact form styling*/
.form-popup {
    z-index: 8;
    display: none;
    position: fixed;
    bottom: .5vw;
    right: .5vw;
}

/*form styling*/
.form-container {
    max-width: 49vw;
    padding: 1vw;
    background-color: white;
}

/*inputs*/
.form-container input[type=text] {
    width: 100%;
    padding: .93vw;
    margin: .6vw 0 .6vw 0;
    border: none;
    background: gainsboro;
    font-size: 1vw;
}

/*gen btn styling*/
button {
    font-family: "Trebuchet MS", Optima;
    letter-spacing: .3vw;
    font-size: 1.5vw;
    font-weight: bold;
    padding: 1.5vw;
    cursor: pointer;
    width: 100%;
    height: auto;
}

button:hover, .form-container .btn:hover {
    color: white;
    background-color: black;
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    border-color: silver;
}

.form-container .btn {
    background-color: white;
    color: black;
    border-color: black;
    margin-bottom: 1vh;
}

.form-container .cancel {
    background-color: black;
    color: white;
    border-color: gray;
}

.form-container .cancel:hover {
    color: white;
    background-color: darkred;
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    border-color: black;
}

/*media query section*/
@media screen and (max-width: 527px) {
    p {
        font-size: 3.75vw;
    }
}

@media screen and (min-width: 528px) and (max-width: 660px) {
    p {
        font-size: 3.5vw;
    }
}

@media screen and (min-width: 661px) and (max-width: 799px) {
    p {
        font-size: 2.75vw;
    }
}

@media screen and (min-width: 800px) and (max-width: 924px) {
    p {
        font-size: 2.5vw;
    }
}

@media screen and (min-width: 925px) and (max-width: 1050px) {
    p {
        font-size: 2.25vw;
    }
}

@media screen and (min-width: 1051px) and (max-width: 1310px) {
    p {
        font-size: 2vw;
    } 
}

@media screen and (min-width: 1311px) and (max-width: 1535px) {
    p {
        font-size: 1.75vw;
    }
}

@media screen and (min-width: 1536px) and (max-width: 2269px) {
    p {
        font-size: 1.5vw;
    }
}

@media screen and (min-width: 2270px) {
    p {
        font-size: 1.35vw;
    }
}

@media screen and (max-width: 1080px) {
    .Navbar a{
        width: 20%; 
        font-size: 2.5vw;
    }
}

@media screen and (max-width: 1080px) {
    .quote{
        font-size: 3.5vw;
    }

    .white-text {
        font-size: 4.5vw;
    }
}

@media screen and (min-width: 1725px) {
    .Column_1 {
        height: 550px;
    }
    .Column_2 {
        height: 550px;
    }
}

@media screen and (min-width: 2000px) {
    h1{
        margin-top: 0;
    }
}