@import url(//fonts.googleapis.com/css?family=Open+Sans);

@font-face {
    font-family: 'Open Sans', 'Calibri', 'sans-serif', 'Arial', 'Roboto';
	src: url('OpenSans.ttf')  format('truetype');
}

body {
    background-image: url('images/bg1920.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-color:#E0E0E0;
    font-family: 'Open Sans', 'Calibri', 'sans-serif', 'Arial', 'Roboto';
	color: #000000;
	padding-top: 6em;
    display: flex;
	align-items: center;
    justify-content: center;
	flex-direction: column;
}

.box {
    text-transform: uppercase !important;
	text-align: center;
    padding: 0px 0px 10px 0px;
	font-family: 'Open Sans';
}

.typewriter h1 {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .15em solid grey; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .01em; /* Adjust as needed */
  animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  100% { border-color: #5E5E5E; }
}

.kapcsolat 
{
    margin: 0 auto;
    max-width: 400px;
    padding: 5px 0px 0px 0px;
    display: block;
}

.adasvetel 
{
    margin: 0 auto;
    overflow: auto;
    max-width: 550px;
    padding-top: 2px;
	padding-left: 8px;
	padding-right: 8px;
    font-size:18px;
    display: block;
}

.ex1
{
    font-size: 1.2em;
    padding-left: 4px;
    margin:0px;
}

.ex2
{
    padding-top:10px;
    padding-left: 0px;
    font-size:22px;
    margin: 8px auto;
    overflow: auto;
    max-width: 550px;
}

.ex3
{
    font-size:20px;
	text-align: justify;
    text-justify: inter-word;
	font-family: 'Calibri';
}

@media only screen and (max-width: 1366px) {
body {
    background-image: url('images/bg1366.jpg');
}

.kapcsolat 
{
    max-width: 320px;
}

.ex1
{
    font-size: 1em;
}

.ex2
{
    font-size:20px;
}

.ex3
{
    font-size:18px;
}

}

@media only screen and (max-width: 875px) {
body {
    background-image: url('images/bg-mobile.jpg');
}

}

@media (max-width: 540px) {

.ex1
{
    font-size: 0.9em;
}

}

@media (max-width: 480px) {

img {
    max-width: 260px;
}

.ex1
{
    font-size: 0.8em;
}

.ex2
{
	font-size:19px;
}

.kapcsolat {
    max-width: 280px;
}

.ex3
{
    font-size:17px;
    line-height: 120%;
}

}

@media (max-width: 400px) {

img {
    max-width: 210px;
}

.ex1
{
    font-size: 0.6em;
}

.kapcsolat {
    max-width: 230px;
}

.ex2
{
    font-size:16px;
}

.ex3
{
    font-size:14px;
    line-height: 120%;
}

}