/* Reset default browser styles */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

/* Global styles */
body {
    padding-top: 80px;
    font-family: 'lato', sans-serif;
    background-color: #333;
    color: #333;
}

#wrapper {
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    margin: 0 auto;
}

header {
    background-color: #bd2a2e;
    color: #fff;
    padding: 20px 0;
    position: fixed; /* Make the navigation bar stick to the top */
    top: 0; /* Align the navigation bar with the top of the screen */
    width: 100%; /* Set the width of the navigation bar to full width */
    z-index: 1000; /* Ensure the navigation bar stays above other content */
}

nav {
    display: flex;
    justify-content: space-between; /* Distribute items evenly along the main axis */
    align-items: center; /* Center items vertically */
}

nav ul {
    list-style-type: none;
    display: flex; /* Display the navigation links as flex items */
    margin: 0;
    padding: 0;
}

nav ul li {
    position:relative;
    margin-right: 20px;
}

nav ul li:last-child {
    margin-right: 0; /* Remove right margin from the last item */
}

nav ul li a {
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px; /* Add border radius to buttons */
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: white; /* Button color on hover */
    color: black; /* text color on hover */
}

section {
    padding: 50px 0;
}


/* Dropdown menu styles */
.dropdown-content {
    visibility: hidden;
    position: absolute;
    background-color: #bd2a2e;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-top: 10px;
    opacity: 0; /* Start hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Transition for fade-in effect */
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 0; /* Remove border-radius for dropdown items */
}

.dropdown-content a:hover {
     background-color: white; /* Button color on hover */
    color: black; /* text color on hover */
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
}

/* Additional styles for the dropdown button */
.dropbtn {
    cursor: pointer;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Adjust the size of the logo */
header img {
    height: 40px; /* Adjust the height of the logo */
    max-height: 100%; /* Limit the maximum height of the logo */
    vertical-align: middle; /* Align the logo vertically */
}

.bio {
    margin: auto 0px;
}

.pic {
    width: 30%;
}

.pic img {
    width: 90%;
}


.portfoliobtn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #bd2a2e;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    width: 101px;
    height: 30px;
    margin: 30px auto;
    padding-top: 20px;
}

.portfoliobtn:hover {
    background-color: #333;
}


.testimonialbtn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #bd2a2e;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    width: 145px;
    height: 30px;
    margin: 30px auto;
    padding-top: 20px;
    text-align: center;
}

.testimonialbtn:hover {
    background-color: #333;
}

#wip {
    padding: 20px 50px;
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 500px; /* Reduce the height of the hero section */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the content */
    max-width: 100%; /* Limit the maximum width of the background image */
    max-height: 500px; /* Limit the maximum height of the background image */
}

.wipbtn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #bd2a2e;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    height: 30px;
    margin: 30px auto;
    padding-top: 20px;
}

.wipbtn:hover {
    background-color: #333;
}

.formbtn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #bd2a2e;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    height: 45px;
    margin: auto;
  	border: 1px solid #bd2a2e;

}

.formbtn:hover {
    background-color: #333;
    border: 1px solid #333;
}

.formbtn:focus {
    outline: none;
}

.footanchor { 
    color: white;
    text-decoration: none;
}

.footanchor:hover {
	color: #9a9a9a;
}


/* Mobile Menu */

.mobileMenu {
    font-size: 30px;
    display: none;
    border: none;
    border-radius: 5px; /* Add border radius to buttons */
    padding: 0px 5px 3px;
    background-color: #bd2a2e;
    transition: 0.3s;
    color: white;
    cursor: pointer;
    outline: none;
}

#pleasekillme {
    background-color: #bd2a2e;
}
#legal{
	line-height: 1.6;
}

#legal h1 {
	font-size: 40px;
	font-weight: bolder;
}

#legal p{
	margin: 1em 0px;
	font-size: 18px;
}

#legal ul {
	margin: 1em 2em;
	font-size: 18px;
}

#legal li {
	margin: 1em 2em;
	font-size: 18px;
}

#legal h2 {
	font-size: 33px;
	font-weight: bolder;
}

#legal h3 {
	font-size: 24px;
	font-weight: bolder;
}
#legal td {
	font-size: 18px;
	padding: 1em;
}
thead {
	font-weight: 800;
}

@media (min-width: 1191px) {
    .mmNavLinks{ 
        display: none;
    }
}

@media (max-width: 1190px) {
    .mobileMenu {
        display: block;
    }
    
    .mmNavLinks {
        font-weight: bold;
        font-size: 20px;
        margin: 0 30%;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-out;
    }

    .logo {
        margin: 0 auto;
    }
    
    .nav-links {
        display: none;
    }
    
    #pleasekillme {
    display: block;
    justify-content: space-between; /* Distribute items evenly along the main axis */
    align-items: center; /* Center items vertically */
    text-align: center;
}

    #pleasekillme ul {
        list-style-type: none;
        display: block; /* Display the navigation links as flex items */
        margin: 0;
        padding: 0;
    }

    #pleasekillme ul li {
        position:relative;
        margin: 30px 0px;
        color: white;
    }

    #pleasekillme ul li:last-child {
        margin-bottom: 20px;
    }

    #pleasekillme ul li a {
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        border: none;
        border-radius: 5px; /* Add border radius to buttons */
        transition: background-color 0.3s, color 0.3s;
    }

    #pleasekillme ul li a:hover {
        background-color: white; /* Button color on hover */
        color: black; /* text color on hover */
    }

    
    nav {
        display:inline;
        text-align: center;
    }
    
    #header {
        display: flex;
    }
    
    hr {
        background-color: white;
        
    }
    
     .underline {
        text-decoration: underline;
    }
    
    .sublist {
        font-weight: normal;
        font-size: 15px;
    }
    
    .active, .mobileMenu:hover{
        background-color: white;
        color: black;
    }
	
}

@media print{
	
	header, footer {
		display: none;
	}
}