html{
  scroll-behavior: smooth;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Loading screen styles */
  .loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff4b4b;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  /* TEXT FORMATS*/

  a{
    color: #ffffff;
  }

  body{
    font-family: 'Nunito', sans-serif;
    color: #ffffff;
    font-size: 18px;
  }
  body h1, body button {
    font-family:'Bebas Neue', sans-serif;
    color: #ffffff;
  }

  body p{
    font-family:'Nunito', sans-serif;
    color: #ffffff;
    font-size: 18px;
  }

  .p_black{
    color: #1D1616;
  }

  .text-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: justify;
  }

  .text-content p {
    color: #ffffff;
  }

  .text-content .p_black{
    color: #1D1616;
  }


  .overview-section h2, .data-section h2{
    font-family: 'Agrandir-Bold', sans-serif;
    font-style: italic;
    font-size: 35px;
    color: #ffffff;
    margin-bottom: 20px;
  }

  .section-label{
    color: #ff4b4b;
    border: 1px solid;
    border-radius: 15px;
    padding: 2px 15px;
    font-size: 15px;   
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;  

    margin-bottom: 10px;
  }

  .section-header h2{
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    color: #ff4b4b;
    font-style: normal;
    margin: 0;

  }

  .hypo-title{
    color: #ff8c8c;
    font-family: 'Agrandir-Bold', sans-serif;
    font-size: 20px;
    margin-bottom: 5px;
  }

  .prob-sol-text h2{
    font-size: 28;
    color: #ff8c8c;
  }

  .col-con-container h2{
    font-family: 'bebas-neue', sans-serif;
  }

  /* BG IMAGE */   
  .home-section, .overview-section, .data-section, .methods-section, .results-section, .team-section{
      /*radial-gradient(ellipse, #8E1616 40%, transparent 70%),
      radial-gradient(ellipse at bottom, #D84040); */
      /*background-image: url(/bg-image.svg);*/
      background-color: #340101;
  }

  /* Navigation Bar */
  .nav-container{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  #navbar {
    position: fixed;
    padding: 15px 50px;
    z-index: 1000;
    transition: top 0.2s ease-in-out;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    top: 20px; /* visible position */
}

  #navbar.hide {
      top: -100px; /* move it fully above the viewport */
  }

  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 45px;
  }
  
  nav ul li a {
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 15px;
   }
  
  nav ul li a:hover {
    color: #850101;
    font-weight: bold;
  }
  
  nav ul li a:active {
    color: #560000;
  }


  /* home section*/
  .home-section {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 250px 20px 0;
  }

  .home-content h1 {
    font-size: 100px;
    color: white;
  }

  .home-content p{
    font-weight: 100;
    font-size: 20px;
  }

  .life, .love, .lawbreaking {
    transition: color 0.3s;
    cursor: pointer;
  }

  .life:hover {
    color: #053401;
  }

  .love:hover {
    color: #1f0134;
  }

  .lawbreaking:hover {
    color: #210101;
  }

  .life.hovered {
    color: #053401;
  }

  .love.hovered {
    color: #1f0134;
  }

  .lawbreaking.hovered {
    color: #210101;
  }

  /* overview-section */
  .overview-section{
    min-height: 100vh;
    color: #272727;

    display: flex;
    flex-direction: column; 
    align-items: center;

    padding: 0 20px;
  }

  .overview-container{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 120px;

    padding: 80px 0 100px;
    max-width: 70%;

  }

  .research-questions{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .rquestion-text-container{
    padding: 20px 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .rquestion-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }

  .question-number{
    color:#ff4b4b;
    font-size: 70px;
    font-weight: bold;
    font-style: italic;
    font-family: 'Bebas Neue', sans-serif;
  }

  .hypothesis-container{
    display: flex;
    flex-wrap: wrap;

    gap: 70px;  
    padding: 20px 0;
  }

  .hypothesis-content{
    flex: 1 1 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;

    background-color: #eeeeee;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    padding: 2.5rem;
    border-radius: 20px;
  }

  /* data-section */
  .data-section, .methods-section{
    min-height: 100vh;

    display: flex;
    flex-direction: column; 
    align-items: center;

    padding: 100px 20px;
    gap: 50px;
  }

  .data-container{
    max-width: 80%;
  }

  .data-section-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 20px;
  }

  .data-collection-container{
    display: flex;  
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

    padding: 20px 0;
  }

  .data-collection-notes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .data-collection-notes p{
    font-size: 10px;;
  }

  .notes-logo {
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: center;
    align-items: top;
  }

   .notes-logo .notes-tooltip{
    font-family: 'Nunito', sans-serif;
    color: white;
    background-color: gray;
    border-radius: 5px;
    padding: 10px;
    font-size: 12px;
    opacity: 0;

    position: absolute;
    bottom: 40px;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: normal;
    min-width: 230px;
  }

  .notes-tooltip-urban{
    font-family: 'Nunito', sans-serif;
    color: white;
    background-color: gray;
    border-radius: 5px;
    padding: 10px;
    font-size: 12px;
    opacity: 0;

    position: absolute;
    bottom: 40px;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: normal;
    min-width: 230px;
  }

  .notes-logo:hover .notes-tooltip {
    opacity: 1;
  }

  .notes-logo:hover .notes-tooltip-urban {
    opacity: 1;
  }

  .notes-logo-container{
    display: flex;
    justify-content: space-between;
    align-items: top;
  }

  .notes-logo-container svg{
    fill: #f6f6f6;
    height: 25px;
    width: 25px;
  }

  .notes-logo-container svg:hover{
    fill: #6d6d6d;
  }

  .button-container{
    display: flex;
    flex-direction: column;

    gap: 15px;
    margin-top: 30px;
  }

  .collapsible{
    background-color: transparent;
    color: white;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: none;
    border-radius: 1.5rem;
    padding: 10px 30px;

    font-size: 30px;
    margin: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .collapsible-container{
    text-align: center;
  }

  .collapsible-content{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;

    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .active, .collapsible:hover{
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  .collapsible.active img{
    transform: rotate(180deg);
  }

  .collapsible img{
    transition: transform 0.3s;
  }

  .collapsible button:active{
    transform: rotate(180deg);
  }

  .col-con-container{
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 2rem;
    border-radius: 1.5rem;

    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    background-color: #862c2c;
  }

  .data-understanding, .data-preparation{
    font-family: 'Nunito', sans-serif;
    font-size: 19px;
    margin-bottom: 100px;
    margin-top: 20px;
  }

  .tab {
    overflow: hidden;
    padding-left: 20px;
  }

  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 50px;
    transition: 0.3s;

    font-size: 25px;
    margin-top: 10px;

    border-top-right-radius: 1.5rem;
    border-top-left-radius: 1.5rem;
  }

  .tab button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  .tab button.active {
    background-color: #862c2c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  .tabcontent {
    display: none;
    padding: 2rem;
    border-radius: 1.5rem;
    font-size: 18px ;

    background-color: #862c2c;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  .dataset-links-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;

    padding: 30px 30px 50px 30px;
  }

  .dataset-button{
    text-decoration: none;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block; 
    transition: all 0.3s ease;
  }

  .dataset-button:hover{
    background-color: white;
    color: #ff4b4b;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: scale(1.2);
  }

  .plot-button{
    text-decoration: none;
    display: inline-block;
    background-color: white;
    color: transparent;
    padding: 10px 30px;

    color: black;
    border-radius: 20px;
    transition: all 0.3s ease;
  }

  .eda-button{
    text-decoration: none;
    display: inline-block;
    background-color: white;
    color: transparent;
    padding: 20px 50px;

    color: black;
    border-radius: 2.5rem;
    transition: all 0.3s ease;
  }

  .plot-button:hover, .eda-button:hover{
    background-color: #ff4b4b;
    color: white;
    transform: scale(1.2);
  }

  .eda-button:hover{
    background-color: #ff4b4b;
    color: white;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.5);
    transform: scale(1.5);
  }

  /* results-section */
  .results-section{
    min-height: 100vh;
    padding: 100px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* team-section */
  .team-section {
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
  }
  
  .team-content {
    text-align: center;
    width: 100%;
  }
  
  .team-caption h1 {
    font-size: 55px;
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
    padding-top: 20px;
  }
  
  .team-caption p {
    font-size: 1.3rem;
    margin-bottom: 40px;
  }
  
  .team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .team-member {
    height: 600px;
    width: 300px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 0 20px #272727;
    display: flex;
    flex-direction: column;

    position: relative;
  }

  .team-member:hover{
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }

  .team-member img{
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    object-position: top;
  }

  .member-picture{
    padding: 15px;
  }

  .member-caption h2{
    margin-bottom: 5px;
    color:#272727;
  }

  .member-caption p{
    text-align: justify;
    color: #272727;
  }

  .member-caption{
    margin: 10px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .member-plugs{
    display: flex;
    padding: 15px 15px 10px 15px;

    position: absolute;
    bottom: 0

  }

  .member-plugs img{
    height: 30px;
    width: 30px;
  }

  .member-plugs a{
    text-decoration: none;
  }

  .member-plugs svg, .ig-logo-path{
    fill: #a6a6a6;
  }

  .fb-logo:hover{
    fill: #1877f2;
  }

  .ig-logo:hover, .ig-logo-path:hover{
    fill: url(#igGradient);
  }

  .github-logo:hover{
    fill: #1B1F24;
  }

  .linkedin-logo:hover{
    fill: #0e76a8;
  }

  footer{
    height: 70px;
    background-color: rgb(30, 30, 30);
    font-size: 12px;
    color: white;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
  }
