@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Lato|Libre+Baskerville&subset=latin-ext');

* {
    box-sizing: border-box;
}

body{
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: "Lato", "Open Sans", Arial;
  background-image: url(../images/las.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

html,
body,
footer{
	display: flex;
	display:-webkit-flex;
}

html,
body,
footer{
	flex-wrap: wrap;
	flex-direction: column;
}

a{
  text-decoration: none;
}

p{
  font-family: 'Raleway', sans-serif;
  font-size: 1em;
	line-height: 1.5;
}

h1{
  font-size: 3.2em;
  width: 100%;
  padding: 0px 0px 20px 0px;
  font-family: 'Libre Baskerville', serif;
  text-align: center;
  text-transform: uppercase;
}

h2{
  font-size: 1.2em;
  text-align: center;
  text-transform: uppercase;
}

.row{
  width: 100%;
}

.jumbo{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 60px 160px 20px 160px;
}

.opis-row{
}

.opis-container{
  display: flex;
  flex-flow: row;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1200px;
}

.opis{
  width: 48%;
  padding: 30px 40px;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-flow: column;
}

.newsletter-text{
  font-size: 0.7em;
  width: 90%;
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0.5em;
}

form{
  display: flex;
  flex-flow: column;
  flex-wrap: nowrap;
  width: 100%;
}

.zgodarow{
  width: 100%;
  display: flex;
  justify-content: center;
}

label[for="freshmail_email"] {
    display: flex;
    align-items: center;
    line-height: 1;
    padding: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
}

input[type=text] {
    width: 80%;
    max-width: 300px;
    height: 2.5em;
    padding: 12px 20px;
    margin: 12px 0px;
    background-color: #fff;
    border: solid 1px #aaa;
    border-right: none;
}

.mail{
  align-items: center;
}

input[type=text]:hover {
    background-color: #f3f3f3;
}

input[type=submit] {
    width: 20%;
    min-width: 92px;
    height: 2.5em;
    padding: 12px 20px;
    margin: 12px 0px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    line-height: 1;
    background-color: #aaa;
    border: solid 1px #aaa;
}

input[type=submit]:hover {
    color: #fff;
    background-color: #777;
    border: solid 1px #777;
}

input[type=checkbox] {
    width: 24px;
    margin: 0px;
    background-color: #f3f3f3;
}

footer{
  text-align: center;
  align-self: flex-end;
  width: 100%;
  color: #fff;
  border-top: solid 1px #fff;
  margin: 20px 0px 0px 0px;
  max-width: 1200px;
}

/* -- MOBILE ONLY -- */

@media only screen and (min-width : 320px) and (max-width : 959px) {

       .mobile-hide{
         display: none;
       }

       body{
        background-image: url(../images/las-mobile.jpg);
       }

       h1{
         font-size: 2em;
         padding: 20px 0px 60px 0px;
       }

       .jumbo{
         display: flex;
         flex-wrap: wrap;
         justify-content: space-around;
         align-items: center;
         width: 100%;
         height: 100vh;
         padding: 40px 0px 20px 0px;
       }

       .opis-container{
         flex-flow: column;
         flex-direction: column;
       }

       .opis{
         width: 100%;
         padding: 20px 20px;
         background-color: rgba(255, 255, 255, 0.8);
       }

       footer{
         border-top: none;
         padding: 40px 0px 60px 0px;
       }

}
