html{
  background-repeat:repeat ; 
}

#sitecanvas {
  max-width:1020px;
  margin:0 auto;
  box-shadow: 0 3px 3px 0 #32311933, 0 3px 6px 0 #32311933;
  height: auto;
}

body{
  margin:0px;
  font-family: 'Montserrat', sans-serif;
}
h1, h2, h3 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  color: #494016f8;
}
a{
  color: rgb(11, 25, 224);
}

a:hover{
  color: rgb(237, 90, 90);
}
.active{
  color:  rgb(237, 90, 90)
}

nav{
  padding:10px 40px 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:  #003057;
  position: relative;
  height: 30px;
  font-size: 20px;
  font-weight: 700;
}
.logo{
  width:40px ;
  vertical-align: middle;
}

nav ul{
  display: flex;
  gap:50px ;
  align-items: center;
}

nav ul li{
  list-style-type:none ;
}

nav ul li a{
  text-decoration:none  ;
  color: white;
}

nav ul li a:hover{
  text-decoration:none  ;
  color: #a999a2;
}

hr{
  border: 1px solid #000000;
}
h3{
  color: rgb(185, 101, 52);
}

.menu-icon{
  display:none ;
}
.menu-icon img{
  height:38px ;
}
#menulist{
  transition: all 0.2s;
}

/* PAGE BASE*/
.pagecanvas{
  background-color: rgb(166, 209, 211);
  width: 100%;
}
.pagecontent {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size:18px ;
    line-height: 1.8;
    padding:20px 50px;
    color: #30232a;
    margin-top: -3%;
  }
.back {
  background-color:rgb(230, 217, 176);
}
.publicationlist{ 
  font-family: 'Montserrat', sans-serif;
  font-size:15px;
  padding-left: 20px;
  color: rgb(34, 32, 24);
  line-height: 140%;
}
.arxiv-icon {
  max-height:30px ;
  margin-right: 12px; 
  vertical-align: -4px;
  max-height:30px 
}

/* HOMEPAGE */
.welcomeflexbox{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  align-items: flex-start;   /* Aligns them at the top */
  gap: 40px;
  }


.welcomesection{
  flex: 1;
  min-width: 300px;
}
.welcomeimg{
   flex: 1;
  }
.welcomeimg img{
  display: block;
  margin: 0 auto; /* Automatically centers it */
  max-width: 75%;
  margin-top: 15%;
  border-radius: 150px;
}
.contact-button:hover {
    color:  #a999a2 /* Example: making it turn red like the "Talks" text on hover */
    text-decoration: underline;
}
.contact-button {
  border: none;
  background-color: inherit;
  font-size: 20px;
  cursor: pointer;
  text-decoration:none  ;
  color: white;
  display: inline-block;
  font-weight: 700;
}

.content-container {
  display: flex;             /* Turns on Flexbox */
  justify-content: space-between; /* Spreads the columns out */
  align-items: flex-start;   /* Aligns them at the top */
  gap: 40px;                 /* Adds space between the columns */
  margin-top: -7%;
}

.papers-column, 
.computations-column {
  font-family: 'Montserrat', sans-serif;
  flex: 1;
  min-width: 300px;

                 /* Makes both columns take up equal width */
}
.center-button{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.computations-column img {
  display: block;
  margin:  auto; 
  max-width: 75%;
  height: auto;
}
.small img{
  max-height:30px ;
  vertical-align: -7px;
}
.underheader{
  margin:0px 0px 18px 0px ;
}

.bigheader{
  font-size:50px;
  margin:0px; 
  color: #494016f8;
}


/*Footer*/
#footer{}
.styled-button2 {
  display: flex;
  justify-content: center;
  margin-left: 23%;
  background-color: #8d0935c5; 
  border: none;
  color: rgb(168, 189, 202);
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  cursor: pointer;
  border-radius: 150px;
  transition: background-color 0.3s, transform 0.2s;
  
}
/* Research page */
.container {
  display: flex; /* Enables flexbox */
  gap: 20px;     /* Optional space between columns */
}
.column {
  flex: 1;       /* Makes columns equal width */
}
/* --- MOBILE RESPONSIVE FIXES --- */
@media screen and (max-width: 768px) {

  .pagecontent {
    padding: 20px 15px;
  }

  .content-container {
    flex-direction: column;
    gap: 30px;
  }

  .welcomeflexbox {
    flex-direction: column;
  }
  
  .welcomeimg img {
    margin-top: 0; 
  }


  nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto; 
    padding: 10px 20px;
  }


  .menu-icon {
    display: block; 
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
  }


  #menulist {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding-left: 0;
    overflow: hidden; /* Keeps the links hidden when maxHeight is 0px */
    margin-top: 15px;
  }

  #menulist li {
    text-align: center;
    width: 100%;
  }

  .styled-button2 {
    margin: 10px auto; 
  }
}