@import url('https://fonts.googleapis.com/css2?family=Albert+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&family=Catamaran:wght@100&family=Albert+Sans&family=Josefin+Sans:wght@300&family=Roboto:wght@100&family=Rubik:wght@700&family=Work+Sans:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0');


div {
    font-family: 'Roboto', sans-serif;
}

h1{
    font-family: 'Montserrat', sans-serif;
}

.title {
    font-family: 'Montserrat', sans-serif;
}

.topnav {
    background-color: #0D1321;
    overflow: hidden;
    display: table;
    /* centers modern browsers */
    text-align: center;
    /* centers IE6/7 */
    margin: 0 auto;
    width: 100%;
    list-style: none;
}

.topnav ul {
    display: inline;
}

.topnav li {
    float: left;
    text-align: center;
    align-items: center;
    display: inline;
}

/* Style the links inside the navigation bar */
.topnav a {
    color: #f2f2f2;
    text-align: center;
    align-self: center;
    padding: 15px 16px;
    text-decoration: none;
    font-size: 17px;
    width: 150px;
    height: 25px;
    display: block;
}


/* Change the color of links on hover */
.topnav a:hover {
    background-color: #333;
    color: #f2f2f2;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #d40000;
    color: white;
}

.topnav a.inactive {
    background-color: #F2F2F2;
}

.grid-container {
    display: grid;
    column-gap: 50px;
    column-count: 2;
}

.grid-container>div {
    text-align: center;
    padding: 50px 50px;
}

.contact-container {
    display: grid;
    column-gap: 40px;
    column-count: 2;
    padding: 10px 30px 10px 30px;
}

.item1 {
    grid-column: 1;
}

.item2 {
    grid-column: 2;
}

.map-container {
    grid-column: 1;
}

.second-grid-container {
    display: grid;
    column-gap: 20px;
    row-gap: 20px;
    column-count: 2;
}

.second-grid-container>div {
    background-color: #333F47;
    padding: 20px 20px;
}

.griditembox1 {
    color: #ffffff;
    text-align: left;
    height: 150px;
    width: 150px;
    justify-self: end;
    padding: 20px 20px;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row: 1;
    display: grid;
    border: 1px solid #333F47;
}

.griditembox1:hover{
    background-color: #f2f2f2;
    border: 1px solid #333F47;
    color:#333F47;
    animation-name: griditem;
    animation-duration: 0.5s;
}

.griditembox1:hover > div > a > span{
    color:#333F47;
}

.griditembox2 {
    color: #ffffff;
    text-align: left;
    height: 150px;
    width: 150px;
    padding: 20px 20px;
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row: 1;
    display: grid;
    border: 1px solid #333F47;
}

.griditembox2:hover{
    background-color: #f2f2f2;
    border: 1px solid #333F47;
    color:#333F47;
    animation-name: griditem;
    animation-duration: 0.5s;
}

.griditembox2:hover > div > a > span{
    color:#333F47;
}

.griditembox3 {
    color: #ffffff;
    text-align: left;
    height: 250px;
    width: 250px;
    justify-self: end;
    padding: 20px 20px;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row: 2;
    display: grid;
    border: 1px solid #333F47;
}

.griditembox3:hover{
    background-color: #f2f2f2;
    border: 1px solid #333F47;
    color:#333F47;
    animation-name: griditem;
    animation-duration: 0.5s;
}

.griditembox3:hover > div > a > span{
    color:#333F47;
}

.griditembox4 {
    color: #ffffff;
    text-align: left;
    height: 150px;
    width: 150px;
    padding: 20px 20px;
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row: 2;
    display: grid;
    border: 1px solid #333F47;
}

.griditembox4:hover{
    background-color: #f2f2f2;
    border: 1px solid #333F47;
    color:#333F47;
    animation-name: griditem;
    animation-duration: 0.5s;
}

.griditembox4:hover > div > a > span{
    color:#333F47;
}

.grid-button {
    align-self: flex-end;
    vertical-align: bottom;
}

.main-container {
    display: grid;
    column-gap: 10px;
    column-count: 5;
}

.main-container>div {
    background-color: #333F47;
    padding: 20px 20px;
}

.mainitembox {
    color: #ffffff;
    height: 300px;
    width: 15vw;
    text-align: left;
    padding: 20px 20px;
    grid-row: 1;
    display: grid;
    border: 1px solid #333F47;
}

