@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Geologica:wght@100;200;300;400;500;600;700;800;900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

*{
    margin: 0;
}

body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-font{
    font-family: 'Geologica', sans-serif;
}
.header {
    /*background: #4ECDC4;  !* fallback for old browsers *!*/
    /*background: -webkit-linear-gradient(to right, #556270, #4ECDC4);  !* Chrome 10-25, Safari 5.1-6 *!*/
    /*background: linear-gradient(to right, #556270, #4ECDC4); !* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ *!*/
    background-color: #1e4380;
    /*background-image: linear-gradient(to right, #1e4380 0%, #2458a6 100%);*/
    padding: 20px;
    color: white;
    font-family: 'Geologica', sans-serif;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 100000;

}

.header-inner-wrapper{
    display: grid;
    grid-template-columns: 25% 75%;
}

.navlink-wrapper{
    text-align: end;
}

.navlink{
    margin-right: 30px;
    color: white;
    text-decoration: none;
    -webkit-transition: color 0.1s ease-in-out;
    -moz-transition: color 0.1s ease-out;
    -o-transition: color 0.1s ease-out;
    transition: color 0.1s ease-out;
    font-size: larger;
    transition: transform .2s;
    font-family: 'Roboto', sans-serif;


}

.navlink:hover{
    transform: scale(1.1);
    color: #d5d4d4;

}

.header-contact-details{
    text-align: right;
    font-family: 'Roboto', sans-serif;
    margin-top: 15px;
}

.heading-text{
    font-family: 'Geologica', sans-serif;
}

.bs1{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.body-text {
    line-height: 2.2;
    font-family: 'Montserrat', sans-serif;
}

.add-whitespace{
    white-space: break-spaces;
}

.small-lines{
    line-height: 1.7;
}

.big-lines{
    line-height: 2.7;
}

.footer{
    /*background: #4ECDC4;  !* fallback for old browsers *!*/
    /*background: -webkit-linear-gradient(to right, #556270, #4ECDC4);  !* Chrome 10-25, Safari 5.1-6 *!*/
    /*background: linear-gradient(to right, #556270, #4ECDC4); !* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ *!*/
    /*background-image: linear-gradient(to right, #1e4380 0%, #2458a6 100%);*/
    background-color: #1e4380;
    padding: 20px;
    bottom: 0;
    color: white;
    margin-top: auto;
    font-family: 'Geologica', sans-serif;
}

.mid-fade-in {
    opacity: 0;
    animation: mid-fade-in 1.5s ease-out forwards;
}

@keyframes mid-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.responsive-text-wrapper-centered{
    text-align: center;
    width: 50vw;
    margin: auto;
}

@media (max-width: 600px){
    .responsive-text-wrapper-centered{
        width: 70vw;
    }
}

@media (max-width: 500px){
    .responsive-text-wrapper-centered{
        width: 85vw;
    }
}

/* Page content */
.content {
    padding: 16px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 100%
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
    padding-top: 102px;
}


/*FOOTER STUFF*/
.footer-wrapper{
    margin-top: 2vh;
    background-color: #20283F;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
    color: white;
    font-family: Oswald;
    position: absolute;
    /*bottom: 0;*/
    width: 100%;
    box-shadow: 0 0 10px 0 rgba(#888282);
}

.footer-inner-wrapper{
    width: 50vw;
    margin-left: 25vw;
    margin-right: 25vw;
}

.footer-wrapper h2{
    font-size: 1rem;
}

.footer-wrapper p{
    font-size: 0.8rem;
}

.footer-links-wrapper{
    margin-top: 20px;
    display: grid;
}

.footer-links-wrapper a{
    /*margin-left: 20px;*/
    font-size: 15px;
    text-decoration: none;
    color: white;
    transition: transform .2s; /* Animation */
}

.footer-links-wrapper a:hover{
    text-decoration: white;
    color: #fefd07;
}

.heading-text{
    color: #1e4380;
}

.old-heading-text{
    color: blue;
}

/*test dropdown code below*/

.navbar {
    overflow: hidden;
    background-color: #333;
}

.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}


.main-header {
    background-color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 1rem;
}

.brand-text h1 {
    font-family: 'Geologica', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    color: #000;
}

.brand-text .tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #444;
    margin: 0;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav .navlink {
    color: #111;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: color 0.2s ease-in-out;
}

.main-nav .navlink:hover {
    color: #1e4380;
}

header{
    position: fixed;
}

main{
    margin-top: 100px;
}