@import url("https://fonts.googleapis.com/css2?family=Poppins%3Awght%40100%3B200%3B300%3B400%3B500%3B600&display=swap%27%29%3B");

@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Meow+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Story+Script&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Bentham&display=swap');



/*GOOGLE FONTS*/

.ballet-uniquifier {
  font-family: "Ballet", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.meow-script-regular {
  font-family: "Meow Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.story-script-regular {
  font-family: "Story Script", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.cantata-one-regular {
  font-family: "Cantata One", serif;
  font-weight: 400;
  font-style: normal;
}

.bentham-regular {
  font-family: "Bentham", serif;
  font-weight: 400;
  font-style: normal;
}



/*ZÁKLAD*/

* {

margin: 0;
padding: 0;
box-sizing: border-box;


}

html {

font-size: 62.5%;
scroll-behavior: smooth;

}

body {

width: 100%;
height: 100vh;
overflow-x: hidden;
background-color: color-mix(in srgb-linear, pink 50%, purple 50%);
color: rgb(12, 0, 15);

}


/*HLAVIČKA*/

header {

margin-top: 20px;
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 1rem 9%;
background-color: rgba(240, 188, 218, 0.1);
filter: drop-shadow(10px);
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
backdrop-filter: blur(3px);

}

.logo {

font-size: 3rem;
color: rgb(121, 13, 76);
font-weight: 800;
cursor: pointer;
transition: 0.3s ease;
text-decoration: none;
font-family: "Story Script", sans-serif;

}

.logo:hover {

transform: scale(1.1);
color: rgb(255, 255, 255);
font-family: "Meow Script", cursive;

}

nav a {

font-size: 1.8rem;
color: rgb(121, 13, 76);
margin-left: 3rem;
font-family: 500;
transition: 0.3s ease;
border-bottom: 3px solid transparent;
text-decoration: none;
font-family: "Story Script", sans-serif;

}

nav a:hover,
nav a:active {

color: rgb(255, 255, 255);
border-bottom: 3px solid rgb(214, 48, 145);

}

/*RESPONZIVITA*/

@media(max-width:995px) {

nav {

position: absolute;

top: 0;
right: 0;
width: 40%;
border-left: 3px solid rgb(173, 28, 112); 
border-bottom: 3px solid rgb(173, 28, 112);
border-bottom-left-radius: 2rem;
padding: 1rem solid;
background-color: rgba(143, 42, 111, 0.296);
border-top: 3px solid rgb(173, 28, 112);


}

nav .active {

display: block;

}

nav a {

display: block;
font-size: 2rem;
margin: 3rem 0;
}

nav a:hover,
nav a.active {

padding: 1rem;
border-radius: 0.5rem;
border-bottom: 0.5rem solid rgb(173, 28, 112);
color: rgb(255, 255, 255);


}

}

/*HLAVNÍ SEKCE*/

section {

min-height: 100vh;

}

.home {

position: relative;
display: flex;
justify-content: center;
align-items: center;
gap: 8rem;
background-image: url(images/BACKGROUND.png);
background-repeat: no-repeat;
background-size: cover;
padding: 4rem 8rem;


}

.home .home-content h1 {

font-size: 6rem;
font-weight: 700;
line-height: 1.3;
font-family: "Story Script", sans-serif;

}

span {

color: rgb(214, 48, 145);
  font-family: "Meow Script", cursive;


}

.home-content h3 {

font-size: 4rem;
margin-bottom: 1rem;
font-weight: 700;
font-family: "Story Script", sans-serif;
}

.home-content p {

font-size: 2.5rem;
padding-top: 1.5rem;
font-weight: bold;
font-family: "Bentham", serif;



}

.home-content p:hover {

color: rgb(214, 48, 145);
cursor: pointer;
font-weight: bolder;
transition: 1.5s ease;


}



.home-img {

border-radius: 50%;

}

.home-gif {

display: block;
float: right;
width: 620px;
height: auto;
margin-top: -25rem;







}

.home-img img {

position: relative;
width: 32vw;
height: auto;
border-radius: 50%;
box-shadow: 0 0 25px solid;
cursor: pointer;
transition: 0.2s linear;
}

.home-img img:hover {

font-size: 1.8rem;
font-weight: 500;

}

.social-icons a {

display: inline-flex;
justify-content: center;
align-items: center;
width: 4rem;
height: 4rem;
background-color: transparent;
border: 0.2rem solid rgb(12, 0, 15);
font-size: 2rem;
border-radius: 50%;
margin: 3rem 1.5rem 3rem;
transition: 0.3s ease;
color: rgb(22, 1, 27);
text-decoration: none;

}

.social-icons a:hover {

color: rgb(22, 1, 27);
transform: scale(1.3)translateY(-5px);
background-color: rgb(255, 187, 233);
box-shadow: 0 0 25px rgb(173, 28, 112) ;


}

.btn {

display: inline-block;
padding: 1rem 2.8rem;
background-color: rgb(214, 48, 145);
border-radius: 4rem;
font-size: 1.6rem;
color:rgb(255, 187, 233);
letter-spacing: 0.3rem;
font-weight: 600;
border: 2px solid rgb(121, 13, 76);
transition: 0.3s ease;
cursor: pointer;
text-decoration: none;
font-family: "Story Script", sans-serif;


}

.btn:hover {

transform: scale3d(1.03);
background-color: rgb(255, 187, 233);
color: rgb(12, 1, 18);
box-shadow: 0 0 25px rgb(214, 48, 145);

}

.typing-text {

font-size: 34px;
font-weight: 600;
min-width: 280px;

}

.typing-text span {

position: relative;

}

.typing-text span::before {

content: "software Deloper";
color: rgb(214, 48, 145);
animation: words 20s infinite ;

}

.typing-text span::after {

content: "";
background-color: transparent;
position: absolute;
width: calc(100% + 8px);
height: 100%;
border-left: 3px solid rgb(173, 28, 112);
right: -8;
animation: cursor 0.6s infinete;

}


@keyframes cursor {

to {

border-left: 3px solid rgb(255, 187, 233);

}

}

@keyframes words {

    0%, 20% {

content: "Grafik a Designér"

    }
    21%, 40% {
      content: "Spisovatelka";  
    }
    
    41%, 60% {
        content: "Kreativní duše";
    }
    61%, 80% {
        content: "Milovnice kávy";
    }
    81%, 100% {
        content:"Studentka střední školy";
    }
}

@media (max-width: 1200px) {

.home {

  gap: 3rem;
}

.home-img {

width: 280px;

}
}

@media (max-width: 995px) {

.home {

flex-direction: column;
margin: 5rem 4rem;  
}

.home .home-content h3 {

font-size: 2.5rem;

}

.home-content h1 {

font-size: 5rem;
  
}

.home-ima img {

margin-top: 4rem;
width: 70vh;

}

.home-gif {

display: block;
float: right;
width: 220px;
height: auto;
margin-top: -25rem;







}


}

@media (max-width: 768px) {

header {

flex-direction: column;
gap: 1rem;

}

nav a {

margin-left: 1.5rem;
font-size: 1.6rem;

}

.home {

flex-direction: column;
text-align: center;

}

.home-content h1 {

font-size: 4rem;

}

.home-content h3 {

font-size: 2.5rem;


}

.home-content p {

font-size: 1.8rem;

}

.home-img img {

width: 150px;

}

.home-gif {

width: 150px; 
margin-top: 1rem;
}

}

@media (max-width: 480px) {

.logo {

font-size: 2.4rem;

}

nav a {

font-size: 1.4rem;

}


.btn {

font-size: 1.4rem;
padding: 0.8rem 2rem;


}

.home-gif {

width: 180px;

}

}




