/* 
google fonts used in this project
font-family: 'Anton', sans-serif; h1
font-family: 'Dosis', sans-serif; p
font-family: 'Noto Serif', serif; h2
 */

/* css reset */
* {
  box-sizing: border-box;
}

body,
html,
div,
blockquote,
img,
label,
p,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
ul,
ol,
li,
dl,
dt,
dd,
form,
a,
fieldset,
input,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}

body {
  line-height: 1.5em;
  font-size: 88%;
  text-align: justify;
  /* padding: 1em; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  padding: 0.6em 0;
  text-transform: uppercase;
}

ul,
ol {
  list-style: none;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.floatLeft {
  float: left;
  padding: 0.5em 0.5em 0.5em 0;
}

.floatRight {
  float: right;
  padding: 0.5em 0 0.5em 0.5em;
}

/* header section css rules */
header {
  background-color: #131200;
  color: #eef5db;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 4em 0;
  padding: 2em 0;
}

header > h1 {
  font-family: "Anton", sans-serif;
  font-size: 1em;
  letter-spacing: 0.2em;
  font-weight: 100;
  text-align: center;
}

/* main container */
.main-container {
  width: 90%;
  margin: 0 auto;
  background-image: url("../images/pexels-hasan-albari-1229861.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 5px solid #fff;
  border-radius: 20px;
}

.form-container {
  margin: 2em 0;
  color: #eef5db;
  width: 100%;
  padding: 0 2em;
}

.left {
  display: flex;
  justify-content: end;
}

.left > span {
  padding: 0.2em;
  display: none;
  margin-bottom: 0.2em;
  color: #fff;
  background: #262730;
  border-radius: 15px solid #262730;
}

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn {
  width: 8em;
  border: 5px solid #eef5db;
  border-radius: 15px;
  color: #131200;
  letter-spacing: 0.2em;
  font-family: "Dosis", sans-serif;
  font-weight: bolder;
}

.btn:hover {
  background-color: #388697;
  border: 5px solid #388697;
  color: #eef5db;
}

textarea {
  padding: 1em;
  border: 5px solid #fff;
  border-radius: 20px;
  width: 100%;
  resize: none;
}

textarea:focus {
  outline: none !important;
  border: 5px solid #fff;
}

input {
  width: 100%;
  height: 100%;
  padding: 0.2em;
  border: 5px solid #fff;
  border-radius: 20px;
}

.display-section {
  margin: 3em 0 0 0;
}

.display-section > h2 {
  font-family: "Noto Serif", serif;
  background-color: #262730;
  font-size: 0.8em;
  text-align: center;
  color: #eef5db;
  margin: 2em 0 3em 0;
  width: 100%;
}

.footer-container {
  display: flex;
  width: 100%;
  background-color: #131200;
  justify-content: center;
  align-items: center;
  height: 100px;

  position: absolute;
  bottom: -206px;
  left: 0;
}

ul {
  display: flex;
  justify-content: space-around;
  width: 70%;
}

footer > ul > li > a > i {
  color: #eef5db;
}

body {
  position: relative;
}

.feedback {
  width: 90%;
  background-color: #262730;
  margin: 0 auto;
  padding: 1em;
  color: #fff;
}

#name-output,
#comment-output {
  margin: 0 0 1em 0;
  width: 100%;
  height: auto;
  word-wrap: break-word;
  letter-spacing: 0.3em;
  line-height: 1.3em;
}

label,
.feedback,
span,
textarea,
.warning {
  font-family: "Dosis", sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.9em;
}

.warning {
  width: 30%;
  margin: 0 auto;
  display: none;
  background-color: #5da9e9;
  text-align: center;
  border-radius: 20px;
  padding: 0.2em;
}

#comment-box {
  display: none;
}

/* Extra small devices (phones, 600px and down) */
/* @media only screen and (max-width: 320px) {..} */

/* Small devices (portrait tablets and large phones, 600px and up) */
/* @media only screen and (min-width: 600px) {...} */

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 600px) {
  header > h1 {
    font-size: 1.2em;
    letter-spacing: 0.4em;
    font-weight: 200;
    padding: 1em 0.2em;
  }

  .main-container {
    width: 50%;
    padding: 0 1em;
  }

  .display-section > h2 {
    font-size: 1em;
    letter-spacing: 0.2em;
  }

  ul {
    width: 30%;
  }

  .feedback {
    width: 50%;
    height: auto;
  }

  label,
  .feedback,
  span,
  textarea {
    font-size: 1.5em;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
/* @media only screen and (min-width: 992px) {...} */

/* Extra large devices (large laptops and desktops, 1200px and up) */
/* @media only screen and (min-width: 1200px) {...} */
