@import url('https://fonts.googleapis.com/css?family=Oswald|Rambla|Staatliches&display=swap');

body {
    margin: 0;
    padding: 0;
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-border: #ffffff34;
    --color-blue: #6C63FF;
    --font-staat: 'Staatliches', cursive;
    --font-os: 'Oswald', sans-serif;
    --font-ram: 'Rambla', sans-serif;
}

/* global classes */
.font-staat {
    font: normal 400 18px var(--font-staat);
}

.font-os {
    font: normal 300 18px var(--font-os);
}

.font-ram {
    font: normal bold 18px var(--font-ram);
}

.font-size-40 {
    font-size: 40px;
}

.font-size-34 {
    font-size: 34px;
}

.font-size-27 {
    font-size: 27px;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-16 {
    font-size: 16px;
}

.bgcolor-black {
    background-color: var(--color-blue);
}

/* #global classes */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    transition: left .5s ease;
}

#header nav {
    height: 100vh;
}

#header .site-title .navbar-brand {
    letter-spacing: 2px;
    color: var(--color-white);
}

#header .nav-link {
    margin: .7rem 1rem;
    border-bottom: 1px solid var(--color-border);
    text-transform: uppercase;
}

#header .nav-link:hover {
    color: var(--color-white) !important;
}

#header .toggle-button {
    background: none;
    color: var(--color-black);
    position: fixed;
    top: 25px;
    right: 20px;
    border: 1px solid var(--color-border);
}

.toggle-left {
    left: 0 !important;
    width: 1000px !important;
}

/* site-main */

.site-banner .banner-area {

    background-size: cover;
    width: 100%;
    height: 100vh;
    position: relative;
}

.site-banner .banner-area .author {
    margin: 0;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.site-banner .banner-area .author .author-img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin: auto;
    background: url(./assets/avatar-alt.png) no-repeat;
    background-size: 110%;
    background-position: 40% 0;
}

.skill .bars p,
.site-content .skill .bars span {
    line-height: 10px;
}

#footer form .row .col input[type="text"],
#footer form .row .col input[type="email"],
#footer form textarea {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid gray;
    padding: 1.5rem 1rem;
}

@media screen and (min-width: 768px) {
    .toggle-button {
        display: none;
    }

    #header {
        z-index: 0;
    }
}

#typed {
    color: var(--color-blue);
}

/* #site-main */


/*icons*/
.social-icons a {
    display: inline-block;
    height: 3.5rem;
    width: 3.5rem;
    background-color: #fff;
    color: #343a40 !important;
    border-radius: 100%;
    text-align: center;
    font-size: 1.5rem;
    line-height: 3.5rem;
    margin-right: 1rem
}

.social-icons a:last-child {
    margin-right: 0
}

.social-icons a:hover {
    background-color: var(--color-blue);
    transform: scale(1.2)
}

.social-icons a:hover i {
    transform: scale(1.3);
}

.dev-icons {
    font-size: 5rem;
}

.dev-icons .list-inline-item :hover {
    color: var(--color-blue);
}

/*icons*/



/*project*/
.frame {
    text-align: center;
    position: relative;
    cursor: pointer;
    perspective: 500px;
}

.frame .details {
    width: 90%;
    height: 90%;
    padding: 5% 8%;
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(90deg);
    transform-origin: 50%;
    background: var(--color-blue);
    opacity: 0;
    transition: all 0.4s ease-in;
    color: var(--color-white);
    font-family: var(--font-ram);
}

.frame:hover .details {
    transform: translate(-50%, -50%) rotateY(0deg);
    opacity: 1;
}


/*project icons- github and live site*/
.giti,
.eye {
    font-size: 3rem;
    color: var(--color-white);
}

.eye :hover {
    color: var(--color-white);
}