
	* {
	  font-family: Verdana, Arial, Helvetica, sans-serif;
		line-height: 1.3;
	  font-size: 16px;
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
	}

	body {
	  background-color: #f3f3f5;
	}

	.layout {
		max-width: 1300px;
		margin: 0 auto;
	}

	.display-flex {
		display: flex;
		display: -webkit-flex;
		flex-wrap: wrap;
	}

	main {
		min-height: calc(100vh - 141px);
		padding-top: 15px;
		padding-bottom: 15px;
	}

	main .content {
		background-color: #f3f3f5;
	}
	fieldset {
		position: absolute;
		display: block;
		border: 2px groove (internal value);
		margin-top: 50px;
		margin-left: 100px;
		width:500px; 
		height: 700px;
		border-radius:20px;
		font-size:19px;
		border:2.5px solid #000000;
	}
/* HORNÍ MENU */
	nav {
	  margin: 27px auto 0;
	  position: relative;
	  width: 600px;
	  height: 50px;
	  background-color: #616161;
	  border-radius: 8px;
	  font-size: 0;
	}
	nav a {
	  line-height: 50px;
	  height: 100%;
	  font-size: 15px;
	  display: inline-block;
	  position: relative;
	  z-index: 1;
	  text-decoration: none;
	  text-transform: uppercase;
	  text-align: center;
	  color: white;
	  cursor: pointer;
	}
	nav .animation {
	  position: absolute;
	  height: 100%;
	  top: 0;
	  z-index: 0;
	  transition: all .5s ease 0s;
	  border-radius: 8px;
	}
	a:nth-child(1) {
	  width: 120px;
	}
	a:nth-child(2) {
	  width: 120px;
	}
	a:nth-child(3) {
	  width: 120px;
	}
	a:nth-child(4) {
	  width: 120px;
	}
	a:nth-child(5) {
	  width: 120px;
	}
	nav .start-home, a:nth-child(1):hover~.animation {
	  width: 120px;
	  left: 0;
	  background-color: #7e7e7e;
	}
	nav .start-about, a:nth-child(2):hover~.animation {
	  width: 120px;
	  left: 120px;
	  background-color: #2a2a2a;
	}
	nav .start-blog, a:nth-child(3):hover~.animation {
	  width: 120px;
	  left: 240px;
	  background-color: #2a2a2a;
	}
	nav .start-portefolio, a:nth-child(4):hover~.animation {
	  width: 120px;
	  left: 360px;
	  background-color: #2a2a2a;
	}
	nav .start-contact, a:nth-child(5):hover~.animation {
	  width: 120px;
	  left: 480px;
	  background-color: #2a2a2a;
	}
/* KONEC HORNÍ MENU */
/* SPODNÍ MENU */
	#footer {
		padding: 1.3rem;
		text-align: center;
		background-color: #000;
		color: #ffffff;
	}
/* KONEC SPODNÍ MENU */
/* LOGIN */
	.login {
		width: 400px;
		background-color: #ffffff;
		box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
		margin: 100px auto;
	}
	
	.login h1 {
		text-align: center;
		color: #5b6574;
		font-size: 24px;
		padding: 20px 0 20px 0;
		border-bottom: 1px solid #dee0e4;
	}
	
	.login form {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		padding-top: 20px;
	}
	
	.login form label {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 50px;
		height: 50px;
		background-color: #4a4f59;
		color: #ffffff;
	}
	
	.login form input[type="password"], .login form input[type="text"] {
		width: 310px;
		height: 50px;
		border: 1px solid #dee0e4;
		margin-bottom: 20px;
		padding: 0 15px;
			box-sizing: border-box;
	}
	
	.login form input[type="submit"] {
		width: 100%;
		padding: 15px;
		margin-top: 20px;
		background-color: #4a4f59;
		border: 0;
		cursor: pointer;
		font-weight: bold;
		color: #ffffff;
		transition: background-color 0.2s;
	}
	
	.login form input[type="submit"]:hover {
		background-color: #373a42;
		transition: background-color 0.2s;
	}
/* KONEC LOGINU */
/* SCROLLBAR */
	body::-webkit-scrollbar {
	  width: 1em;
	}
	
	body::-webkit-scrollbar-thumb {
	  background-color: #616161;
	  outline: 1px solid #616161;
	}
/* KONEC SCROLLBAR */
/* CARD */
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
:root {
  --titlesize: 2.5em;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-size: 17px;
  font-family: "Montserrat", sans-serif !important;
}

a {
  text-decoration: none !important;
}

img {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 576px) {
    .grid{
        grid-template-columns: 1fr !important;
    }
}

@media only screen and (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media only screen and (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media only screen and (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media only screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media only screen and (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

.obrazek {
  max-width: 200px;
  width: auto;
  max-height: 200px;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--white);
  margin-left: 2rem;
  margin-bottom: 0.8rem;
}

/* About Me  */

/*#about .about {
  display: flex;
  flex-direction: column;
  justify-content: center;
}*/

h1 {
  font-size: var(--titlesize);
}

/*#about .title, #skola .title {
  margin-top: 8rem;
}*/

#about .container {
  box-sizing: border-box;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#about .text {
  margin-left: 2rem;
  margin-bottom: 0.8rem;
}

.card {
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 20px -3px rgb(0 0 0 / 30%),
    0 4px 10px -12px rgb(0 0 0 / 30%);
  padding: 2rem;
  width: 100%;
  border: 0 !important;
}

.nadpis {
  margin-bottom: 0.3rem;
  font-size: 2rem;
  text-decoration: none;
}

#about .title {
  text-align: center;
}

.ja {
  font-size: 3em;
  text-align: center;
  margin-bottom: 0rem;
}

.popis {
  text-align: center;
  margin-bottom: 2em;
  font-size: 20px;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.dekor {
  list-style-type: none;
}

/* End About Me  */

/* About school*/

main {
  padding: 5rem 0;
}

#projects .container {
  box-sizing: border-box;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
  margin-top: 8rem;
}

#projects .text {
  text-align: center;
}

#projects .project {
  margin-left: 1rem;
  margin-bottom: 0.3rem;
}

#projects h4 {
  margin-left: 2rem;
}

#projects .odkaz {
  margin-left: 2rem;
}
/* KONEC CARD */