.mainitembox:hover{
    background-color: #f2f2f2;
    border: 1px solid #333F47;
    color:#333F47;
    animation-name: griditem;
    animation-duration: 0.5s;
}

.mainitembox:hover > div > a > span{
    color:#333F47;
}

.arrow-button {
    color: #ffffff;
    text-align: left;
}


.footer-grid {
    background-color: #333F47;
    display: grid;
    column-gap: 20px;
    column-count: 3;
    width: 100%;
}

.footer-grid>div {
    padding: 20px 20px;
}

.logo {
    color: #ffffff;
    width: 200px;
    padding: 20px 20px;
}

.heading{
    padding: 0px 0px 0px 0px;
    font-family: 'Montserrat', sans-serif;
    text-align: start;
}

.small-heading{
    padding: 0px 0px 0px 20px;
    text-align: start;
    font-size: large;
}

.address {
    padding: 0px 0px 0px 0px;
    white-space: pre-wrap;
    text-align: start;
    font-size: large;
}

.index-page-links {
    display: grid;
    column-gap: 20px;
    column-count: 1;
    padding: 20px 20px;
    grid-column: 1;
}

.index-page-links>h2 {
    color: #f2f2f2;
    text-align: left;
    padding: 20px 20px;
}

.index-page-links>a {
    color: #ffffff;
    text-align: left;
    font-size: large;
    padding: 10px 20px;
}


.bottom-nav {
    display: grid;
    column-gap: 20px;
    column-count: 1;
    padding: 20px 20px;
    grid-column: 2;
}

.bottom-nav>h2 {
    color: #ffffff;
    text-align: left;
    padding: 20px 20px;
}

.bottom-nav>a {
    color: #f2f2f2;
    text-align: left;
    font-size: large;
    padding: 10px 20px;
}

.last-column {
    color: #f2f2f2;
    grid-column: 3;
}

.last-column>div {
    white-space: pre-wrap;
    padding:0px 0px 0px 3px;
}

.last-column>img{
    width: 120px;
    height: auto;
    padding:40px 0px 0px 0px;
}

.white-text {
    color: #ffffff;
}

.background{
    background-color: #f2f2f2;
}

.center-coming-soon{
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
}

.center-coming-soon>div{
    text-align: center;
    font-size: 60px;
    font-family: 'Josefin Sans';
    color: #0D1321;
}

.submit{
    padding: 20px 20px 20px 20px;
    width: 200px;
    font-size: large;
    cursor: pointer;
    border: 1px solid #333F47;
}

.submit:hover {
    background-color: #333F47;
    color: #f2f2f2;
    animation-name: submit;
    animation-duration: 0.5s;
}

.submit:after{
    background-color: #7A0000;
    color: #FFFFFF;
}


.learnmore{
    padding: 20px 20px 20px 20px;
    border: solid 2px #333F47;
    border-radius: 0px;
    font-size: large;
    text-align: start;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    color:inherit;
    text-decoration: none;
}

.learnmore:visited{
    text-decoration: none;
    color: #0D1321;
}

.learnmore > span{
    vertical-align: middle;
}

.learnmore:hover {
    background-color: #333F47;
    color: #FFFFFF;
    animation-name: learnmore;
    animation-duration: 0.5s;
}


.about{
    padding: 20px 20px 20px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.banner{
    height: 600px;
    background-image: url("../images/banner.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    text-align: center;
}

.banner>div>h1{
    position:absolute;
    top: 550px;
    width: 99%;
    text-align: right;
    color: #F2F2F2;
    font-family: 'Roboto';
    font-size: 50px;
}

@keyframes submit{
    from {
        background-color: #f2f2f2;
        color: #0D1321;
    }
    to {
        color: #f2f2f2;
        background-color: #333F47;
    }
}

@keyframes learnmore{
    from {
        background-color: #ffffff;
        color: #0D1321;
    }
    to {
        color: #FFFFFF;
        background-color: #333F47;
    }
}

@keyframes griditem {
    from{
        background-color: #333F47;
        color: #f2f2f2;
    }

    to{
        background-color: #f2f2f2;
        color: #333F47;
    }
}

body {
    position: relative;
    min-height:100vh;
    margin:0;
    position:relative;
}

body::after {
    content: '';
    display: block;
    height: 200px; /* Set same as footer's height */
}

footer {
    position: absolute;
    bottom: 0;
    height: 200px;
    width: 100%;
}

input[type=text], select, textarea {
    width: 100%; /* Full width */
    text-align: left;
    padding: 12px; /* Some padding */ 
    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) */
}