body {
    margin: 0;
    padding: 0;
    background-color: #2f2859;
    color: #fff;
    font-family: "Chakra Petch", sans-serif;
    text-align: center;
}


.navbar {
    background-color: #2f2859;
    padding: 15px;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(242, 237, 91, 0.855);
    min-width: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    margin-left: 42.5%; /* Shift to center */
    
  }
  
  .dropdown:after .dropdown-content {
    display: block;
  }
  .dropdown-content{
        max-width: fit-content;
        text-align: center;
  }
  .dropdown-content a:hover {background-color: #f1f1f1;}
.space {
    margin-left: 5px;
	margin-right: 55px;
    font-size: 1rem;
    font-weight:200;
}
.space-even {
	margin-right: 7%;
	margin-left: 0px;
}

.sponsors {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.sponsors h4 {
	padding: 20px;
}

.sponsors .sponsors-images {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 20px;
}

.sponsors .sponsors-images img {
	width: 50%;
}

@media screen and (max-width: 1080px) {
	.sponsors .sponsors-images {
		flex-direction: column;
	}

	.sponsors .sponsors-images img {
		width: 50%;
	}
}

footer {
	background-color: black;
	color: white;
	text-align: center;
	font-size: 18px;
	padding: 20px;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.main1 {
	display: flex;
	flex-direction: row;
}

@media screen and (max-width: 1080px) {
	.main1 {
		flex-direction: column;
	}
}

.left-column,
.right-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.middle-column {
	text-align: left;
}

.horizontal-logos {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.horizontal-logos a {
	color: white;
}

.horizontal-logos a:hover {
	color: #b3b3b3;
}

.footer-logo {
	width: 150px;
	height: 150px;
	margin: 10px;
}

.footer-large-logo {
	width: 300px;
	height: 150x;
	margin: 10px;
}

@media (min-width: 320px) and (max-width: 640px){
    body {font-size: 1rem;} 
    .sections{margin: 0 1rem;}
    .section-4 img, .section-5 img {
        height: 250px;
        width: 250px;
    }
    .light img {
        height: 200px;
        width: 100%;
    }
    .section-1 img {
        height: 150px;
        width: 150px;
    }
    .section-1 #overlap-name{
        position: relative;
        font-size: 2rem;
        bottom: 100px;
    }
    .dropdown-content{
        margin-left: 25.5%; 
    }
    .dropdown-item{
        font-size: 0.8rem;
    }
}

@media (min-width: 640px) and (max-width: 960px) {
    body {font-size: 1rem;} 
    .sections{margin: 0 5rem;}
    .section-4 img, .section-5 img {
        height: 400px;
        width: 500px;
    }
    .light img {
        height: 400px;
        width: 100%;
    }
    .section-1 img {
        height: 300px;
        width: 300px;
    }
    .section-1 {
        height: 300px;
        overflow: hidden;
    }
    .section-1 #overlap-name{
        position: relative;
        font-size: 3rem;
        bottom: 200px;
    }
    .dropdown-content{
        margin-left: 35.5%; 
    }
    .dropdown-item{
        font-size: 0.8rem;
    }
}

@media (min-width:960px) and (max-width: 1100px) { 
    body {font-size: 1.2rem;} 
    .sections{margin: 0 10rem;}
    .section-4 img, .section-5 img {
        height: 500px;
        width: 650px;
    }
    .light img {
        height: 500px;
        width: 100%;
    }
    .section-1 img {
        height: 400px;
        width: 400px;
    }
    .section-1 #overlap-name{
        position: relative;
        font-size: 4rem;
        bottom: 250px;
    }
    .dropdown-content{
        margin-left: 39.5%; 
    }
    .dropdown-item{
        font-size: 0.9rem;
    }
}

@media (min-width:1100px) {
    body {font-size: 1.5rem;} 
    .sections{margin: 0 15rem;}
    .section-4 img, .section-5 img {
        height: 500px;
        width: 700px;
    }
    .light img {
        height: 600px;
        width: 100%;
    }
    .section-1 img {
        height: 400px;
        width: 400px;
    }
    .section-1 #overlap-name {
        position: relative;
        font-size: 5rem;
        bottom: 250px;
    }
    .dropdown-content{
        margin-left: 42.5%; 
    }
    .dropdown-item{
        font-size: 0.8rem;
    }
}

.main {
    display: flex;
    flex-direction: column;
}

.sections p {
    margin-bottom: 4rem;
}

.section-1 {
    margin-top: 7rem;
}

.section-1 #overlap-name {
    align-items: center;
    /* font-size: 4rem; */
}

.piechart-labels {
    align-self: center;
    width: 300px;
    height: 300px;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
}

#sio2 {
    position: relative;
    left: 240px;
}

#fe2o3 {
    position: relative;
    left: 100px;
    top: 130px;
}

#al2o3 {
    position: relative;
    left: -30px;
    top: 50px;
}

#mgo {
    position: relative;
    left: -70px;
    bottom: 20px;
}

#others {
    position: relative;
    left: -80px;
    bottom: 90px;
}

.piechart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    right: 80px;
    background-image: conic-gradient(
                    rgba(254, 242, 148, 0.7) 40.9%,
                    rgba(207, 181, 164, 0.7) 0 63.3%,
                    rgba(254, 78, 179, 0.7) 0 73.3%,
                    rgba(164, 45, 156, 0.7) 0 82.6%,
                    rgba(120, 55, 139, 0.7) 0 
                    );
}

.piechart:hover {
    background-image: conic-gradient(
                    rgb(254, 242, 148) 40.9%,
                    rgb(207, 181, 164) 0 63.3%,
                    rgb(254, 78, 179) 0 73.3%,
                    rgb(164, 45, 156) 0 82.6%,
                    rgb(120, 55, 139) 0 
                    );
}
.theme {
    background-color:rgb(251, 116, 19);
    font-size: 1em;
}


.menu-open {
    background-color: rgba(242, 237, 91, 0.855);
}
.light-mode {
    background-color:#2f2859;
    color: #fff;
}
  
.dark-mode {
    background-color: #080808;
    color: #fff;
}


.light {
    margin-top: 5.4rem;
}

.light #overlap-name {
    align-items: center;
}

  
  /* Apply the blink animation to the button */
.blinking-button {
    animation: blink 1s 1; /* Run the animation once */
  }
.theme-btn {
    margin-right: 6%;
}
.nav__text {
  font-weight: 700;
}

