body, html {
    height: 1000px;
    font-size: 16px;
    font-family: "calibri", arial, sans-serif;
    color: #555;
    background-color: #111;
}

/*------------Homepage-------------------------------*/

#homepage {
    background-image: url(../images/origami-tree.jpg);
    height: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0 0 0;
}

.homepage-wrapper {
    background-color: rgba(255,255,255,0.7);
    width: 95%;
    border-radius: 20px;
}

#homepage h2 {
    font-size: 2.7em;
    color: #000;
    text-align: center;
    
}

.top-header {
    padding: 5% 0 5% 0;
    
}

.logo {
    text-align: center;
    
}

#homepage h1 {
    font-size: 1.6em;
    color: #000;
    text-align: center
}

.bottom-header {
    padding: 6% 0;
}

/*------------Nav Icons-------------------------------*/

.btn-primary {
    background-color: transparent;
    border: 0;
    font-size: 4em;
}

.btn-primary:hover {
    background-color: transparent;
}

.btn-primary:focus {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.bi {
    color: #000;
}

.bi:hover {
    color: #4d118a;
}

.about-icon {
    text-align: right;
    
}

.portfolio-icon {
    text-align: center;
}

.contact-icon {
    text-align: left;
}

.icon-row {
    text-align: center;
    padding-bottom: 50px;
}

/*------------Off-Canvas------------------------------*/

.offcanvas {
    height: 96%;
}

.offcanvas-header {
    color: #000;
    background-color: #f2f2f2;
}

.offcanvas-header h5 {
    font-size: 3em;
    padding: 0 15px;
    border-left: 20px solid #651ab0;
}

.btn-close {
    opacity: 1;
    width: 2em;
    height: 2em;
}

.offcanvas-body {
    font-size: 1.5em;
    line-height: 1.5;
    padding: 6% 10%;
}

/*------------About------------------------------*/

.about-body {
    background-image: url(../images/paper.jpg);
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #222;
    font-family: "calibri", sans-serif;
    line-height: 1.7;
    font-size: 1.2em;
    filter: brightness(85%);
    
}

#about .about-wrapper {
    background-color: rgba(255,255,255,0.7);
    padding: 50px 25px 40px 25px;
    border-radius: 20px;
}

.about-body li {
    list-style: none;
}

/*------------Portfolio------------------------------*/

.bi-arrow-up-circle-fill {
    color: #000;
    font-size: 2em;
    position: fixed;
    right: 8%;
    bottom: 8%;
}

.bi-arrow-up-circle-fill:hover {
    color: #651ab0;
}

#portfolio img {
    margin: 60px 0px 10px 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#portfolio p {
    text-align: left;
}

.cms-content {
    padding-top: 100px;
}

#portfolio h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #000;
}

.img-wrapper {
  position: relative;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.img-wrapper:hover .image {
  opacity: 0.4;
}

.img-wrapper:hover .middle {
  opacity: 1;
}

.text {
  background-color: #000;
  color: white;
  font-size: 0.8em;
  padding: 15px 30px;
}

.cms-left-text {
    margin: 60px 0px 10px 0px;
}

/*------------Contact------------------------------*/

.contact-body {
    background-image: url(../images/stockpaper.jpg);
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
}

p.contact-top-text {
    text-align: center;
    margin-bottom: 100px;
    padding: 0 20px;
}

.flip-card {
    background-color: transparent;
    width: 650px;
    height: 400px;
    perspective: 1000px;
    margin-bottom: 60px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #774e87;
    color: #fff;
    font-family: helvetica, sans-serif;
    font-size: 1em;
}

.flip-card-back {
    background: linear-gradient(180deg, #000 50%, #774e87 50%);
    color: #fff;
    transform: rotateY(180deg);
}

.flip-card-back a {
    color: #fff;
    text-decoration: none;
}

.flip-card-back a:hover {
    color: #000;
}

.business-card {
    text-align: center;
}

.contact-text {
    padding: 100px 10px 100px;
    text-align: left;
}

.contact-text a {
    display: block;
    color: #fff;
    background-color: #824fb1;
    text-decoration: none;
    padding: 2px 15px;
    border-radius: 25px;
    font-size: 0.8em;
    width: 300px;
    transition: 1s;
    text-align: center;
    margin-top: 20px;
}

.contact-text a:hover {
    color: #fff;
    background-color: rgb(73, 166, 194);
}

.card-logo {
    margin-top: 80px;
}

.card-front-text {
    margin-top: 50px;
    font-size: 1.3em;
}

.card-logo-back {
    margin-top: 20px;
    /*margin-left: -320px;*/
}

.card-header-back {
    margin-left: 0px;
    margin-top: 20px;
}

.card-email-back {
    color: #fff;
    margin-top: 40px;
}

.card-email-back a {
    color: #fff;
}

.card-email-back a:hover {
    color: #000;
}

.card-linkedin-back {
    color: #fff;
    margin-top: 20px;
}

.card-website-back {
    color: #fff;
    margin-top: 20px;
}

.bi-linkedin {
    font-size: 1.5em;
    color: #1e52d9;
    margin-right: 10px;
}

.bi-linkedin:hover {
    color: #000;
}

.flip-card-back .bi-linkedin {
    color: #fff;
}

.flip-card-back .bi-linkedin:hover {
    color: #000;
}

.cyan-box {
    background-color: rgb(43, 192, 192);
    height: 350px;
    width: 350px;
    margin: 15px auto;
    padding: 100px 20px 0 20px;
    color: #000;
    text-align: center;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-size: 1.2em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.yellow-box {
    background-color: rgb(221, 219, 69);
    height: 350px;
    width: 350px;
    margin: 15px auto;
    padding: 100px 20px 0 20px;
    color: #000;
    text-align: center;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-size: 1.2em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.purple-box {
    background-color: rgb(160, 105, 223);
    height: 350px;
    width: 350px;
    margin: 15px auto;
    padding: 100px 20px 0 20px;
    color: #000;
    text-align: center;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-size: 1.2em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.cyan-box a, .yellow-box a, .purple-box a {
    display: block;
    color: #000;
    padding: 30px 0 0 0;
    font-size: 0.9em;
    transition: 1s;
}

.cyan-box a:hover, .yellow-box a:hover, .purple-box a:hover {
    display: block;
    color: #fff;
    padding: 30px 0 0 0;
    font-size: 0.9em;
}

/*-------------------Footer----------------------------*/

footer {
    text-align: center;
    padding: 10px 10px 2px 10px;
    background-color: #000;
    color: #fff;
    width: 100vw;
    position: fixed;
    bottom: 0;
}

footer h6 {
    font-size: 1em;
}
