@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

main h3 {
    margin-top: 1rem;
}

main p {
    text-indent: 4rem;
}

.sql-main {
    margin: auto;
    overflow: scroll;
}

/* ########## NAVIGATION BAR ########## */
.toggle-button {
    display: none;
}

.navigation-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: gainsboro;
    font-family: 'Poppins', sans-serif;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 4rem;
    padding-right: 4rem;
}

.navigation-links {
   display: flex;
   justify-content: space-between;
   align-items: center;
   list-style-type: none;
}


.navigation-links a {
    text-decoration: none;
    color: black;
    margin-left: 2rem;
}

.navigation-bar a:hover:not(.nav-form-button) {
    color: orange;
}

.nav-form-button {
    border-radius: 3.125rem;
    padding: 0.6rem 1.5rem;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: orange;
}

.nav-form-button a {
    border-radius: 3.125rem;
    padding: 0.6rem 1.5rem;
}

.nav-form-button:hover {
    background-color: rgb(100, 100, 100);
}


.logo {
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;    
}

.logo a {
    text-decoration: none;
    color: black;
}

/* ########## LANDING PAGE ########## */
.landing {
    background: url(../images/landing.jpg) no-repeat center fixed;
    height: 93vh; 
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.landing-button {
    border-radius: 3.125rem;
    padding: 1rem 2rem;
    width: 10rem;
    margin: 0 auto;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    color: black;
    background-color: orange; 
    animation: fade-in 2s;
}

.landing-button:hover {
    background-color: rgb(100, 100, 100);
    box-shadow: 0 0 2rem black;
    color: gainsboro;
}

.landing-message {
    text-align: center;
    text-transform: uppercase;
    font-size: 6rem;
    padding-left: 8rem;
    padding-right: 8rem;
    animation: fade-in 2s;
}



/* ########## CALENDAR ########## */
.calendar-container {
    text-align: center;
    padding-top: 1rem;
    height: 60vh;
}

.calendar {
    max-width: 100%;
    max-height: 100%;
}

/* ########## MAIN ########## */
main {
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.notice {
    font-style: italic;
}

.table-resources-container {
    overflow: scroll;
}

.table-resources {
  font-size: 0.8rem;
}

th {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  background-color: #f2f2f2;
}

td {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: lightyellow;
}

.table_notice td {
    font-style: italic;
    background-color: orangered;
}
          
.table_sources td {
    background-color: #f2f2f2;
}

.table_sources a {
    text-decoration: none;
    color: blue;
}

.table_sources a:hover{
  color: orange;
}

/* ########## FOOTER ########## */
.footer {
    display: flex;
    flex: 1;
    justify-content: space-around;
    background-color: gainsboro;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 8rem;
    padding-right: 8rem;
}

.footer-links ul {
    list-style-type: none;
}

.footer-links a {
    text-decoration: none;
    color: black;
}

.footer-links a:hover {
    color: orange;
}

h4 {
    margin-bottom: 1rem;
}

/* ########## SOCIAL MEDIA ########## */
.social-media a {
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    text-decoration: none;
}

.social-media-list {
    display: flex;
    width: 8rem;
    list-style-type: none;
}

.fa {
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  padding-top: 0.5rem;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.fa-twitter {
    background-color: #55ACEE;
    color: white;
}

.fa-facebook {
    background-color: #3B5998;
    color: white;
}

.fa-instagram {
    background-color: #125688;
    color: white;
}


/* ########## FORM ########## */
.frmJoin {
    max-width: 40vw;
    margin: 1rem auto;
    padding: 2rem 2rem 0rem 2rem;
    border-radius: 1rem;
    background-color: #f2f2f2;
    line-height: 2rem;
}

.frmJoin p {
    text-indent: 0;
}

.frmJoin fieldset {
    border: none;
}

.frmJoin legend {
    font-weight: bold;
}

.frmJoin fieldset:not(.fldContactInformation):not(.fldSubmit) {
    margin-top: 1rem;
}

.fldContactInformation p {
    display: flex;
    flex-direction: column;
}

.frmJoin [type="text"], .frmJoin [type="email"] {
    border: none;
    border-radius: 0.4rem;
    outline: none;
    padding: 0.5rem;
}

.frmJoin select {
    border: none;
    outline: none;
    padding: 0.5rem;
}

.frmJoin textarea {
    height: 6em;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
}

.fldSubmit {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#btnSubmit {
    background-color: orange;
    outline: none;
    border: none;
    padding: 0.5rem 1rem;
    -webkit-appearance: none;
}

#btnSubmit:active {
    background-color: rgb(100, 100, 100);
}

.mistake {
    color: red;
    font-style: italic;
    font-weight: bold;
}

.success {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 6rem;
}


/* ########## ACTIVE PAGE ########## */
.activePage { 
    font-weight: 900;
}

/* ########## FIGURES ########## */
.figures {
    text-align: center;
    float: right;
    max-width: 10rem;
    margin: 0.5rem;
}

.figures img {
    max-width: 100%;
}


/* ########## TRANSITION ########## */
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}