body {
    font-family: "Roboto Flex", serif;
    background-color: #D9D9D9;
    color: #505050;
    display: flex;
    height: 100vh;
    font-size: 1.3rem;
    position: relative;
}

.noise::before{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    content: "";
    /* you can control opacity of noise  */
    opacity: .1;
    z-index: 1000;
    pointer-events: none;
    background: url(assets/noise.gif) ;
}

.wrapper {
    margin: 1rem 1rem 1rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 2px solid #505050;
}

.sideBar {
    transform: rotate(-90deg);
    transform-origin: bottom left;
    position: fixed;
    bottom: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-left: 0.4rem;
}

.darkMode, .lightMode {
    display: flex;
    align-items: center;
}

.page-header {
    display: flex;
    justify-content: space-evenly;
    flex-shrink: 0;
    font-family: 'Prosto One', sans-serif;
}

.logo {
    height: 2.5rem;
}

.main {
    flex: 1 0 auto;
    padding: 1.5rem;
}

.page-footer {
    flex-shrink: 0;
}

h1 {
    font-size: 1.5rem;
}

.prof {
    margin-left: 0.2rem;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.icon {
    margin-top: 0.5rem;
    font-size: 1.6rem;
}

.menu {
    margin-top: 2rem;
    font-size: 1.3rem;
    font-family: 'Prosto One', sans-serif;
}

.menuItem {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.menuItem p {
    margin-left: 1.2rem;
    margin-top: 1rem;
}

.home {
    margin-left: 1rem;
}

.text {
    margin: 4rem 1rem 0 0;
    text-indent: 0.5rem;
}

.homeAboutMe {
    position: absolute;
    right: 5rem;
    display: block;
    margin-top: 1rem;
}

.aboutMe {
    white-space: nowrap;
    line-height: 1.2;
}

.aboutMe span{
    display: block;
    font-size: 1.3rem;
}

footer {
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.5rem;
}

footer div {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

footer p {
    margin-top: 0.5rem;
}

a[href] {
    color: #505050;
}

.skills {
    margin-top: 1rem;
    line-height: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    right: 3rem;
}

.skillSet {
    margin: 1.2rem 7rem 1.2rem 1.2rem;
}

.skillsSet {
    font-size: 1.5rem;
    line-height: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin: 1rem;
}
.frontEndSkillset {
    padding-right: 2.1rem;
}

.skill {
    list-style-type: circle;
    list-style-position: inside;
    margin: 0.4rem 0.4rem 0.4rem 1rem;
    font-size: 1.4rem;
}

.projects, .projectsItem {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.projectsItem {
    margin-bottom: 1rem;
    text-align: right;
}

.projectsItem a span {
    font-size: 2rem;
    font-weight: 700;
    color: #505050;
    text-decoration: none;
}

#ChangeTheme {
    width: 0;
    height: 0;
    opacity: 0;
}

label {
    display: block;
    height: 11px;
    width: 60px;
    position: relative;
    transform: rotate(90deg) translate(490px, 20px);
}

span.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 30px;
}

span.slide:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    background: #505050;
    border-radius: 50%;
    top: -2px;
    left: 0px;
    transition: 0.5s;
    box-shadow: rgba(0, 0, 0, 0.21) 0px 0px 7px 1px;
}

.side {
    position: relative;
    width: 1.1rem;
}

.txtLight {
position: relative;
transform: rotate(270deg) translate(-460px, 1px);
color: #868686;
font-weight: bold;
font-size: 0.8rem;
transition: 0.5s;
}

.txtDark {
    position: relative;
    transform: rotate(270deg) translate(-550px, 1px);
    font-weight: bold;
    font-size: 0.8rem;
    color: #505050;
}

#ChangeTheme:checked + span.slide:before {
transform: translatex(45px);
}
/* if dark-mode class is added set this background */
body.dark-mode {
   background: #868686;
   color: #f5f5f5;
}
.dark-mode .side .txtLight {
   color: #f5f5f5;
}
.dark-mode .side .txtDark {
    color: #505050;
}
.dark-mode a:visited {
    color: #f5f5f5;
}
.dark-mode .projectsItem a span {
    color: #f5f5f5;
}

@media screen and (max-width:460px) {
    body, .menu {
        font-size: 0.9rem;
    }

    .main {
        padding: 1rem;
    }

    .page-header {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .title {
        margin-left: 0.5rem;
    }

    .skills {
        margin-top: 2rem;
    }

    .menu {
        margin-top: 1rem;
    }
}

@media screen and (max-width:768px) {
   .icon {
    font-size: 1.5rem;
   }
}
