:root {
  --pycon-gr-primary-color: #123C62;
  --pycon-gr-secondary-color: #EEA141;
  --pycon-gr-light-color: #EAF6FB;
  --pycon-gr-dark-color: #0B1D2E;
  --pycon-gr-link-color: #3272AE;
}

.bg-pycon {
  background-color: var(--pycon-gr-primary-color);
}

.bg-pycon-secondary {
  background-color: var(--pycon-gr-secondary-color);
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--pycon-gr-light-color);
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--pycon-gr-primary-color);
}
body h1 {
  font-size: 36px;
  font-weight: bold;
}
body h2 {
  font-size: 28px;
  font-weight: bold;
}
body h3 {
  font-size: 24px;
  font-weight: bold;
}
body h4 {
  font-size: 20px;
  font-weight: bold;
}
body h5 {
  font-size: 18px;
  font-weight: bold;
}
body ul {
  list-style: circle;
  margin: 0 24px;
  padding: 8px;
  color: var(--pycon-gr-primary-color);
}
body ul li {
  margin: 8px 0;
}
body ol {
  list-style: decimal;
  margin: 0 24px;
  padding: 8px;
  color: var(--pycon-gr-primary-color);
}

body ol li {
  margin: 8px 0;
}

footer p {
  color: white;
}

hr {
  padding: 12px 0;
}

.base-page p, .base-page h2, .base-page h3, .base-page h4, .base-page h5 {
  padding: 4px 0;
}

/* CSS for the header logo */
@media (min-width: 640px) {
  .pycon_logo img {
    min-height: 90px;
  }
}

header {
  background-color: var(--pycon-gr-primary-color);
}

.homepage.bg-pycon {
  background-image: url("/static/img/athens_header.ef7282f768d8.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 86% bottom;
  min-height: 320px;
}

@media (max-width: 768px) {
  .homepage.bg-pycon {
    background-position: center bottom;
    min-height: 200px;
  }
}

@media (max-width: 500px) {
  .homepage.bg-pycon {
    background-position: center bottom;
    min-height: 160px;
  }
}

/* CSS for the top navigation */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Unordered list styling */
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

/* List item styling */
nav ul li {
  margin: 0 4px;
}

/* Link styling */
nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

/* Link hover effect */
nav ul li a:hover {
  color: var(--pycon-gr-secondary-color);
  transition: color 0.3s;
}

nav.md\:flex {
  margin-left: 48px;
}

/* Social media header icons */
.header-separator {
  border-right: 1px solid white;
  margin-right: 12px;
  padding-right: 28px;
}

.tickets-button {
  color: var(--pycon-gr-primary-color)
}

.tickets-button:hover {
  background-color: var(--pycon-gr-secondary-color);
  transition: background-color 0.3s ease;
}

.social-icon-hover {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(157deg) brightness(104%) contrast(102%);
  transition: filter 0.3s;
}

.social-icon-hover:hover {
  filter: brightness(0) saturate(100%) invert(80%) sepia(28%) saturate(1115%) hue-rotate(334deg) brightness(96%) contrast(92%);
}

#mobile-menu-button {
  color: var(--pycon-gr-secondary-color);
}
button.mobile-btn-switcher {
  color: var(--pycon-gr-primary-color)
}

/* Dropdown menu */
#mobile-menu .dropdown-menu {
  display: block;
}

.dropdown:hover > .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  list-style-type: none;
  color: var(--pycon-gr-primary-color);
  z-index: 1;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.5em;
  vertical-align: middle;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease-in-out;
  margin-top: -4px;
}
.dropdown-menu li {
  padding: 4px 0;
  border-radius: 5px;
  list-style: none;
}

.dropdown-menu li a {
  position: relative;
  color: var(--pycon-gr-primary-color);
  font-weight: 500;
  display: block;
  padding: 5px 10px;
  transition: color 0.3s ease;
  width: max-content;
}

.dropdown-menu li a:hover {
  color: var(--pycon-gr-link-color);
  background: none;
}

.dropdown-menu li a:hover::before {
  color: var(--pycon-gr-primary-color);
}

.dropdown {
  position: relative;
  padding-bottom: 10px;
}

.language-selector {
  color: white;
}
.language-selector-active {
  color: var(--pycon-gr-secondary-color);
}
.language-selector:hover {
  color: var(--pycon-gr-secondary-color);
  transition: color 0.3s ease;
}

/* Dropdown for Mobile */

#mobile-menu .dropdown {
  text-align: center;
  padding-bottom: 5px;
}

#mobile-menu .dropdown-menu {
  display: none;
  position: static; /* Remove absolute positioning */
  width: 100%; /* Make it full-width */
  padding: 0 10px; /* Adjust padding */
  background: none;
  border-radius: 5px;
  margin-top: 10px;
  list-style: none;
}

