/* All Pages */

.navbar{
  z-index: 99;
  background-color: black;
   opacity: 0.5;
    filter: alpha(opacity=75);
    font-family: 'Source Code Pro', monospace;
    font-size: 30px;
    display: flex;
    min-height: 10vh;
    box-shadow: 0 10px 15px black;
    color: white;
    height: 100px;
}

nav ul{
  display: flex;
  flex: 1 1 40rem;
  justify-content: space-around;
  align-items: center;
  list-style: none;
}

a.nav-link.active{
  color:white;
  font-size: 40px;   
  }

  a.nav-link{
    color: white;
  }

  
.name{
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  margin: auto;
  top: 100px;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 3px;
  text-shadow: 2px 2px 0 white, 2px -2px 0 white, -2px 2px 0 white, -2px -2px 0 white, 2px 0px 0 white, 0px 2px 0 white, -2px 0px 0 white, 0px -2px 0 white;
}

/*Main Page*/

.row{
  width: 100%;
  justify-content:center;
  margin: auto;
  padding-top: 20px;
}

.left{
  padding: 20px;
  width: 30%;
  float: left;
  display: flex;
}

.right{
  padding: 10px;
  right: 10px;
  display: flex;
  width: 30%;
  float: right;
}

.name h1{
  text-align:center;
  color:black;
  font-family: 'Source Code Pro', monospace;
  text-transform:uppercase;
}

.bottom{
  position: absolute;
  bottom: 10px;
  justify-content: right;
  display: flex;
}

/* Portfolio Page */

.mainbox {
  padding: 1% 10% 1% 10%;
  justify-content: center;
  
}

.column {
  float: left;
  width:50%;
  padding: 5%;
}

.box{
  background: #fff;
  width: 100%;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 15px black;
  display: flex;
  justify-content: center;
}

.padding{
  padding: 10px;
}

.boxcontainer{
  background: #fff;
  width: 100%;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 15px black;
  display: flex;
  height:480px;
  justify-content: center;
}

.box3{
  background: #fff;
  width: 100%;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 15px black;
  display: flex;
}

.boxmainpage{
  background: #fff;
  width: 520px;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 15px black;
  display: flex;
}

.column2 {
  float: left;
  width: 50%;
}

.column3 {
  float: left;
  width:50%;
  padding: 0px 0px 0px 10px;
  text-align: center;
}

.boxmap{
  background: #fff;
  width: 100%;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 15px black;
  display: flex;
  justify-content: center;
}

.columncontact {
  padding: 1%;
}

.contact{
  padding: 15px;
}

.container{
  padding: 15px;
  justify-content: center;
  height: 100%;
}

.row1{
  padding: 20px;
  justify-content: left;
}

.writing{
  text-align: center;
  width: 100%;
}

.writing1{
  text-align: center;
  width: 100%;
  padding-top: 25%;
}

.columnthird{
  width: 33%;
  padding: 5%;
}

/* Background for each page */

body  {
  background-image: url(../images/castle.jpg);
background-size:cover;
      -webkit-animation: slidein 50s;
      animation: slidein 50s;

      -webkit-animation-fill-mode: forwards;
      animation-fill-mode: forwards;

      -webkit-animation-iteration-count: infinite;
      animation-iteration-count: infinite;

      -webkit-animation-direction: alternate;
      animation-direction: alternate;              
}

@-webkit-keyframes slidein {
from {background-position: top; background-size:3000px; }
to {background-position: -100px 0px;background-size:2750px;}
}

@keyframes slidein {
from {background-position: top;background-size:3000px; }
to {background-position: -100px 0px;background-size:2750px;}

}

/* Style information for form */

form {
  margin-top: 5px;
  width: 100%;
}

.formfield {
  margin-bottom: 5px;
}

.formfield input {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #c3c3d0;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  padding: 5px 5px;
}

.formfield textarea {
  width: 100%;
  height: 160px;
  border: 0;
  border-radius: 10px;
  background: #c3c3d0;
  resize: none;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  padding: 5px 5px;
}

.button {
  background: #3dd0d8;
  color: #fff;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.error {
  color: #c3c3d0;
}

@media screen and (max-width: 768px) {
  .col-lg-4.col-md-6.col-sm-12.col-xs-12{
    padding: 20px;
    justify-content: center;
  }
  
  .col-lg-3.col-md-3.col-sm-12.col-xs-12{
    padding: 20px;
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
.col-lg-4.col-md-6.col-sm-12.col-xs-12{
  padding: 20px;
  justify-content: center;
}

.col-lg-3.col-md-3.col-sm-12.col-xs-12{
  padding: 20px;
  justify-content: center;
}
}