*{
    margin: 0%;
    padding: 0%;
    font-family: 'Overpass', sans-serif;
}
.header{    /*Background Colour Gradient for image*/
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/image_2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{   /*Header Space*/
    display: flex;
    padding: 0% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 35px;
    padding-top: 80%;
}
.nav-links{
    flex: 1;
    text-align: center;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 20px 20px;
    position: relative;
}
.nav-links ul li a{    /*Header Menu Colour*/
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{    /*Header Menu Under Lines*/
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336; 
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{  /*Header Menu Lines Animation*/
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 15px;
    color: #fff;
}
.button_1{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.button_1:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa{
    display: none;
}
.sub-menu-1{
    display: none;
}
.nav-links ul li:hover .sub-menu-1{
    display: block;
    position: absolute;
    background-color: rgba(4, 9, 30, 0.7);
    margin-top: 15px;
    margin-left: 15px;
}
.nav-links ul li:hover .sub-menu-1 ul{
    display: block;
    margin: 10px;
}
.nav-links ul li:hover .sub-menu-1 ul li{
    width: 120px;
    padding: 10px;
    border-bottom: 1px dotted #fff;
    background: transparent;
    border-radius: 0;
    text-align: left;
}
.nav-links ul li:hover .sub-menu-1 ul li:last-child{
    border-bottom: none;
}

@media(max-width: 700px){ /*For Responsive Design*/
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}


/* ------ Assignment List ------ */
.assignment_list{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 15px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}


.row{
    margin-top: 5%;
    display: flex;
    flex-basis: 100%;
    justify-content: space-around;
}
.assignment_list-col{
    flex: 1;
    display: inline-block;
    text-decoration: none;
    background-color: #ffd4d4;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align:center;
    font-weight: 600;
    margin: 10px 0;
}
.assignment_list-col:hover{
    box-shadow: 0 0 20px 0 rgba(0, 0 ,0 ,0.2);
}

.assignment_list-col-1{
    flex: 1;
    display: inline-block;
    text-decoration: none;
    background-color: #ffd4d4;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}


.assignment_list-col-1:hover{
    box-shadow: 0 0 20px 0 rgba(0, 0 ,0 ,0.2);
}
.assignment_list-col-2{
    flex: 1;
    display: inline-block;
    text-decoration: none;
    background-color: #ffd4d4;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}


.assignment_list-col-2:hover{
    box-shadow: 0 0 20px 0 rgba(0, 0 ,0 ,0.2);
}
.assignment_list-col-3{
    flex: 1;
    display: inline-block;
    text-decoration: none;
    background-color: #ffd4d4;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.assignment_list-col-3:hover{
    box-shadow: 0 0 20px 0 rgba(0, 0 ,0 ,0.2);
}


@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

/* ---- Assignment Preview ---- */
.assignment_preview{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
@media(min-width:768px){
}

/* ---- Call to Action ---- */
.call_to_action{
    margin: 100px auto;
    width: 90%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.7)), url(/images/image_7.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 30px;
    text-align: center;
    padding: 2% 0;
}
.call_to_action h1{
    font-size: 30px;
    color: #fff;
    margin-bottom: 20px;
    padding: 2%;
}
.contact_btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background:transparent;
    position: relative;
    cursor: pointer;
}
.contact_btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}
@media(max-width: 700px){
}
 

/* ----- Assignment Page -----*/
.header_01{    /*Background Colour Gradient for image*/
    max-height: 20vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/image_2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.body_01{
    /*background-image: url(/images/image_10.jpg);*/
    background-color: rgb(0, 24, 43);
    background-repeat: inherit;
    background-size: cover;
    line-height: 1.65;
    padding: 20px 50px;
    display: flex;
}

.box-1{
    margin: auto;
    padding: 5%;
}

.iframe_padding{
    padding-top: 10%;
    padding-bottom: 2%;
}
.iframe_padding0{
    padding-bottom: 4%;
}
.iframe_yt{
    align-items: center;
}


/* dagm code */

/*
.nav-links ul li a.active{
    color:#f44336;
}
main{
    position: relative;
}
main .contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    position: absolute;
    top: 150px;
    left: 480px;
    background-color: #2a2a2a;
    padding: 40px 100px;
    color: white;
}

main .contact input, textarea{
    padding: 5px 100px 0 0;
    margin-top: 10px;
}
main .contact button{
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    cursor: pointer;
    background-color: #f44336;
    border: 1px solid #f44336;
}
*/

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}