#mobile-menu .dropdown-menu li a {
  color: white;
  display: block;
  padding: 0 10px;
}

#mobile-menu .dropdown-menu li {
  padding: 0;
}

#mobile-menu .dropdown-menu li a:hover {
  color: var(--pycon-gr-secondary-color);
  background: none;
}

#mobile-menu .dropdown-menu li a:hover::before {
  color: var(--pycon-gr-secondary-color);
}

#mobile-menu .dropdown a.dropdown-toggle .caret {
  display: none;
}

.dropdown-menu-block-mobile {
  display: flex !important;
}

.venue_video_iframe {
  min-width: 474px;
  height: 100%;
  border: none;
}

@media (max-width: 474px) {
  .venue_video_iframe {
    min-width: 280px;
  }
}

/* CSS for the footer content */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
  min-height: 400px;
  color: white;
  padding: 20px;
  box-sizing: border-box;
}

footer.bg-pycon {
  background-image: url("/static/img/footer.64725d4827fb.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
}
h2.footer-title1 {
  font-size: 24px;
  margin-bottom: 16px;
  color: white;
}
.footer-menu a {
  color: var(--pycon-gr-primary-color);
  transition: color 0.3s ease;
}
.footer-menu a:hover {
  color: var(--pycon-gr-secondary-color);
}
.footer-menu {
  margin-top: 56px;
}

.pygreece_logo {
  transition: transform 0.8s ease;
}
.pygreece_logo:hover {
  transform: scale(1.08);
}

.social-img {
  width: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin: 6px 0!important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-menu {
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 38px;
  }

  .footer-menu a {
    margin: 10px 0;
    color: white;
  }

  footer nav ul {
    flex-direction: column;
    align-items: center;
  }

  footer nav ul li {
    margin: 6px 0!important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 769px) and (max-width: 1920px) {
  .footer-menu-container {
    position: absolute;
    bottom: 2px;
    text-align: center;
    width: 100%;
  }
  footer nav ul li {
    background-color: #deedff;
  }
}

@media (min-width: 1920px) {
  footer.bg-pycon {
    background-size: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  nav ul li {
    margin: 0 8px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  nav ul {
    white-space: nowrap;
  }

  nav ul li {
    margin: 0 4px;
  }

  nav ul li a {
    font-size: 16px;
    padding: 10px 8px;
  }
}

/* Sidebar styling */
.sidebar > h2 {
  font-size: 24px;
  font-weight: bold;
  color: white;
  border-bottom: 1px solid var(--pycon-gr-secondary-color);
  margin-bottom: 8px;
}
.sidebar > p {
  color: white;
}
div.sidebar > ul > li > a {
  color: white;
}
div.sidebar > ul > ::marker {
  color: white;
}

.sidebar img {
  background-color: white;
  border-radius: 8px;
}

.sidebar a.btn {
  background-color: var(--pycon-gr-secondary-color);
  color: var(--pycon-gr-primary-color);
}
.sidebar a.btn:hover {
   background-color: white;
}

/* Pycon Announcement section */
.pycon_announcement {
  margin: 16px;
}
.pycon_announcement_container {
  background-color: var(--pycon-gr-secondary-color);
  margin: 32px auto;
  padding: 18px;
  font-size: 20px;
  border-radius: 21px;
}
.pycon_announcement_text {
  font-size: 24px;
}
.pycon_announcement_button {
  background-color: var(--pycon-gr-primary-color);
  color: white;
  transition: background-color 0.6s ease, color 0.6s ease;
  border-radius: 80px;
}
.pycon_announcement_button:hover {
  background-color: var(--pycon-gr-light-color);
  color: var(--pycon-gr-primary-color);
}

/* Pycon Hero section */
.pycon_hero {
  margin: 32px 0;
  background-image: url("/static/img/cloud.2099b6f96564.png"), url("/static/img/cloud.2099b6f96564.png");
  background-repeat: no-repeat, no-repeat;
  background-position: -350px top, +1500px bottom;
}
.pycon_hero > div > p {
  margin: 12px 0;
}
.pycon_hero > div > img {
  margin-bottom: 24px;
}
.zoom-on-hover {
  transition: transform 0.8s ease;
}
.zoom-on-hover:hover {
  transform: scale(1.05);
}
.hero_welcome_text {
  font-size: 20px;
}
@media (max-width: 1024px) {
  .pycon_hero .container {
    flex-direction: column;
  }
  .hero_welcome_text {
    font-size: 20px;
  }
}
/* END Pycon Hero section */

/* Pycon Newsletter section */
.pycon-newsletter {
  background-color: var(--pycon-gr-primary-color);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pycon-newsletter h2, .pycon-newsletter p {
  color: white;
}
.pycon-newsletter label {
  color: white;
}

/* Pycon Venue section */
.pycon_venue {
  background-image: url("/static/img/venue_bg.c6c3c52bcb97.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}
.pycon_venue_img {
  box-shadow: -32px 32px 0px var(--pycon-gr-primary-color);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
@media (max-width: 768px) {
  .pycon_venue_img {
    box-shadow: none;
  }
}
.pycon_venue_img:hover {
  box-shadow: 0px 0px 0px var(--pycon-gr-primary-color);
  transform: translateY(-15px);
}
.pycon_venue h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.pycon_venue p {
  margin-bottom: 16px;
}
/* END Pycon Venue section */

/* Pycon Sponsors section */
  .pycon_sponsors {
    position: relative;
    background: linear-gradient(180deg, #CAE8F6 68.08%, #F8D994 90.37%);
  }

  .pycon_sponsors::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: -2px;
      background-image: url("/static/img/sponsors_footer.ac202f245185.svg");
      background-repeat: repeat-x;
      background-size: 60% auto;
      background-position: bottom;
  }

  .pycon_sponsors h2{
    font-size: 36px;
  }

  .pycon_sponsors p{
    color: white;
    width: 72%;
  }

  .sponsor-tier {
    background-color: var(--pycon-gr-light-color);
  }

  .separator {
    width: 100%;
    height: 20px;
    background-color:var(--pycon-gr-secondary-color);
    z-index: 1;
    position: relative;
  }
  .sponsor_us {
    background: #779BC9;
  }
  .sponsor_us .btn {
    background-color: var(--pycon-gr-secondary-color);
    border-radius: 0.375rem;
    color: var(--pycon-gr-primary-color);
    font-weight: 900;
  }

/* END Pycon Sponsors section */

/* Pycon Tickets section */
.pycon_tickets_home {
  padding: 3rem 0 5rem;
  background-image: url("/static/img/tickets-background.21af87893720.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  background-color: #deedff;
}
@media (max-width: 768px) {
    .pycon_tickets_home {
        background-image: none;
    }
}

.tickets-footer {
  background-color: #273e67;
}

.tickets-footer p{
  color: white;
  max-width: 70%;
}

.tickets-footer h2 {
  color: white;
  padding-bottom: 18px;
}

.tickets-footer p a{
  color: var(--pycon-gr-secondary-color);
  font-weight: 700;
}

.tickets-footer p a:hover{
  text-decoration: underline;
}

.finaid-container {
  max-width: 70%;
  border: 2px solid;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--pycon-gr-secondary-color);
}

.finaid-container p{
  max-width: 100%;
}

.register-btn {
  background-color: var(--pycon-gr-primary-color);
  color: white;
}

/* Extra large early bird image */
.early-bird-image {
  position: absolute;
  bottom: 0;
  right: -40px;
  width: 150px; /* Significantly larger base size */
  transform: translateY(0);
  margin-bottom: 2.5rem;
  z-index: 50;
}

.ticket-card {
  background-color: white;
}

.ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    border-radius: 6px 6px 0 0;
}

.ribbon-1::before {
    background: #6EBFE7;
}

.ribbon-2::before {
    background: #F5BF84;
}

.ribbon-3::before {
    background: #CA987A;
}

.tickets-title, .keynoters-title{
  color: var(--pycon-gr-primary-color);
}

.tickets-title h2, .keynoters-title h2{
  font-size: 40px!important;
}

.ticket-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--pycon-gr-primary-color);
}
.price-value {
  font-size: 48px;
}
.price-text {
  font-size: 16px;
  color: var(--pycon-gr-primary-color)
}

.ticket-section-separator{
  width: 100%;
  height: 20px;
  background-color:var(--pycon-gr-secondary-color);
}

.ticket-separator{
  width: 100%;
  height: 1px;
  background-color:var(--pycon-gr-primary-color);
}

.toggle-switch {
    position: relative;
    cursor: pointer;
}

.slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

.tshirt-toggle-global:checked + .slider {
    background-color: var(--pycon-gr-secondary-color);
}

.tshirt-toggle-global:checked + .slider:before {
    transform: translateX(20px);
}

/*CSS for a tag in body*/
.basic_page_header {
    position: relative;
    background-color: var(--pycon-gr-dark-color);
    background-image: url("/static/img/basicpage-header-bg.0c4718c73022.svg");
    background-repeat: repeat-x;
    background-size: cover;
    background-position: bottom;
    padding: 16px;
}

.basic_page_header > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 457px) {
  .basic_page_header {
    background-position: 2693px;
  }
}

.basic_page_bottom {
  background-image: url("/static/img/basicpage-bottom-bg.60a6f331302f.svg");
  background-repeat: repeat-x;
  background-size: cover;
  background-position: bottom;
}

.base-page .prose a {
  color: var(--pycon-gr-link-color);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.base-page .prose a:hover {
  color: var(--pycon-gr-dark-color);
}

/* Media queries for responsiveness */
@media (max-width: 1024px) {
  .early-bird-image {
    width: 140px;
    right: -35px;
  }
}

@media (max-width: 900px) {
  .early-bird-image {
    width: 140px;
    right: -35px;
  }
}

@media (max-width: 768px) {
  .pycon_tickets_home .container {
    width: 90%;
  }

  .early-bird-image {
    width: 160px; /* Even larger on medium screens */
    right: -40px;
  }
}

@media (max-width: 639px) {
  .pycon_tickets_home h1 {
    margin-bottom: 3rem;
    font-size: 2rem;
  }

  .early-bird-image {
    width: 140px; /* Largest on small screens */
    right: -40px;
  }
}

@media (max-width: 375px) {
  .early-bird-image {
    width: 100px;
    right: -30px;
  }
}
/* END Pycon Tickets section */

/* Updates Section */

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.dot.active {
  background-color: #4A5568;
}

/* END Updates Section */

/* Keynoters Section*/
.keynoters-section {
  background-color: #cae8f7;
}

.keynoters-card, 
.update-card {
  background-color: white;
  box-shadow: 4px 4px 0px var(--pycon-gr-primary-color);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  min-height: 300px;
}

.update-card:hover {
  box-shadow: 0px 0px 0px var(--pycon-gr-primary-color);
  transform: translateY(-15px);
}

.keynoters-card .details h3,
.keynoters-card .details h4 {
  color: black;
}

.info-container {
  background-color: var(--pycon-gr-primary-color);
  border-radius: 2rem;
  color: white;
  opacity: 0.5;
}

.keynoter-description p{
  font-size: 16px;
  color: black;
}

@media (max-width: 1250px) {
  .keynoters-container{
    gap: 70px;
  }
}

@media (max-width: 390px) {
  .keynoters-card{
    width: auto!important;
  }
}

/* END of Keynoters Section */

/* Team Page*/
.linkedin-text,
.github-text,
.x-text {
  color: var(--pycon-gr-link-color);
}

.team-description, .team-title {
  color: var(--pycon-gr-primary-color);
}

.team-member .job-title {
  color: var(--pycon-gr-dark-color);
}

.member-tags {
  color: var(--pycon-gr-link-color);
  border-color: var(--pycon-gr-link-color);
}

/* End of Team Page */
/*Sponsors Page*/
/* .sponsors-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/static/img/sponsors_footer.ac202f245185.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom; */
/* } */

.sponsors-section .pycon_venue_img{
  box-shadow: 32px 32px 0px var(--pycon-gr-primary-color);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.sponsors-section .pycon_venue_img:hover{
  box-shadow: 0px 0px 0px var(--pycon-gr-primary-color);
  transform: translateY(-15px);
}

.sponsors-page .pycon_sponsors {
  background: none;
}

.sponsors-page .pycon_sponsors::before {
  background-image: none;
}

.sponsors-page .separator {
  background-color: #7195c2;
  opacity: 0.5;
}

.sponsors-footer,
.tiers-perks-section .info-box {
  background: linear-gradient(90deg, rgba(255, 215, 134, 1) 0%, rgba(241, 219, 163, 1) 18%, rgba(202, 232, 247, 1) 100%);
  color: var(--pycon-gr-primary-color);
}

.download-brochure-container{
  background-color: var(--pycon-gr-secondary-color);
    margin: 32px auto;
    font-size: 20px;
    border-radius: 40px;
    padding: 10px 30px;
}

.download-brochure-container a {
  color: var(--pycon-gr-primary-color);
}

@media (max-width: 768px) {
  .tiers-perks-section .info-boxes-container{
    margin-top: 40px;
  }

  .sponsors-section::before {
    background-size: 190% auto;
  }
}

@media (min-width: 768px) and (max-width: 968px) {
  .tiers-perks-section  .info-boxes-container{
    grid-template-columns: repeat(2, minmax(160px, 1fr))!important;
  }
}

@media (max-width: 500px) {
  .tiers-perks-section .info-box{
    width: 200px;
  }
}
/* END Pycon Sponsros Page */

@media (max-width: 768px) {
  .community-img{
    margin-right: auto!important;
    margin-left: auto!important;
  }
}