/* body */
body {
    font-family: 'Raleway', sans-serif;
}

/* header */
#particle-canvas {
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: 1;
}

#home {
    text-align: center;
    color: white;
    height: 100vh;
}

#home h1 {
    position: relative;
    top: -60vh;
    z-index: 5;
    color: white;
    font-size: 32px;
    font-weight: 300;
}

#home h1 span {
    color: #4b6cc1;
    font-weight: 400;
    -webkit-transition: color 0.5s, text-decoration 0.5s;
    -moz-transition: color 0.5s, text-decoration 0.5s;
    -ms-transition: color 0.5s, text-decoration 0.5s;
    -o-transition: color 0.5s, text-decoration 0.5s;
    transition: color 0.5s, text-decoration 0.5s;
}

#home h1 span:hover {
    color: white;
    text-decoration: underline;
}

#home a {
    position: relative;
    font-weight: 300;
    top: -55vh;
    color: white;
    font-size: 1.2em;
    z-index: 5;
    text-decoration: none;
    padding: 0.5em 1em;
    border: 2px solid white;
    display: inline-block;
    width: 200px;
    text-align: center;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    -ms-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;
}

#home-arrow {
    font-size: 0.9em;
    margin-left: 10px;
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
    transition: transform 0.5s;
}

#home a:hover {
    color: #4b6cc1;
    border-color: #4b6cc1;
    background: white;
}

#home a:hover #home-arrow {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

@media (max-height: 550px) {
    #home h1 {
        top: -85vh;
    }

    #home a {
        top: -75vh;
    }
}

/* about */
#about {
    background-color: #fafafa;
}


/* contact form */
#contact-form {
    background-color: #191a1d;
    color: white;
}

.field .label {
    color: white;
}

#submit {
    position: relative;
    cursor: pointer;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0);
    font-weight: 300;
    color: white;
    font-size: 1.2em;
    z-index: 5;
    text-decoration: none;
    padding: 0.5em 1em;
    border: 2px solid white;
    display: inline-block;
    width: 180px;
    text-align: center;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    -ms-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;
}

#submit:hover {
    color: #4b6cc1;
    border-color: #4b6cc1;
    background: white;
}

/* portfolio */
#portfolio {
    background-color: white;
}

.port {
    background: white;
    margin: 0;
    padding: 0;
    border-radius: 25px;
    transition: background 0.5s;
}

.port:hover {
    background: #4b6cc1;
}

.port-img {
    border-radius: 25px;
    border: 1px solid gray;
    cursor: pointer;
    background: white;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -ms-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.port-img:hover {
    opacity: 0;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #4b6cc1;
    border-radius: 25px;
    display: inline-block;
    height: calc(100% - 6px);
}

.port-hover {
    position: relative;
    display: inline-block;
}

.port-hover:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* testimonial */
#testimonials {
    margin-top: 40px;
}

/* footer */
.footer {
    background-color: #101114;
}

.social-media a {
    font-size: 2.6em;
    margin: 0;
    color: white;
    padding: 20px 10px;
    -webkit-transition: color 0.5s;
    -moz-transition: color 0.5s;
    -ms-transition: color 0.5s;
    -o-transition: color 0.5s;
    transition: color 0.5s;
}

.social-media a:hover {
    color: #4b6cc1;
}

.copyright {
    background-color: #101114;
    margin: 0;
    padding: 20px 0 0 0;
}

.copyright a {
    color: #4b6cc1;
    -webkit-transition: color 0.5s, text-decoration 0.5s;
    -moz-transition: color 0.5s, text-decoration 0.5s;
    -ms-transition: color 0.5s, text-decoration 0.5s;
    -o-transition: color 0.5s, text-decoration 0.5s;
    transition: color 0.5s, text-decoration 0.5s;
}

.copyright a:hover {
    color: white;
    text-decoration: underline;
}

/* contact page */
#response {
    padding-top: 30vh;
}

.bold-link {
    font-weight: bold;
    text-decoration: underline;
    -webkit-transition: color 0.5s;
    -moz-transition: color 0.5s;
    -ms-transition: color 0.5s;
    -o-transition: color 0.5s;
    transition: color 0.5s;
}

a .subtitle:hover {
    color: #4b6cc1 !important; 
}

@media screen and (max-height: 500px) {
    #response {
        padding-top: 20vh;
    }

}

/* error page */
#error-message {
    font-weight: bold;
}

/* return to top */
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid white;
}
.chevron {
    color: #fff;
    margin: 0;
    position: relative;
    left: 12px;
    top: 10px;
    font-size: 25px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #4b6cc1;
}
.chevron:hover  {
    color: #fff;
    color: #4b6cc1;
    top: 5px;
}

/* random */
.h1-underline {
    border-bottom: 5px solid #4b6cc1;
    width: 130px;
    margin: 0 auto 48px;
}

.tag {
    font-weight: bold;
}

.mt-10 {
    margin: 20px auto;
}

.mt-40 {
    margin-top: 40px;
}

.is-horizontal-center {
    margin: 0 auto;
}

section {
    opacity: 0;
    transform: translate(0, 20px); 
    transition: all 2s;
}
  
section.vsb{
    opacity: 1;
    transform: translate(0, 0); 
}