@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html{
    min-height: fit-content;
    margin: 0;
    padding: 0;
}

body{
    height: fit-content;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Montserrat";
    color: white;
}

.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    transform: translateY(-100%);
    animation: slideIn 1.5s forwards;
}

@keyframes slideIn {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
  }

.ribbon{
    height: 2rem;
    width: 100%;
}

.ham-menu{
    height: 2rem;
    width: 100%;
    color: #021F48;
}

.nav-bar{
    display: flex;
    width: 100%;
    justify-content: center;
    color: #021F48;
    font-weight: 500;
    letter-spacing: 1px;
    padding-top: 2rem;
    font-size: larger;
    z-index: 10;
}

.nav-link{
    margin: 0 1.5rem;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;

}

.nav-link a:hover{
    color: #c69c6d;
}

.activebar{
    width: 100%;
    height: 0.3rem;
    background-color: #c69c6d;
}

#header-top{
    background-image: linear-gradient(to left, #153B71, #021f48);
}

#logo{
    display: flex;
    flex-direction: column;
    margin: 0 1.5rem;
}

.body-content{
    min-height: 100vh;
    width: 100%;
}

.footer{
    width: 100%;
    font-size: small;
    position: relative;
}

#footer-body{
    padding-bottom: 8rem;
    padding-top: 8rem;
    background-image: radial-gradient(50rem at 80% top, #153B71, #021f48 90%);
}

#footer-grid{
    display: grid;
    grid-template-areas:'marginleft left left right right marginright';
}

.column{
    display: flex;
    flex-direction: column;
}

#col1{
    grid-area: left;
    width: 100%;
}

#footer-right-block{
    justify-content: right;
    grid-area: right;
    width: 100%;
    display: grid;
    opacity: 75%;
    grid-template-areas:'f-left f-middle f-right'
                        'footer footer footer';
}

#col2{
    grid-area: f-left;
}

#nav-links{
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-bottom: 3rem;
}

#col3{
    grid-area: f-right;
}

.social-links{
    display: flex;
    flex-direction: column;
    align-items: end;
}

#copyright{
    width: 100%;
    grid-area: footer;
    align-items: start;
    bottom: 0;
    display: flex;
    align-items: end;
}

#footer-logo{
    display: flex;
    flex-direction: column;
}

#footer-contact{
    display: flex;
    flex-direction: column;
}

#footer-base{
    background-color:#c69c6d; 
}

img {
    max-width: 6rem;
    height: auto;
}

p{
    padding: 0;
    margin: 0.8rem 0rem;
}

.footer-logo{
    margin-top: 0.8rem;
}

.footer-logo-text{
    margin-top: 1rem;
    margin-bottom: 3rem;
}

a{
    text-decoration: none;
}

.nav-bar a {
    color: #021F48;
}

.footer a {
    color: white;
}

.footer a :hover {
    text-decoration: underline;
}

.dynamicdate{
    opacity: 75%;
}

#cell-num{
    font-size: medium;
}

#header-logo{
    width: 10rem;
}

#footer-top{
    position: absolute;
    display: grid;
    place-items: center;
    bottom: 37rem;
}

#return-top{
    grid-column: 9/12;
    width: 3rem;
    height: 3rem;
    background-color: #c69c6d;
    border-radius: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#return-top:hover{
    background-color: #021F48;
}

#return{
    z-index: 11;
    min-height: 1rem;
    min-width: 1rem;
    margin-top: 0.3rem;
}

.hide-ele{
    display: none;
}

.mobile-menu{
    display: none;
} 

.check{
    display: none;
}

