/* start body */
body {
    background: #000000;
    color: #999;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

html, body {
    height: 100%;
}

#fullpage {
    min-height: 100vh;
}

#fullpage .section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

#fullpage .section[data-anchor="home"] {
    align-items: center;
    justify-content: center;
}

#fullpage .section-legal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#fullpage .section-legal footer {
    margin-top: auto;
    width: 100%;
}

#fp-nav ul li .fp-tooltip {
    color: #4169e1;
    font-size: 14px;
}
/* end body */

/* start all section */
.section,
.section .fp-slide,
.section .fp-tableCell,
footer {
    height: auto !important;
}
/* end all section */

/* backgrounds */
.section[data-anchor="home"],
.section[data-anchor="welcome"],
.section[data-anchor="skills"],
.section[data-anchor="projects"],
.section[data-anchor="contact"],
.section[data-anchor="legal"] {
    background: url('../images/bg-image.png') no-repeat center center fixed;
    background-size: cover;
}
/* end backgrounds */

/* start all heading */
h1,h2,h3,h4,h5 {
    color: #ffffff;
    font-weight: bold;
}
/* end all heading */

/* start all section */
.section:not([data-anchor="home"]):not([data-anchor="legal"]) {
    padding-top: 50px;
    padding-bottom: 50px;
}

.section[data-anchor="legal"] {
    padding-top: 50px;
    padding-bottom: 0;
}

.section:not([data-anchor="home"]):not([data-anchor="contact"]) .media {
    margin-top: 20px;
    display: table;
}

.section:not([data-anchor="home"]):not([data-anchor="contact"]) .media-object {
    display: table-cell;
    vertical-align: top;
}

.section:not([data-anchor="home"]) .media-object .fa {
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #4169e1;
    font-size: 24px;
    width: 60px;
    height: 60px;
    line-height: 55px;
    text-align: center;
    transition: all 0.6s ease-in;
    display: block;
}

.section:not([data-anchor="home"]):not([data-anchor="contact"]) .media-body {
    display: table-cell;
    vertical-align: top;
    width: auto;
    padding-left: 20px;
}

.section:not([data-anchor="home"]) .media-heading {
    font-weight: 600;
    font-size: 20px;
    padding-bottom: 10px;
    color: #4169e1;
}

.section:not([data-anchor="home"]) h2 {
    text-align: left;
    font-size: 32px;
    margin-bottom: 30px;
}

.section:not([data-anchor="home"]) h3 {
    color: #4169e1;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.section:not([data-anchor="home"]) h4 {
    color: #4169e1;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.section:not([data-anchor="home"]) ul {
    padding-left: 20px;
    color: #999;
    text-align: left;
}
/* end all section */

/* start rotate */
.rotating {
    display: inline-block;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateX(0) rotateY(0) rotateZ(0);
    -moz-transform: rotateX(0) rotateY(0) rotateZ(0);
    -ms-transform: rotateX(0) rotateY(0) rotateZ(0);
    -o-transform: rotateX(0) rotateY(0) rotateZ(0);
    transform: rotateX(0) rotateY(0) rotateZ(0);
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform-origin-x: 50%;
}

.rotating.flip {
    position: relative;
}

.rotating .front, .rotating .back {
    left: 0;
    top: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

.rotating .front {
    position: absolute;
    display: inline-block;
    -webkit-transform: translate3d(0,0,1px);
    -moz-transform: translate3d(0,0,1px);
    -ms-transform: translate3d(0,0,1px);
    -o-transform: translate3d(0,0,1px);
    transform: translate3d(0,0,1px);
}

.rotating.flip .front {
    z-index: 1;
}

.rotating .back {
    display: block;
    opacity: 0;
}

.rotating.spin {
    -webkit-transform: rotate(360deg) scale(0);
    -moz-transform: rotate(360deg) scale(0);
    -ms-transform: rotate(360deg) scale(0);
    -o-transform: rotate(360deg) scale(0);
    transform: rotate(360deg) scale(0);
}

.rotating.flip .back {
    z-index: 2;
    display: block;
    opacity: 1;
    -webkit-transform: rotateY(180deg) translate3d(0,0,0);
    -moz-transform: rotateY(180deg) translate3d(0,0,0);
    -ms-transform: rotateY(180deg) translate3d(0,0,0);
    -o-transform: rotateY(180deg) translate3d(0,0,0);
    transform: rotateY(180deg) translate3d(0,0,0);
}

.rotating.flip.up .back {
    -webkit-transform: rotateX(180deg) translate3d(0,0,0);
    -moz-transform: rotateX(180deg) translate3d(0,0,0);
    -ms-transform: rotateX(180deg) translate3d(0,0,0);
    -o-transform: rotateX(180deg) translate3d(0,0,0);
    transform: rotateX(180deg) translate3d(0,0,0);
}

.rotating.flip.cube .front {
    -webkit-transform: translate3d(0,0,100px) scale(0.9,0.9);
    -moz-transform: translate3d(0,0,100px) scale(0.85,0.85);
    -ms-transform: translate3d(0,0,100px) scale(0.85,0.85);
    -o-transform: translate3d(0,0,100px) scale(0.85,0.85);
    transform: translate3d(0,0,100px) scale(0.85,0.85);
}

.rotating.flip.cube .back {
    -webkit-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.9,0.9);
    -moz-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    -ms-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    -o-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
}

