@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap');

:root{
    --purple:#1e0624;
}




*{
    font-family: 'Nunito', sans-serif;
margin: 0; padding: 0;
box-sizing: border-box;
text-decoration: none;
outline: none; border: none;
text-transform: capitalize;
transition: all .2s linear;
}

*::selection{
    background:var(--purple);
    color: aliceblue;
}
html{
    font-size: 62,5%;
    overflow-x: hidden;
}
html::-webkit-scrollbar{
width:1.4rem;
}
html::-webkit-scrollbar-track{
    background: white;
    }
    html::-webkit-scrollbar-thumb{
        background:var(--purple);
        }
body{
    background: rgb(7, 7, 7);
    overflow-x: hidden;
    padding-left: 35rem;
}
section{
    min-height: 100vh;
    padding: 1rem;
}




header{
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    height: 100%;
    width: 32rem;
    background:rgb(10, 10, 10) ;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
}
header .user img{
    height: 12rem;
    width: 12rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 0.5rem solid var(--purple);
}
header .user .jmeno{
    font-size: 3.5rem;
    color: whitesmoke;
}
header .user .podtim{
    font-size: 2rem;
    color: whitesmoke;
}
header .navbar{
    width: 100%;
}
header .navbar ul{
   list-style: none;
   padding: 1rem 3rem; 
}
header .navbar ul li a{
    display: block;
    padding: 1rem;
    margin: 1.5rem 0;
    background: #1a1919;
    color: whitesmoke;
    font-size: 1.5rem;
    border-radius: 5rem;
 }
 header .navbar ul li a:hover{
    background: var(--purple);
 }
 #menu{
    position: fixed;
    top: 2rem; right: 2rem;
    background: #1a1919;
    color: whitesmoke;
    cursor: pointer;
    font-size: 2.5rem;
    padding: 1rem 1.5rem;
    z-index: 1000;
    display: none;
 }

.home{
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding: 0 15rem;
}
.home h3{
    font-size: 4rem;
    color: whitesmoke;
}
.home h1{
    font-size: 5rem;
    color: whitesmoke;
}

.home p{
    font: 2rem;
    color: whitesmoke;
    padding: 1rem 0;
}
.druhak_cvik a{
   color: whitesmoke;
   text-decoration: none;
   display: block;
   padding: 1rem;
   margin: 1rem 0;
   background: #1a1919;
   font-size: 2rem;
   margin-left: 5%;
}
.druhak_cvik a:hover{
    background: var(--purple);
 }
 .textik h1{
color: whitesmoke;
text-align: center;
padding-top: 30%;
 }
 .socialky i{
    text-decoration: none;
    color: whitesmoke;
    font-size: 8rem;
    display: inline-block;
    padding: 1rem;
    margin: 25% 0;
    margin-left: 25%;
 }
 .socialky i:hover{
    background: var(--purple);
    border-radius: 50%;
 }
 .tretak_cvik a{
    color: whitesmoke;
    text-decoration: none;
    display: block;
    padding: 1rem;
    margin: 1rem 0;
    background: #1a1919;
    font-size: 2.2rem;
    margin-left: 5%;
 }
 .druhak_cvik a:hover{
     background: var(--purple);
  }
  footer{
    background: black;
    width: 100%;
    padding: 8px 0;
    text-align: center;
    color: #fff;
    font-size: 20px;
    padding-top: 1%;
    padding-bottom: 1%;
  }

  @media only screen and (max-width: 1200px) {
    html {
        font-size: 56.25%;
    }

    body {
        padding-left: 20rem;
    }

    header {
        width: 25rem;
    }

    .home {
        padding: 0 10rem;
    }

    .home h3 {
        font-size: 2rem;
    }

    .home h1 {
        font-size: 2.5rem;
    }

    .home p {
        font-size: 1.8rem;
    }

    .navbar ul li a {
        font-size: 1.4rem;
    }

    .socialky i {
        font-size: 6rem;
    }

    .druhak_cvik a {
        font-size: 1.8rem;
    }

    .tretak_cvik a {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 50%;
    }

    body {
        padding-left: 5rem;
    }

    header {
        width: 20rem;
    }

    .home {
        padding: 0 5rem;
    }

    .home h3 {
        font-size: 1.8rem;
    }

    .home h1 {
        font-size: 2rem;
    }

    .home p {
        font-size: 1.6rem;
    }

    .navbar ul li a {
        font-size: 1.3rem;
    }

    .socialky i {
        font-size: 5rem;
        margin-left: 10%;
    }

    #menu {
        display: block;
    }

    .druhak_cvik a {
        font-size: 1.6rem;
    }

    .tretak_cvik a {
        font-size: 1.8rem;
    }
}

@media only screen and (max-width: 480px) {
    html {
        font-size: 45%;
    }

    body {
        padding-left: 2rem;
    }

    header {
        width: 100%;
        height: auto;
        position: relative;
        text-align: left;
    }

    header .navbar ul {
        padding: 1rem;
    }

    .home {
        padding: 0 2rem;
    }

    .home h3 {
        font-size: 1.6rem;
    }

    .home h1 {
        font-size: 1.8rem;
    }

    .home p {
        font-size: 1.4rem;
    }

    .navbar ul li a {
        font-size: 1.2rem;
        padding: 0.8rem;
    }

    .socialky i {
        font-size: 4rem;
        margin-left: 20%;
    }

    .druhak_cvik a {
        font-size: 1.4rem;
    }

    .tretak_cvik a {
        font-size: 1.6rem;
    }

    #menu {
        font-size: 2rem;
    }
}