@import "about.css";
@import "works.css";
@import "contact.css";
@import "footer.css";
@import "responsiveness.css";

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    display: grid;
    justify-content: stretch;
}

body::-webkit-scrollbar {
    background-color: rgb(190, 101, 250);
    width: 10px;
}

nav.nav-bar {
    width: 100%;
    display: flex;
    position: fixed;
    height: 50px;
    background-color: whitesmoke;
    z-index: 5;
}

.nav-brand, .nav-brand>a {
    display: flex;
    align-items: center;
    position: relative;
    top: .15em;
    left: 6%;
    width: 50px;
    text-decoration: none;
}

.nav-brand>a>span {
    font-size: large;
    text-shadow: 1px -2px 2px rgba(0, 0, 0, 0.75);
    padding: 5px;
    color: rgb(153, 0, 255);
    background-color: transparent;
}

.nav-brand>a>img {
    max-width: 100%;
    border: 1px solid rgb(190, 101, 250);
    border-radius: 5px;
}

.nav-toggler {
    width: 40px;
    height: 30px;
    /* border: 1px solid rgb(190, 101, 250); */
    background-color: white;
    display: grid;
    justify-content: space-around;
    align-content: space-around;
    position: fixed;
    top: .55em;
    z-index: 5;
    left: 90%;
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 1px 1px  2px rgba(0, 0, 0, 0.274);
}

.nav-toggler:hover {
    /* transform: scale(1.03); */
    transition: all ease-in 500ms;
    box-shadow: 2px 2px  5px rgba(0, 0, 0, 0.24);
}

.nav-toggler>span {
    width: 20px;
    height: 2px;
}

.nav-toggler>span:nth-child(1) {
    background-color: rgb(255, 72, 133);
    opacity: 1;
    transition: all 1s ease-in-out;
}

.nav-toggler>span:nth-child(2) {
    background-color: rgb(88, 42, 255);
    opacity: 1;
    transition: all 2s ease-in-out;
}

.nav-toggler>span:nth-child(3) {
    background-color: rgb(190, 101, 250);
    opacity: 1;
    transition: all 1.5s ease-in-out;
}

.menu {
    display: grid;
    justify-content: space-evenly;
    align-content: center;
    background-color: rgb(0, 0, 0);
    position: relative;
    right: -100%;
    width: 20%;
    height: 90vh;
    list-style: none;
    text-align: center;
    padding: 10px;
    opacity: .9;
}

ul>li.menu-item>a {
    text-decoration: none;
    color: whitesmoke;
    

}

ul>li.menu-item {
    font-size: larger;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 10px;
    padding: 10px;

    
}

ul>li.menu-item>a:hover {
    padding: 10px;
    border: 2px solid hotpink;
}

ul>li.menu-item>a.active {
    padding: 10px;
    border: 2px solid whitesmoke;
}

.closed {
    visibility: hidden;
    transform: translateX(100%);
    transition: all 2s ease-in-out;
}

.show {
    visibility: visible;
    /* position: relative;
    right: 0;
    left: 72%; */
    transform: translateX(-143%);
    transition: all 1s ease-in-out;
}

.nav-toggler>span.stroke1 {
    position: relative;
    transform: rotate(-45deg) translate(-6px,6px);
    transition: all 1s ease-in-out;
}

.nav-toggler>span.stroke3 {
    position: relative;
    transform: rotate(45deg) translate(-5px,-6px);
    transition: all 1s ease-in-out;
}

.nav-toggler>span.stroke2 {
    opacity: 0;
    transition: all 1s ease-in-out;
}

#home::before {
    content: "";
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#home {
    width: 100%;
    height: 100vh;
    background: url(../assets/background-image.jpg);
    background-position: center;
    background-size: cover;
    scroll-behavior: smooth;
    /* border: 1px solid; */
    display: grid;
    justify-content: space-around;
    align-content: center;
}

.home-text .intro {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.733);
}

.home-text .intro>span {
    color: rgb(190, 101, 250);
}

.home-text .briefing {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8em;
    font-weight: 200;
    line-height: 1.5;
    color: rgb(211, 211, 211);
}

#about,#works  {
    width: 100%;
    /* border: 1px solid; */
    display: grid;
    justify-content: space-around;
    align-content: center;
}

.home-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.home-text {
    padding-bottom: 20px;
}

.home-action {
    display: grid;
    justify-content: center;
    align-content: center;
    text-decoration: none;
    background-color: #fff;
    /* border: 1px solid; */
    box-shadow: 2px 2px 10px rgb(248, 166, 223);
    width: 100px;
    height: 40px;
    margin: 1em 0;
    border-radius: 2em;
    font-size: 1.5em;
}

.home-action>a {
    text-decoration: none;
    color: rgb(184, 141, 212);
}

.home-action:hover {
    transform: scale(1.1);
    transition: 500ms all ease-in-out;
}

