/* Colours:
    DGreen: #165131
    Green:  #2F704D
    Cream:  #F8F3EE
    Accent Blue: #3E42B6  
    Accent Yellow: #BCB462
    Accent Pink: #BC6296

    Accent LBlue: #6269BC
    Accent LYellow: #D8D6A2 
    Accent LPink: #D8A2BF 

*/ 

/* Every page styling for basic things*/
    html, body {
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
        background-color: #F8F3EE;
        color: #2F2214;
    }

    .banner {
        position: relative;
        max-width: 100%;
        overflow: hidden;
        background-color: #2F704D;
        background-image: url('banner.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        color: #D8D6A2;
        padding: 15px;
        font-size: 2rem;
        text-align: center;
    }

    .banner a {
        color: #D8D6A2;
        text-decoration: none;
        text-shadow: 0px 2px 5px #165131;
        padding: 10px;
        transition: color .2s;
    }

    .banner a:hover {
        color: #F8F3EE;
        text-decoration: none;
        transition: color .2s;

    }

    .openbtn {
	    position: absolute;
	    top: 23%;
	    font-size: 36px;
        border-radius: 8px;
        text-shadow: 0px 2px 5px #165131;
        cursor: pointer;
        color: #D8D6A2;
        background: none;
        border: none;
	}

    .openbtn:hover {
        background: none;
        border: none;
        color: #F8F3EE;
        transition: color .2s, background-color .2s; 
    }

    .openbtn:active {
        background: none;
        border: none;
    }

    .welcome{
        display: inline-block;
    }

    a {
        color: #3E42B6;
        text-decoration: none;
    }

    a:hover {
        color: #6269BC; 
        text-decoration: underline;
    }

    h1 {
        text-align: center;
    }

    .main-info {
    	margin: 2% 10%;
	    font-size: 1rem;
	    min-height: 80vh;
        padding-bottom: 2rem; /*remove at some point for footer*/
    }
    
    img {
        border-radius: 10px;
        margin: auto;
        display: block;
    }
    
    .caption {
        margin: auto;
        text-align: center;
        color:#165131;
        padding-top: 10px;
        max-width: 75%;
    }

    .pdf {
        display: block;
        margin: 2rem auto;
        height: 75vh;
        width: 80%;
    }

    .poster {
        width: 25%;
    }
    
    .graph {
        width: 65%;
    }

    .hide {
    display: none;
    }

/* index.html */

    .info{
        margin: auto;
        display: block;
        text-align: justify;
        max-width: 90%;
        padding: 0 2rem;
        border: solid 5px #BCB462;
        border-top: none;
        border-bottom: none;
    }

.logo {
    margin-top: 60px;    
    position: sticky;
    bottom: 0;
    contain: size;
    }

.logo img {
    aspect-ratio: 1:1;
    padding: 10px;
    height: 70px;
    }

/* 02052026.html */

.math-equ {
    padding: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.25rem;
    text-align: center;
    background-color: white;
    border-radius: 3px;
    max-width: 70%;
    margin: auto;
    border: solid 1px #BC6296;
}


.img-holder{
        display: flex;
}

.img-holder-mult {
    display: flex;
    align-items: start;
    justify-content: space-around;
    
}

.img-holder-mult div {
    max-width: 200px;
}

.img-holder-mult img {
    max-width: 200px;
    max-height: 300px;
}

.img-holder-mult img:hover {
    opacity: 0.75;
    transition: .2s;
}

.book-auth {
    font-size: 0.75rem;
}

/* 03252025.html */

.ender {
    margin-top: 32px;
}


/*09172025*/
.zipf-contain {
    line-height: 1.5rem;
    padding: 24px;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.15rem;
    text-align: justify;
    background-color: white;
    max-width: fit-content;
    margin: 2rem auto;
    border: solid 2px #BCB462;
    border-radius: 3px;

}

.zipf-hr {
    max-width: 75px;

}


.zipf-p span {
    padding-left: 32px;
}

.zipf-contain p {
    margin: 0;
    padding-right: 32px;
}

.zipf-contain p:nth-child(2n) {
    color: #2F704D;
    margin-bottom: 12px;
}


/*.zipf-p span:nth-child(2n)::after {
    content: "\A";
    white-space: pre;

}*/

/*02122026 - Modeling Love */

ol {
    padding: 1rem 3rem;
    max-width: 80%;
    text-align: justify;
    background-color: white;
    margin: 1.5rem auto;
    border: solid 2px #BCB462;
    border-radius: 3px;
}

li {
    padding-bottom: 12px;
}

  .py-error {
    display: none;
  }

#python-script {
    margin: 12px;
}

.py-holder {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.py-graph {
    justify-self: center;
}

.py-input-container {
    width: fit-content;
}

input[type=text] {
    font-family: monospace;
    background-color: white;
    border: solid 2px #D8A2BF;
    border-radius: 3px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 12px;
    transition: color .2s, border .2s, background-color .2s;
}

input[type=text]:focus {
    background-color: #F8F3EE;
    border: solid 2px #BC6296;
    color: #3E42B6;
}

button {
    font-family: serif;
    font-size: 16px;
    background-color: #D8A2BF;
    padding: 0.25rem 1rem;
    border: solid 2px #D8A2BF;
    border-radius: 3px;
    color: #2F2214;
    transition: border .2s, background-color .2s;
    display: block;    
    margin: auto;
}

button:hover {
    background-color: #BC6296;
    border: solid 2px #BC6296;
}

button:active {
    background-color: #D8A2BF;
    border: solid 2px #BC6296;
}

/* The side navigation menu */
	.sidenav {
	  height: 100%; /* 100% Full-height */
	  width: 0; /* 0 width - change this with JavaScript */
	  position: fixed; /* Stay in place */
	  z-index: 1; /* Stay on top */
	  top: 0; /* Stay at the top */
	  left: 0;
	  background-color: #165131;
      text-align: center;
	  overflow-x: hidden; /* Disable horizontal scroll */
	  /* padding-top: 60px; Place content 60px from the top */
	  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
	}

	.sidenav iframe {
		border: 0px;
		left: 0;
		width: 99%;
		display: block;
		overflow: scroll;
	}

	/* The navigation menu links */
	.sidenav a {
	  padding: 8px 32px 8px 32px;
	  text-decoration: none;
	  font-size: 25px;
	  color: #21844f;
	  display: block;
	  transition: 0.3s;
	}

	/* When you mouse over the navigation links, change their color */
	.sidenav a:hover {
	  color: #F8F3EE;
	}

	/* Position and style the close button (top right corner) */
	.sidenav .closebtn {
	  position: absolute;
	  top: 0;
	  right: 0px;
	  font-size: 36px;
	  margin-left: 50px;
      cursor: pointer;
      color: #D8D6A2;
	}

	/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
	#main {
	  transition: margin-left .5s;
	  /* padding: 20px; */
	}

	/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
	@media screen and (max-height: 450px) {
	  .sidenav { padding-top: 15px; }
	  .sidenav a { font-size: 18px; }
	} 

    time {
        font-size: 1rem;
    }

@media only screen and (max-width: 600px) {
    h1 { font-size: 1.3rem; }
    .banner { font-size: 1.5rem; }
    .openbtn { font-size: 1.5rem; }
    .img-holder-mult { flex-wrap: wrap; }
    .img-holder-mult div { margin-bottom: 2rem; }
    .poster, .graph { width: 90%; }
    .math-equ { font-size: 1rem; }
    .info { max-width: 100%; padding: 0 0.75rem; border: solid 2px #BCB462; border-top: none; border-bottom: none; margin: 0}


}
