/* Base styles for all devices */
body {
  font-family: Cambria, Georgia, serif;
  font-size: 24px;
  color: #333328;
  background-color:#FFFFCC;
}

        @keyframes fade {
            0% {
                opacity: 0;
            }
            50% {
                opacity: 1;
            }
            100% {
                opacity: 0;
            }
        }

        .fadingarrow {
			margin-top:50px;
            font-size: 50px;
            color: #b478ff;
            text-align: center;
            animation: fade 2s infinite;
        }

#pagewrap {
  width: 100%;
  max-width: 980px;
  margin: auto;
  padding: 0;
}

/* Styles for desktops and larger devices */
@media (min-width: 1024px) {
  #pagewrap {
    padding: 60px;
  }

  body {
    font-size: 22px; /* Larger font size for desktop screens */
  }
        .fadingarrow {
			margin-top:20%;
            font-size: 50px;
            color: #b478ff;
            text-align: center;
            animation: fade 2s infinite;
        }
}

/* Styles for tablets and larger devices */
@media (min-width: 768px) {
  #pagewrap {
    padding: 40px;
  }

  body {
    font-size: 20px; /* Slightly larger font size for larger screens */
  }

}

/* Styles for mobile devices */
@media (max-width: 767px) {
  #pagewrap {
    padding: 10px; /* Less padding for smaller screens */
  }

  body {
    font-size: 16px; /* Smaller font size for mobile screens */
  }
        .fadingarrow {
			margin-top:20%;
            font-size: 30px;
            color: #b478ff;
            text-align: center;
            animation: fade 2s infinite;
        }
}

#introhook	{
	font-size: 70px;
    text-align: left;
	padding-top: 50px;
}
#introhook img	{
		width: 100%;
}

#takeaway	{
	background-color: #FFFFF4;
	border-radius: 20px;
	border-color: #000000;
	border-left: 1px solid;
	border-top: 1px solid;
	border-right: 5px solid;
	border-bottom: 5px solid;
	margin-bottom: 40px;
    text-align: justify;
}


/* CSS for dropdown/selector box */
.selector-box {
    background-color: #FFFFCC; 
    border: 1px solid #555555; /* Outline color */
    font-size: 18px; /* Font size */
    padding: 5px; /* Padding for better appearance */
}



.highlight {
  background: linear-gradient(180deg,rgba(255,255,255,0) 80%, #fff000 50%);
  font-style: italic;
}

h1{
    font-size: 26px;
	font-family: Montserrat, Arial;
    font-weight: bold;
    margin-bottom: 10px;
	color: #000000;
}

h2{
	font-size: 20px;
	font-family: Montserrat, Arial;
    font-weight: 100;
    margin-bottom: 10px;
}


h3{
    margin-top: -10px;
	font-family: Montserrat, Arial;
    font-size: 32px;
    font-weight: bold;
	color: #333328;
}



    #draggable {
		border: none;
		background-color: none;
    }

.genericContLeft{
    padding: 20px;
	background-color:#FFFFCC;
	margin: auto;
	position: relative;
}



.genericContRight{
    padding: 20px;
	margin: auto;
	position: relative;
}



.FASSContLeft{
    padding: 20px;
	background-color: #00000070;
	width: 800px;
	border-radius: 25px;
	margin: auto;
	margin-top: 10px;
	border-left: 15px solid #f3906d;
}

.BusinessContLeft{
    padding: 20px;
	background-color: #00000070;
	width: 800px;
	border-radius: 25px;
	margin: auto;
	margin-top: 10px;
	border-left: 15px solid #00baff;
}

.DABContLeft{
    padding: 20px;
	background-color: #00000070;
	width: 800px;
	border-radius: 25px;
	margin: auto;
	margin-top: 10px;
	border-left: 15px solid #8cce18;
}

.FEITContLeft{
    padding: 20px;
	background-color: #00000070;
	width: 800px;
	border-radius: 25px;
	margin: auto;
	margin-top: 10px;
	border-left: 15px solid #ff2f3a;
}

.HealthContLeft{
    padding: 20px;
	background-color: #00000070;
	width: 800px;
	border-radius: 25px;
	margin: auto;
	margin-top: 10px;
	border-left: 15px solid #de5abf;
}

.LawContLeft{
    padding: 20px;
	background-color: #00000070;
	width: 800px;
	border-radius: 25px;
	margin: auto;
	margin-top: 10px;
	border-left: 15px solid #6562c9;
}

.ScienceContLeft{
    padding: 20px;
	background-color: #00000070;
	width: 800px;
	border-radius: 25px;
	margin: auto;
	margin-top: 10px;
	border-left: 15px solid #fbe168;
}