.rotating.flip.cube.up .back {
    -webkit-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.9,0.9);
    -moz-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    -ms-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    -o-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
    transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
}
/* end rotate */

/* start home */
.section[data-anchor="home"] {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 140px;
    text-align: center;
    display: flex;
    align-items: center;
}

.section[data-anchor="home"] h1 {
    border: 2px solid #4169e1;
    color: #4169e1;
    display: inline-block;
    letter-spacing: 6px;
    padding: 25px 35px;
    margin: 30px 0;
    font-size: 64px;
}

.section[data-anchor="home"] h2 {
    padding-bottom: 10px;
    color: #4169e1;
}

.section[data-anchor="home"] h3 {
    padding-bottom: 10px;
    color: #c0c0c0;
}

.section[data-anchor="home"] .btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    width: 180px;
    height: 60px;
    margin-top: 40px;
    padding-top: 18px;
    transition: all 0.6s ease-in-out;
}

.section[data-anchor="home"] .btn:hover {
    background: #4169e1;
    border-color: transparent;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4169e1;
}

.profile-header h1 {
    margin: 0;
}
/* end home */

/* start projects */

.project-metrics {
    font-size: 0.95em;
    color: #c0c0c0;
    margin: 20px 0 40px;
    text-align: center;
}
/* end projects */

/* start contact */
.section[data-anchor="contact"] address {
    padding-bottom: 18px;
}
	
.section[data-anchor="contact"] .contact-title {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 20px;
    color: #ffffff;
}

.section[data-anchor="contact"] address img {
    margin-right: 10px;
    vertical-align: middle;
}

.section[data-anchor="contact"] address a {
    color: #999;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.section[data-anchor="contact"] address a:hover {
    color: #4169e1;
}

.section[data-anchor="contact"] .form-control {
    background: transparent;
    border: 2px solid #999;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    margin-bottom: 20px;
    width: 95%;
}

.section[data-anchor="contact"] input {
    height: 50px;
}

.section[data-anchor="contact"] textarea {
    width: 100%;
}

.section[data-anchor="contact"] input[type="submit"] {
    background: #4169e1;
    border: 2px solid transparent;
    color: #ffffff;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
}

.section[data-anchor="contact"] input[type="submit"]:hover {
    background: #ffffff;
    color: #4169e1;
}

.section[data-anchor="contact"] #feedbackMessage {
    margin-top: 15px;
    font-weight: bold;
}

.section[data-anchor="contact"] .contact-social {
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 16px;
    align-self: center;
}
/* end contact */

/* start footer */
footer {
    background: #4169e1;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
    position: static;
}

footer hr {
    width: 100px;
    border-color: #ffffff;
}

footer p {
    color: #ffffff;
}

.section-legal footer {
    margin-top: auto;
}

footer .social-icon {
    background: #000;
    border-radius: 999px;
    padding: 10px 16px;
    display: inline-flex;
    justify-content: center;
    gap: 20px;
}
/* end footer */

/* start social icon */
.social-icon {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    border-radius: 50%;
    color: #606060;
    text-decoration: none;
    transition: all 0.6s ease-in-out;
    text-align: center;
    margin-right: 10px;
}

.social-icon li a:hover {
    opacity: 0.7;
}

.social-icon li a img {
    width: 24px;
    height: 24px;
}
/* end social icon */

@media (max-width: 768px) {
    .profile-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}