﻿*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

/*phones and small devices*/
@media (max-width: 640px) and (max-height:700px){
  body{
    font-size: 0.8rem;
  }
  a{
    font-size: 0.7rem;
  }
}

/*tablets and small laptops*/
@media screen and (min-width: 960px) and (min-height:700px){
  body{
    font-size: 1.2rem;
  }
}

/*normal size monitors and tv's*/
@media (min-width: 1100px) and (min-height:700px){
  body{
    font-size: 1.5rem;
  }
}

main{
  width: 70%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  border: 3px solid black;
  padding: 20px 0px 0px 10px;
  background-repeat: repeat-y;
  background: linear-gradient(45deg, #ffb3ff, rgba(210, 180, 140, .6)),
  repeating-linear-gradient(45deg, #ffb3ff 0%, #ffb3ff 0%, rgba(210, 180, 140, 0)
  10%, rgba(210, 180, 140, 0) 10%);
}

aside{
  background-color: #4d94ff;
  height: 100rem;
  float: right;
  top: 0px;
  right: 0;
  bottom: 0;
  width: 15%;
}

body{
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: #4d94ff;
}

nav{
  padding-top: 10px;
  background-color: #4d94ff;
  height: 100rem;
  float: left;
  padding-bottom: 10px;
  position: fixed;
  width: 15%;
}

#nav{
  list-style-type: none;
  padding: 5px;
  margin: 5px;
  margin-left: auto;
  margin-right: auto;
  background-color: #f2f2f2;
  width: 75%;
  text-align: center;
}

#nav:hover{
  background-color: #cccccc;
}

a{
  text-decoration: none;
  font-weight: bold;
  word-wrap: break-word;
}

#nav.active{
  border:2px solid black;
}

img.main{
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  margin-top: 20px;
  padding: 20px;
  width: 50%;
  border-radius: 40px;
  background-color: #eee;
  background-image: linear-gradient(45deg, #f2f2f2, rgba(25, 179, 255, .6)),
  repeating-linear-gradient(45deg, #ffb3ff 0%, #ffb3ff 0%, rgba(25, 179, 255, 0)
  10%, rgba(25, 179, 255, 0) 10%);
  background-size: 60px 60px;
  border: 1vw solid;
  border-color: rgba(255, 255, 255, 0.1);
}

header{
  margin-left: auto;
  margin-right: auto;
  color: navy;
  width: 70%;
  position: sticky;
  top: 0;
  background-color: #4d94ff;
  border-right: 3px black solid;
  border-left: 3px solid black;
  z-index: 1;
}

h1{
  text-align: center;
  font-size: 3vw;
}

p, pre{
  padding-bottom: 10px;
  text-align: center;
  padding-top: 10px;
  font-family: Georgia;
  font-weight: bold;
  color: blue;
}

#smallfont{
  font-size: 1vw;
  text-decoration: underline 1px;
}

b{
  color:red;
  font-family: monospace;
  font-weight: bold;
}

mark{
  padding: 1px;
  font-weight: normal;
}

#points{
  margin-left: 1em;
  font-family: cursive;
  padding: .5em;
}

div.pics{
  width: 100%;
  position: relative;
  left: 2vw;
}

img.gallery{
  width: 20vw;
  border: 1vw solid;
  border-radius: 40px;
  background-color: #eee;
  background-image: linear-gradient(45deg, #f2f2f2, rgba(25, 179, 255, .6)),
  repeating-linear-gradient(45deg, #ffb3ff 0%, #ffb3ff 0%, rgba(25, 179, 255, 0)
  10%, rgba(25, 179, 255, 0) 10%);
  background-size: 60px 60px;
  height: 20vw;
  border-color: rgba(255, 255, 255, 0.1);
}

.modal{
        display: none;
		position: fixed;
		z-index: 1;
		padding-top: 100px;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: rgb(0,0,0);
		background-color: rgba(0,0,0,0.9);
}

.modal-content{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom{
  from {transform:scale(0)}
  to {transform:scale(1)}
}

.close{
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus{
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px){
  .modal-content {
	width: 100%;
  }
}