#topbar{
    background: #000000;
    padding: 5px 10px;
    color: #F2E8DC;
    font-size: .8em;
	float: right;
} 

.links	{
    display: flex;
    flex-direction: column;
    margin: 20px;
	margin-left: 40px;
	position: fixed;
}

  .key-container {
            display: flex;
            align-items: center;
            font-family: Cambria, Georgia, serif;
			color: #555555;
            padding: 10px;
			font-size: 20px;
			float: right;
			margin-bottom: -30px;
        }
        .key-item {
            display: flex;
            align-items: center;
            margin-right: 20px;
			stroke: none;
        }
        .key-color {
            width: 20px;
            height: 20px;
            margin-right: 5px;
        }
        .male {
            background-color: #ff8c00;
        }
        .female {
            background-color: #0000ff;
        }
  
 

a, a:visited {
	color: #555555;
	text-decoration: none;
}

a:hover, a:active {
	color: #555555;
	text-decoration: wavy underline;
}


p{
    text-align: justify;
}

ul{
    margin-bottom: 25px;
}
ul li{
    list-style: disc;
    padding-left: 15px;
    margin-left: 15px;
    margin-left: 15px;
}



  .circularTooltip {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    padding: 2px;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    margin-top: 10px; /* Adjusts the space between the tooltip and the SVG */
  }
  
  .groupedTooltip {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    padding: 2px;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    margin-top: 10px; /* Adjusts the space between the tooltip and the SVG */
  }
  
  .pieTooltip {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    padding: 2px;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    margin-top: 10px; /* Adjusts the space between the tooltip and the SVG */
  }

  .stackedTooltip {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    padding: 2px;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    margin-top: 10px; /* Adjusts the space between the tooltip and the SVG */
  }
  
  .stackedTooltip2 {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    padding: 2px;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    margin-top: 10px; /* Adjusts the space between the tooltip and the SVG */
  }

  .bubbleTooltip {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    padding: 2px;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    margin-top: 10px; /* Adjusts the space between the tooltip and the SVG */
  }
  
  
  .dotTooltip {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    padding: 2px;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    margin-top: 10px; /* Adjusts the space between the tooltip and the SVG */
  }


a{
    font-weight: 700;
    color: #F14F54;
    
}
#topbar a{
    color: #ebebeb;
}


#footer{
    width: 100%;
    color: #666666;
	font-size: 12px;
	font-weight: bold;
	text-align:center;
	padding-top:5px;
	margin-top:20px;
	margin-bottom:0px;
	padding-bottom: 5px;
}
	
.AoC {
	background: #323232;
	background-image: url("images/radial2.png");
	background-repeat: no-repeat;
	background-position: right; 
	background-size: 30%;
	color: #ffffff;
	font-size: 12px;
	padding-left: 20px;
	padding-right: 900px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 0px;
	margin-top: 10px;
} 
	

.bubbles {
  stroke-width: 2px;
  stroke: #555555;
}
.bubbles:hover {
   stroke-width: 4px !important;
  opacity: 1 !important;
}



.node:hover{
  stroke-width: 4px !important;
  opacity: 1 !important;
}

  
.button {
  background-color: #999999;
  border: 2px solid white;
  color: white;
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.Row {
    display: table;
}
.Column {
    display: table-cell;
}


.block { 

}

.animBlock {
  opacity: 0;
  filter: alpha(opacity=0);
  position: relative;
  -webkit-transition: all .55s ease-in;
  -moz-transition: all .55s ease-in;
  -ms-transition: all .55s ease-in;
  -o-transition: all .55s ease-in;
  transition: all .55s ease-in;
}
.animBlock[data-position="left"] { left: -5%; }
.animBlock[data-position="right"] { right: -5%; }
.animBlock[data-position="top"] { top: -20%;}
.animBlock[data-position="bottom"] { bottom: -20%;}

.animBlock[data-position="left"].viewed {
  left: 0%;
  opacity: 1;
  filter: alpha(opacity=100);
}
.animBlock[data-position="right"].viewed {
  right: 0%;
  opacity: 1;
  filter: alpha(opacity=100);
}
.animBlock[data-position="top"].viewed {
  top: 0%;
  opacity: 1;
  filter: alpha(opacity=100);
}
.animBlock[data-position="bottom"].viewed {
  bottom: 0%;
  opacity: 1;
  filter: alpha(opacity=100);
}

.chartContainer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.chartBlock {
  flex: 1;
  min-width: 260px; /* Adjust the min-width as needed */
  text-align: center;
}

