* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
}
html{
    height: 100%;
    width:100%;
    overflow: hidden;
}
body {
    font-family: ainslie-sans, sans-serif;
    
}
h1 {
    padding: 40px 0px 0px 40px;
    font-weight: 600;
    text-align: left;
}
/* 

    PAGE  

*/
.page {
    position: fixed; 
    z-index: 1;
    left: 0;
    width: 100%; 
    height: 100%;
    overflow: none; 
    bottom: -100%;
    opacity: 0;
    transition: bottom 1s, opacity 0.4s;
    padding: 0px 100px 0px 100px;
    
}
.page.show {
    bottom: -20%;
    opacity: 1;
}

.page-content {
    margin: 10% auto; 
    padding: 0px;
    
    width: 600px; 
    max-width: 100%; 
}



.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.page-body {
    padding-bottom: 50%}

.page-body img{
    max-width: 100%;
  height: auto;
}

.page-content {
    position: relative;
    background-color:white;
    margin: auto;
    height:100%;
    padding: 0;
    overflow:auto;
    width: 80%;
}

/* END PAGE */

/* 


INDEX 


*/

nav {
    font-weight: 800;
    font-style: normal;
    font-size: 2vw;
    z-index: 4;
    
}

 .navbar-light .navbar-nav .nav-link {
color: #2e2e2e;
    margin-left: 30px;
    cursor: pointer;
} 
.navbar-light .navbar-nav .nav-link:hover {
color: black;
}
#box {
    padding: 2%;
    width: 100%;
    height: 60%;
    background-color: #8fb3cf;
    position: fixed;
    z-index: -1;
    min-height: 230px;
}
#identity {
    position: absolute;
    bottom: -15%;
    width: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    font-size: 1.8vw;
    font-weight: 200;
    align-content: flex-start;
}

.helloim {
    margin-left:-50%;
    padding-top: 15%;
    color: white;
    line-height: 5%;
}

.name {
    font-family: myriad-pro, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 9vw;
    color: black;
    line-height: 95%;
}

.subtext {
    padding: 20px;
    font-size: 1.3vw;
    font-weight: lighter;
}

/* 


PROJECT


*/
.project {
    padding: 80px 120px 0px 120px;
    font-size: 1vw;
    text-align: justify;
}
h3 {
    font-weight: bold;
    text-align: center;
}
.projecttext {
    padding-top: 50px;
}

.carousel img{
  max-height: 500px;
    object-fit: scale-down;
}
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23808080' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23808080' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-indicators li {
  background-color: #999;
  background-color: rgba(70, 70, 70, 0.25);
}

.carousel-indicators .active {
  background-color: #444;
}
/* 


ABOUT


*/

#about {
    padding: 5%;
    font-size: 1.5vw;
    text-align: justify;
    display: flex;
    align-items: center;
}
#bio {
    width: 65%;
    padding-right: 2%;
}
#picofme img{
    height: 350px;
    width: 350px;
    border-radius: 50%;
    background-color: antiquewhite;
}

/* 


CONTACT 


*/

input[type=submit] {
  background-color: black;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.form {
    display:flex;
    flex-direction: column;
    width: 100%;
    height: 200px;
    border-radius: 3px;
    
}
.form2 {
    display:flex;
    padding: 0px 100px 0px 100px;
}
form {
    margin-top: 30px;
    z-index: 1;
    font-size: .9vw;
    color: black;  
       
}
::placeholder { 
  color: black;
  opacity: 1; 
    font-weight: bold;
}

.field {
     border: 3px solid black;
    border-left: none;
    border-radius: 0px 3px 3px 0px;
    width:80%;  
    padding: 10px;
    margin: 10px 0px 10px 0px;
    
}
#msg {
    border:none;
    border: 3px solid black;
    border-radius: 3px;
    width: 100%;
    padding: 10px;
    margin: 6px 0px 0px 0px;
}
@keyframes form {
    0%   {opacity: 0%;}
    100% {opacity: 100%;}
}
.input-container {
  display: -ms-flexbox; 
  display: flex;
  width: 100%;
    padding-bottom: 0px;
}

.icon {
    margin: 10px 0px 10px 0px;
    top:0px;
    padding: 15px;
    background: none;
    color: black;
    min-width: 50px;
    text-align: center;
    border: 3px solid black;
    border-right:none;
    border-radius: 3px 0px 0px 3px;
}

#button button{
    font-size: 1vw;
    background-color: black;
    color: white;
    border-radius: 3px;
    border: 3px solid black;
    padding: 20px;
    width: 80%;
    position: absolute;
    margin-top:30px;
  left: 50%;
  transform: translateX(-50%);
}
#button button:hover {
    background-color: #80a9c4;
    border: 3px solid #80a9c4;
    
}


/* width */
::-webkit-scrollbar {
  width: 0px;
}
/*


THANKS


*/
#thanks {
    position: relative;
    background-color:white;
    margin: auto;
    height:100%;
    padding: 0;
    overflow:auto;
    top: 100px;
    width: 80%;
}
.thanksidentity {
    position: relative;
    top: 300px;
}
.thanksidentity a, a:hover, a:focus, a:active {
      text-decoration: none;
      color: inherit;
 }
    

/*


FOOTER


*/

.footer {
    position: fixed;
    bottom: 0px;
    padding: 20px 0px; 20px; 0px;
    font-size: .7vw;
    text-align: center;
    width: 100%;
    color: lightgray;
    background-color: white;
}
.footer img{
    width: 2%;
    margin-right: 10px;
}

.center {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
