/* GENERAL SETTINGS: fonts, body and container positioning etc */
* {
  margin: 0;
  box-sizing: border-box;
  /* max-width: 100%; */
}
body {
  margin-left: auto;
  margin-right: auto;
  padding: 10px 10px;
  background-image: url(./images/christmas-bg.png); /* The image used */
  background-color: #910606; /* Used if the image is unavailable */
  max-width: 1000px;
  font-family: "Titillium Web", sans-serif;
}
.container {
  background-color: rgb(255, 255, 255);
  padding: 10px 10px 10px 10px;
  border-radius: 10px;
}
h1 {
  font-family: "Merriweather", serif;
  font-weight: 900;
}
h2,
h3,
.footer-info {
  font-family: "Merriweather", serif;
  font-weight: 400;
}
/* // GENERAL SETTINGS: fonts, body and container positioning etc */

/* HEADER */

/* HEADER TOP */
header {
  margin-bottom: 10px;
  /* font-family: "M PLUS 2", sans-serif; */
}
.header-top {
  /* Flex model definition */
  display: flex; /* properties for parent */
  flex-direction: column; /* setting a direction for the main axis (axis Y)*/
  align-items: center; /* setting alignment along with the CROSS axis (X axis)*/

  background-color: #a0181c;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  margin-bottom: 10px;
  padding: 10px 0;
}
.header-top img {
  display: none;
}
.header-top h1 {
  text-align: center;
  /* width: 50%; */
  color: rgb(255, 255, 255);
  font-size: 1.3em;
  font-weight: 900;
}

/* HEADER IMAGES */
.header-images {
  display: none;
}

/* // HEADER */

/* ARTICLE */
article {
  /* Flex model definition */
  display: flex; /* properties for parent */
  flex-direction: column; /* setting a direction for the main axis (axis Y)*/

  margin-bottom: 10px;
}
.article-item {
  border: 2px dashed #a0181c;
  padding: 10px;
  margin-bottom: 10px;
}
.article-paragraph {
  margin-top: 10px;
}
/* // ARTICLE */

/* SECTION */
/* SUBSECTION_1 */
section {
  /* Flex model definition */
  display: flex; /* properties for parent */
  flex-direction: column; /* setting a direction for the main axis (axis Y)*/
}
.section-first {
  /* Flex model definition */
  display: flex; /* properties for parent */
  flex-direction: column; /* setting a direction for the main axis (axis Y)*/

  border: 2px dashed #a0181c;
  padding: 10px 0;
  margin-bottom: 10px;
}
.section-first-title,
.section-first-subsection {
  padding: 10px;
}
.section-first-title {
  /* Flex model definition */
  display: flex;
  justify-content: center;
}
.section-first-title {
  margin: 0 10px;
}

