@font-face {
  font-family: Lobster;
  src: url(Fonts/Lobster-Regular.ttf);
}

@font-face {
  font-family: Poppins;
  src: url(Fonts/Poppins-Regular.ttf);
}

body, html {
  height: 100%;
  margin: 0;
  background-color: white;
  font-family: Poppins;
}

.center{
  text-align: center;
}

.black{
  background-color: #0E0E14;
    overflow: hidden;
}

.title {
  position: relative;
  text-align: center;
  color: white;
  background-color: #0E0E14;
}

img.bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}


@keyframes example {
  from {opacity: 0.25;}
  to {opacity: 1;}
}

img.main{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  animation-name: example;
  animation-duration: 5s;
  animation-iteration-count: 1;
}

.overflow{
  overflow: hidden;
}

h1{ 
    color: #0E0E14;
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3em;
    font-family: Poppins;
}

h2{
  color: white;
  text-align: center;
  font-size: 5em;
  font-family: Poppins;
  margin: 0%;
  background-color: #0E0E14;
}

.container {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 0px 10px;
  background-color: #0E0E14;
}

.container > div {
  padding: 20px;
  font-size: 30px;
  text-align: center;
  color: white;
}

.contact{
  background-color: #0E0E14;
}

.buttoncontainer{
  display: grid;
  grid-template-columns: 50% 50%;
  padding: 3% 20% 0% 20%;
  background-color: #0E0E14;
  font-family: Poppins;
}

.buttondiv{
  text-align: center;
}

a.links{
  color: black;
  text-decoration: none;
}

.logocontainer{
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  padding: 10px;
  background-color: #0E0E14;
}

.logo{
  text-align: center;
}

img.logo{
  width: 50%;
  height: auto;
}

a.button{
  background-color: white; /* Green */
  color: #0E0E14;
  border: none;
  padding: 15px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 25px;
  border-radius: 50px;
  width: 250px;
  font-family: Poppins;
  box-shadow: 7px 7px 5px #b22f4e6c;
}

a.button:hover{
  background-color: #b22f4e;
  color: white;
}

a.button3{
  margin-top: 2.5%;
}

.projects{
  position: relative;
}

.projectcontainer{
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3%;
  padding: 10px;
  padding-left: 12%;
  position: relative;
  overflow: hidden;
}

h4{
  text-align: center;
  font-family: Poppins;
  font-size: 4em;
  margin: 2% 0%;
}

h5{
  font-size: 3em;
  margin-top: 2%;
  margin-bottom: 0%;
}

p.projecttext{
  font-size: 1.5em;
  margin-right: 40%;
  margin-top: 0%;
}

a.projectbutton{
  background-color: #0E0E14;
  color: white;
  border: none;
  padding: 10px 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 25px;
  border-radius: 50px;
  width: 200px;
  font-family: Poppins;
  box-shadow: 7px 7px 5px #b22f4e6c;
}

a.projectbutton:hover{
  background-color: #b22f4e;
}

img.project{
  width: 100%;
}

footer{
  text-align: right;
}

.footerbutton{
  background-color: #ffffff;
  color: #0E0E14;
  border: none;
  padding: 10px 0px;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  width: 200px;
  font-family: Poppins;
  margin-right: 13%;
  margin-bottom: 1%;
  border-radius: 50px;
}

.footerbutton:hover{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg{
    width: 200%;
    margin-left: -50%;
    margin-right: -50%;
    object-fit: cover;
  }

  img.main{
    width: 200%;
    margin-left: -50%;
    margin-right: -50%;
    object-fit: cover;
  }

  .mobilecenter{
    text-align: center;
  }

  .introtext{
    font-size: 0.6em;
    margin: 0% 5%;
  }

  .container{
    display: block;
  }

  h1{
    font-size: 1.3em;
    margin: 0% 5%;
    width: auto;
    left: 0%;
    transform: translate(0px, 0px);
  }

  h2{
    font-size: 2.5em;
  }

  h3{
    font-size: 0.6em;
    margin: 0% 0% 5%;
  }

  h4{
    font-size: 2.5em;
  }

  h5{
    font-size: 1.5em;
    margin-left: 5%;
  }

  a.button{
    width: 100px;
    font-size: 1em;
  }

  .button3{
    position: relative;
    margin-bottom: 0%;
  }

  img.logo{
  width: 70%;
  height: auto;
}

.projectcontainer{
  display: block;
  padding-left: 10px;
}

p.projecttext{
  margin: 0% 5%;
  font-size: 1em;
}

a.projectbutton{
  width: 100px;
  font-size: 0.8em;
}
}