/* Body */
html{
    scroll-behavior: smooth;
}

body{
    margin: 0%;
    background-color: #f5f5f5;
    transition: 3s opacity;
    letter-spacing: .1vw;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5vw;
    overflow-x: hidden;
    user-select: none;
}

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

/* Heading 1 Elements*/
h1{
    text-transform: uppercase;
    font-family: "Courier New", Optima;
    text-align: center;
    margin-top: 3%;
    color: #333333;
}

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

/* styling for portfolio title text */
.white-text{
    color: #fff;
    padding-top: 0.5vh;
}

/*paragraph elements*/
p{
    font-family: Courier New, Perpetua, Rockwell Extra Bold;
    text-align: justify;
    font-size: 20px;
    padding-left: 1vw;
    padding-right: 1vw;
}

.Column_1 p {
    font-size: 20px;
}

/*center class*/
.center{
    text-align: center;
}


/* center class hover effect*/
.center:hover{
    transition: transform 2s;
    transform: scale(1.025);
}

/*anchor elements*/
a{
    color: #8b572a;
    cursor: pointer;
    text-decoration: underline;
}

/*quotation elements*/
q{
    font-style: italic;
}

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

/*image element hover*/
img:hover{
    filter: grayscale(5%);
  
}

@media screen and (max-width: 576px){
    #Typing_Video{
        display: none;
    }
}

/* footing elements */
footer{
    padding: 2%;
    background-color: #f5f5f5;
}

/*navbar styling*/

.navbar{
    overflow: hidden;
    background-color: black;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    -webkit-animation: moveNav 5s;
    animation: moveNav 2s;
}

@keyframes moveNav{
    from {left: -100vw;}
    to {left: 0vw;}
}

.navbar a{
    float: left;
    display: block;
    color: #f5f5f5;
    padding: 14px 16px;
    text-decoration: none;
    font-family: Courier New, Helvetica;
    font-size: 20px;
    text-align: center;
    position: relative;
    -webkit-animation: moveNavText 5.75s;
    animation: moveNavText 5.75;
}

@keyframes moveNavText{
    from{top: -100vw;}
    to {top: 0vw;}
}

@media screen and (max-width: 576px){
    .navbar a{
        width: 25%;
        font-size: 12px;
    }
}
    
.navbar a:hover {
    background-color: #f4f4f4; 
    color: black; 
    font-weight: bold;
}

.navbar a.active { 
    background-color: #ae875f;
}

/* formatting for background video */
#Typing_Video{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    z-index: -1;
}

@media screen and (max-width: 575px){
    #Typing_Video{
        display: none;
    }
}

.Video_Text{
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 100%;
    padding: 20px;
    position: relative;
    -webkit-animation: moveVideoText 5.75s;
    animation: moveVideoText 5.75s;
}

@keyframes moveVideoText{
    from{top: -100vw;}
    to {top: 0vw;}
}
/***** Slideshow Styling *****/
#Slideshow_Background {
    background: rgba(255, 255, 255, 0.35);   
}

.mySlides {
    display: none;
}

#Slideshow_Container {
    width: 39.5vw;
    height: auto;
    padding-top: 4%;
    position: relative;
    margin: auto;
}

#Slideshow_Container a {
    text-decoration: none;
}

.Slideshow_Images {
    vertical-align: middle;
    height: auto;
    box-shadow: 0px 5px 10px 12px rgba(0, 0, 0, .75);
    width: 100%;
}

.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;
}

.Next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.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, 0.75); 
    font-weight: bold;
    border-radius: 0px 0px 7px 7px;
}

/* Styling of the dots under the slideshow */
.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: 1.5s;
    -webkit-animation-name: fade; 
    -webkit-animation-duration: 1.5s;
}

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

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

/*table stying*/
*{
    box-sizing: border-box;
}

.Column_1 {
    float: left;
    width: 50%;
    padding: 10px;
    padding-top: 1%;
    padding-bottom: 3%;
    height: 400px;
    background-color: #f0ebe1;
}

@media screen and (max-width: 756px){
    .column_1{
        overflow: auto;
    }
}

.Column_2 {
    float: left;
    width: 50%;
    padding: 10px;
    padding-top: 1%;
    padding-bottom: 3%;
    height: 400px;
    background-color: #dcd6c1;
}

.Column_tall{
    padding-top: 1%;
    height: 450px;
}

.Row:after{
    content:"";
    display: table;
    clear: both;
}

/* contact form styling */
input[type=text]{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-family: Perpetua, Rockwell Extra Bold;
}

input[type=text]:hover {
    box-shadow: 0 0 5px #00004d inset;
}

/*submit button */
input[type=submit]{
    background-color: #8b572a;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-family: Perpetua, Rockwell Extra Bold;
}

input[text=submit]:hover{
    background-color: white;
    color: black;
    transform: scale(1.5);
    transition: transform 1.5s;
}

form{
    border-radius: 10px;
    background-color: #c0a791;
    padding: 6px;
    font-family: "Trebuchet Ms", Optima;
}

/* Pop-Up Button Styling */
.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;}
}

/* Styling for the contact form */
.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;
}

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

/* General styling for all buttons */
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;
}

/* Hover effect for contact and submit buttons */
button:hover, .form-container .btn:hover {
    color: white;
    background-color: black;
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    border-color: silver;
}

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

/* Close button */
.form-container .cancel {
    background-color: black;
    color: white;
    border-color: gray;
}

/* Styling for close button on hover */
.form-container .cancel:hover {
    color: white;
    background-color: #8b572a;
    transition-duration: 1s;
    -webkit-transition-duration: 1s;
    border-color: black;
}

/*Media rule for navbar links for different screen sizes*/
@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;
    }
}
