/* 
    General CSS file for overall website styling
*/

* {
    box-sizing: border-box;
}

:root {
    --outline-color: #45486E;
    --pale-blue: #E0E3FF;
    --blue-lighter: #BCC2FF;
    --blue-darker: #ADB2E9;


    --menu-background: #5083BE;
    --menu-highlight-selected: #285992;
    --menu-highlight-hover: #79afee;
  }  

body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0 auto;
    min-height: 10px;
    max-height: 100px;
    background-color:#e0e3ff;
}
/* row */

.row {
    display: flex;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    margin: 0 auto;
}

header h1 {
    font-size: 2em;
    margin: 0;
}


/* Navigation */

nav {
    display: flex;
    justify-content: space-around;  
    align-items: center;
    background-color: var(--menu-background);
    padding: 0 10px; 
    position: sticky;
    top: 0; 
    width: 100%; 
    z-index: 10; 
}

nav a {
    color: #FFF;
    padding: 25px 18px;
    text-decoration: none;
    flex-grow: 1; 
    text-align: center; 
    transition: background-color 0.3s ease; 
}

nav a:hover,
nav a.current {
    background-color: var(--menu-highlight-hover);
    color: #000;
}


/* Image */
.image {
    position: relative;
    text-align: center;
    color: rgb(110, 109, 109);
}
/* .image figure {
    flex-basis: 100px;
    flex-direction: row;
    float: left;
} */

.image figure img {
    height: 100%;
    width: 100%;
    /* border-radius: 10%; */
    background-repeat: no-repeat;
}
.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* info_bdeforeReg */
.info {
    margin: 50px;
    border-radius: 15px;
}
.info p{
    background-color:#e0e3ff;
}
.info h1{
    text-align: center;

}

.faq h1 {
    text-align: center;
}
.faq details{
    margin: 5px;
    padding: 5px 20px;
    border-radius: 15px;
    background-color: #c5bfbf;
    color: #000000;
}

/* Sign In and Register */
label {
    display: block;
  }
  
  input[type='submit'],
  label {
    margin-top: 1rem;
  }
 
/* Footer */
footer {
    /* margin: 50px;
    border-radius: 15px; */
    /* font-family: "Raleway", sans-serif; */
    justify-content: flex-end;
    padding: 2px;
    left: 0px;
    text-align: center;
    min-width: 100%;
    color: #ffffff;
    background-color: #5083BE;
    font-size: medium;
    float: right;
}

/* footer {
    background-color: #5083BE;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
} */

h1.logo {
    font-family: 'Roboto', sans-serif; /* Or your chosen font */
    background: -webkit-linear-gradient(#5361db, #285992); /* Gradient for WebKit browsers */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Make the text color transparent to show the background */
    background-clip: text;
    color: #285992; /* Fallback color for browsers that do not support background-clip */
    display: inline-block; /* Required for the border to fit around the text */
    padding: 5px; /* Optional: Adds some spacing around the text within the border */
    margin-bottom: 0.5em; /* Adjust as needed */
    text-align: center;
}

.rounded-image {
    border-radius: 20px;
    position: relative; 
    margin-top: 30px;
}

#running-person {
    position: absolute;
    top: -14%; /* Adjust this value to move the runner down from the top */
    left: 0;
    z-index: 10;
    animation: runAcross 20s linear infinite;
    transform: scale(0.5);
}
  
@keyframes runAcross {
    0% {
      transform: translateX(-100%) scale(0.3); 
    }
    100% {
      transform: translateX(550%) scale(0.3);
    }
}
  .info-header {
    display: flex;
    align-items: center; 
    justify-content: center;
  }
 
  .about-gif {
    height: 100px; 
    width: auto; 
    margin-left: 20px; 
  }

