
/*************************************
General
*************************************/

body {
  color: #32383e;
  margin: 5% 5%;
  font:  2em/1.5 font-family: 'Abel', sans-serif;
}

h2,
h3 {
  font:  font-family: 'Abel', sans-serif;
  letter-spacing: 1px;
  text-align: center;
}

h3 {
  font: 1.8em/1.5em 'Unica One', cursive;
  margin-bottom: 40px;
  margin-top: 80px;
}

p {
  font: 1.25em 'Abel', sans-serif;
  text-align: center;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.main-header {
  height: 450px;
  background: #fff url('../img/rocket_468h.jpg') no-repeat center;
  border-top: solid;
  border-width: 1px;
  border-bottom : solid;
  border-width: 2px;
  margin-top: 0;
}

.tadelakt {
  margin-top: 200px;
}

.facebook img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
}



/*************************************
Layouts
*************************************/

.primary-content,
.secondary-content {
  width: 75%;
  padding-left: 50px;
  padding-right: 50px;
  margin: auto;
  max-width: 960px;
}

.introduction {
  display: block;
  max-width: 150px;
  margin: 0 auto 30px;
  border-radius: 100%;
  margin-top: 150px;
}

.contacts {
  
  letter-spacing: 2px;
  font-size: 1.5em;
  margin-top: 130px;
}

#contacts {
  padding-bottom: 100px;
}

/*************************************
Pseudo-Classes
*************************************/

nav a {
  color: rgb(104,174,170);
}

nav a:visited {
  color: rgb(60,102,100);
}

nav a:hover {
  color: #eaba6a;
}



/*************************************
Navigation
*************************************/

nav {
  text-align: center;
  border-bottom: solid;
  border-width: 2px;
  letter-spacing: 2px;
}

nav ul {
  margin-right: 50px;
}

nav li {
  display: inline;
  font-size: 1.125em;
  padding: 5px 20px;
}



/*************************************
Main Page Gallery
*************************************/

.galleria-container {
    background: url("../img/canvas2.jpg");
    margin: 200px auto;
}


/*************************************
Under construction
*************************************/

.ehitus {
  margin: 150px auto 200px;
}

/*************************************
Footer
*************************************/

.footer {
  text-align: center;
  letter-spacing: 4px;
  padding: 30px 0 10px;
  border-top: solid;
  border-width: 1px;
  
}



/*************************************
Media Queries
*************************************/

@media (max-width: 768px) {

/* fixing spacing */

  nav {
    display: block;
  }

  .primary-content,
  .secondary-content {
    width: 100%;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
  }


  .galleria {
      max-height: 400px;
  }
}
  
@media (max-width: 480px) {

/* fixing spacing */

  .galleria {
      max-height: 250px;
  }

  .contacts {
    margin-top: 100px;
  }
}
  
