


body {
	font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Apply 'Montserrat' font for heading elements */
h1, h2, h3, h4, h5, h6 {
	color:#DBD642;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Apply 'bold' style for headings */
	padding: 7px;
}




.container {
    max-width: 1462px;
    margin: auto;
    background: linear-gradient(to left, #4A1D8F, black);
}

header {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
	padding:5px;
}



.title {
   
    align-items: center;
    color: #DBD642;
    font-family: 'Lilita One', cursive;
    font-size: 4em;
    background: linear-gradient(to left, #4A1D8F, black);
   
    width: 100%;
    box-sizing: border-box;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #DBD642;
    font-family: 'Lilita One', cursive;
    font-size: 1em;   
    width: 100%;
    box-sizing: border-box;
}


img {
    max-width: 100%;
    height: auto;
}



em {    
    font-size: .5em;
    font-style: italic;
}


nav {
    width: 25%; 
  
    box-sizing: border-box;
    border: 4px solid #DBD642;
	border-right: none;
    
}


nav p {
	padding:7px;
}

aside p {
	margin-top: 0;
	padding: 7px
}

#navh2 {
	padding: 7px;
}
.mainpage {
    display: flex;
    justify-content: space-between; /* Align items on the horizontal line */
    width: 100%;
    box-sizing: border-box;

}

#formnav {
	border:0;
}


figure {
    position: relative;
    width: 100%; /* Specify width */
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin: 2px;
    overflow: hidden;
}
.video-overlay-link {
  position: absolute;
  top: 0;
  bottom: 50%;
  left: 0;
  right: 0;
}

figcaption {
    position: absolute;
    top:20%;
    left: 75%;
    transform: translate(-50%, -50%);
    color: #DBD642;
    font-family: 'Lilita One', cursive;
    font-size: 1em;
    text-align: center;
    background: rgba(0, 0, 0, 0.5); /* Add some background to make text visible */
    padding: 5px;
}

.video-link {
    position: absolute;
    top: 0;
    left: -4px;
    width: 100%;
    height: 100%;
    border-color: #4A1D8F;
    border-width: 0px;
  
    object-fit: cover; /* This ensures video scales to fit its container while maintaining aspect ratio */
	/* Setting max-width to 100% will ensure that your videos scale down properly on smaller screens. */
    max-width: 100%;
    /* Setting height to auto will maintain the aspect ratio of the video. */
    height: auto;
}


aside {
    display: flex;
    flex-direction: column;  
    justify-content: flex-start;
    width: 200px; 
    
    box-sizing: border-box;
	border: 4px solid #DBD642;
	border-left: none;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
	
}

aside ul {
	display:flex;
	flex-direction: column;
    align-items: flex-start;
	padding: 15px;
	margin: 0;
	list-style-type: none;
	text-align: center;
}

aside li {
	padding:30px;
}

aside h3 {
	display:flex;
	flex-direction: column;
    align-items: flex-start;
	color: #DBD642;

	text-align: center;
	margin-block-end:0;
}

aside img {
	display:flex;
	flex-direction: column;
    align-items: flex-start;
	width: 100px;
	height: 100px;
}

main {
	width: calc(75% - 200px); /* Subtract the aside's width from the main width */
	box-sizing: border-box;
	border: 4px solid #DBD642;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}








h1 {
    font-size: 2em;
	color:#DBD642;
	padding: 10px;
	margin: auto;
}

p {
		font-family: 'Open Sans', sans-serif;
    		font-weight: 400; /* Regular style for paragraphs */
    font-size: 1em;
	color:#DBD642;
    line-height: 1.6;
    margin-bottom: 10px;

}

button {
		
    			font-family: 'Raleway', sans-serif;
    			font-weight: 500; /* Medium weight looks good on 			buttons */
    			

    padding: 10px 20px;
    margin: 10px;
    font-size: 1em;
    color: #DBD642;
    background-color: black;
    border: none;
    cursor: pointer;
}

.button-style {

    display: inline-block;
    padding: 10px 20px;
	margin: 10px;
    background-color: #4A1D8F;
    color: #DBD642;
    text-decoration: none;
    border: none;
    cursor: pointer;
    /* Add any other styles you want for your button here */
}


main p {
	font-size: 1.5em;
	color:#DBD642;
    line-height: 1.4;
    margin-bottom: 0px;
	padding: 0px 20px 0px 20px;
}

br {
	line-height: 2
}

#logo {
	position: absolute;
    top: 0;
  left: 250px;
margin:0;
   
}

/* Styling for the table */

table {
	padding: 10px;
}

.responsive-table {
    width: 100%;
    overflow-x: auto;
    display: block;
}




.responsive-table th, .responsive-table td {
    padding: 15px;
    text-align: left;
}

.responsive-table th {
    background-color: #4A1D8F;
    color: #DBD642;
}

.responsive-table tr:nth-child(even) {
    background-color: #A366FF;
	color: #DBD642;
}

.responsive-table tr:nth-child(odd) {
    background-color: #8042DB;
	color: #DBD642;
}

/* Styling for the Back to Main Page link */
#back2main {
    display: inline-block;
    margin: 15px;
    padding: 10px;
    background-color: #4A1D8F;
    color: #DBD642;
    text-decoration: none;
}

nav a:hover {
    background-color: #6e42aa;
}

#recruit-form {
    width: 60%;
    margin: auto;
    padding: 20px;
    background: linear-gradient(to left, #4A1D8F, black);
    box-sizing: border-box;
    color: #DBD642;
}

#recruit-form fieldset {
    border: none;
}

#recruit-form legend {
    font-family: 'Lilita One', cursive;
    font-size: 2em;
    text-align: center;
    padding: 10px;
}

#recruit-form label {
    display: block;
    margin-bottom: 10px;
}

#recruit-form input[type="text"], #recruit-form input[type="email"], #recruit-form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#recruit-form #skills label {
    display: inline-block;
    margin-right: 10px;
}

#recruit-form input[type="submit"], #recruit-form input[type="reset"] {
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 1em;
    color: #DBD642;
    background-color: black;
    border: none;
    cursor: pointer;
}




/* Dropdown Menu CSS */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #8042DB;
    min-width: 160px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    z-index: 1;
}

.dropdown-content a {
    color: #DBD642;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #6e42aa;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    background-color: #4A1D8F;
    color: #DBD642;
    padding: 10px 16px;
    font-size: 1em;
    border: none;
    cursor: pointer;
}

.dropbtn:hover {
    background-color: #6e42aa;
}






/* For mobile screens */
@media only screen and (max-width: 767px) {
    .mainpage {
        flex-direction: column;
    }

    nav, main, aside {
        width: 100%;
    }
}



/* For tablet screens */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .mainpage {
        flex-direction: row;
        flex-wrap: wrap;
    }

    nav, main {
        width: 50%;
    }

    aside {
        width: 100%; /* If you want the aside to span full width like a footer */
    }
}

/* For small desktop screens */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .mainpage {
        flex-direction: row;
    }

    nav {
        width: 25%;
    }

    main {
        width: 50%;
    }

    aside {
        width: 25%;
    }
}

/* For large desktop screens */
@media only screen and (min-width: 1200px) {
    .mainpage {
        flex-direction: row;
    }

    nav {
        width: 25%;
    }

    main {
        width: 50%;
    }

    aside {
        width: 25%;
    }
}