.section-first-title {
  border: 2px solid #a0181c;
  background: radial-gradient(#a0181c, #ffffff);
}

.section-first-subsection-title {
  /* Flex model definition */
  display: flex;
  flex-direction: row;
}
.section-first-subsection-title img {
  margin-right: 5px;
}
.section-first-subsection p {
  padding-left: 25px;
  margin-top: 10px;
}
/* // SUBSECTION_1 */

/* SUBSECTION_2 */
.section-second {
  /* Flex model definition */
  display: flex;
  flex-direction: column;

  border: 2px dashed #a0181c;
  padding: 10px 0;
  margin-bottom: 10px;
}
.section-second-title,
.section-second-paragraph {
  padding: 10px;
}
.section-second-title {
  /* Flex model definition */
  display: flex;
  justify-content: center;
}
.section-second-title {
  margin: 0 10px;
}
.section-second-title {
  border: 2px solid #a0181c;
  background: radial-gradient(#a0181c, #ffffff);
}

.section-second-paragraph:nth-child(even) {
  border-bottom: 2px dashed #a0181c;
}
/* // SUBSECTION_2 */
/* // SECTION */

/* FOOTER */
footer {
  background-color: #a0181c;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px 0 0 0;
}
.footer-contacts {
  /* Flex model definition */
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.contacts-column {
  flex-grow: 1; /* property for the child in the Flex model */
}
.contacts-column:first-child {
  font-weight: 600;
  width: 35%;
}
.contacts-column:last-child {
  width: 65%;
}
.contacts-column p {
  padding: 10px 10px;
  font-size: 0.8em;
}

.footer-info {
  /* Flex model definition */
  display: flex;
  flex-direction: column;

  font-size: 0.8em;
}
.footer-info a {
  text-decoration: none;
}
.footer-info a > p:hover {
  box-shadow: 2px 2px 7px rgb(82, 3, 3);
}
.footer-info p {
  background-color: #335a16;
  color: rgb(7, 7, 7);
  padding: 5px 0;
  margin: 2px 10px;
  text-align: center;
  /* font-size: 1.3em; */
}
.footer-socialMedia {
  /* Flex model definition */
  display: flex;
  flex-direction: row;
  justify-content: center;

  padding: 10px;
  margin: 0 10px;
}
.footer-socialMedia img {
  margin: 0 5px;
}
.footer-socialMedia img:hover {
  box-shadow: 2px 2px 7px rgb(82, 3, 3);
}
/* // FOOTER */

@media screen and (min-width: 600px) {
  /* HEADER */
  /* HEADER TOP */
  .header-top {
    /* Flex model definition */
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .header-top h1 {
    margin: 10px;
    font-size: 1.6em;
  }
  .header-top h1:first-child {
    text-align: right;
  }
  .header-top h1:last-child {
    text-align: left;
  }
  /* HEADER IMAGES */
  .header-images {
    /* Flex model definition */
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .header-images .item {
    border: 1px solid black;
    flex-grow: 1;
  }

  .header-images .item:first-child {
    margin-right: 5px;
  }
  .header-images .item:last-child {
    margin-left: 5px;
  }
  /* // HEADER */

  /* ARTICLE */
  article {
    /* Grid model definition */
    display: grid; /* property for parent*/
    grid-template-columns: 50% 50%; /* setting the width for colums*/
  }

  .article-item {
    border: none;
  }
  /* // ARTICLE */

  /* FOOTER */
  footer {
    /* Grid model definition */
    display: grid; /* property for parent*/
    grid-template-columns: 1fr 1fr; /* setting the width for colums*/
  }
  /* .contacts-column p:nth-child(even) {
    font-size: 1.3em;
  } */

  .footer-socialMedia {
    justify-content: flex-start;
  }
  /* // FOOTER */
}
@media screen and (min-width: 700px) {
  /* HEADER */
  /* HEADER TOP */
  .header-top h1 {
    font-size: 1.9em;
    margin: 15px 10px;
  }
  /*// HEADER */

  /* ARTICLE */
  /* // ARTICLE */

  /* SECTION */
  section {
    /* Flex model definition */
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  .section-first {
    margin-right: 10px;
  }
  /* // SECTION */
}
@media screen and (min-width: 800px) {
  /* HEADER */
  .header-top {
    /* Flex model definition */
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

    padding: 10px 0;
  }
  .header-top img {
    display: inline-block;
  }
  .header-top h1 {
    align-self: flex-start; /* property for the child in the Flex model */
  }
  /*//  HEADER */

  /* WRAPPER FOR ARTICLE and SECTION */
  .wrapper-article-section {
    /* Flex model definition */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  article {
    width: 67.5%;
  }
  section {
    /* Flex model definition */
    display: flex;
    flex-direction: column;

    width: 32.5%;
    border: 2px dashed #a0181c;
  }
  .section-first {
    margin-right: 0;
    border: none;
  }
  .section-second {
    margin-right: 0;
    border: none;
  }
  /* // WRAPPER FOR ARTICLE and SECTION */

  /* FOOTER */
  footer {
    /* Flex model definition */
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }
  .footer-info p {
    padding: 5px 20px;
    margin-bottom: 10px;
  }

  .contacts-column {
    font-size: 0.9em;
  }
  .footer-info > a > p {
    font-size: 0.9em;
  }
  /* // FOOTER */
}
