/*Website designed by Daniel Strathearn. Copyright © Refrigair Limited 2023. All rights reservered.*/

/* Bai Jamjuree stylesheet - from Google API: https://fonts.googleapis.com/css?family=Bai%20Jamjuree */
/* Permanent Marker stylesheet - from Google API: https://fonts.googleapis.com/css?family=Permanent%20Marker */
/* Century Gothic stylesheet - from Google API: https://fonts.googleapis.com/css?family=Century%20Gothic */

@import url(branding.css);
@import url(bai-jamjuree-font.css);
@import url(permanent-marker-font.css);
@import url(century-gothic-font.css);
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Wix+Madefor+Display:wght@400;500;600;700;800&display=swap');


* {
  box-sizing: border-box;
}

.flex-container {
  display: flex;
  flex-direction: row;
  text-align: center;
}

.flex-item-left-left {
  padding: 25px;
  flex: 25%;
}

.flex-item-center-left {
  padding: 25px;
  flex: 25%;
}

.flex-item-center-right {
  padding: 25px;
  flex: 25%;
}

.flex-item-right-right {
  padding: 25px;
  flex: 25%;
}

.navbar{
  margin: 10px;
}

.mx-auto {
  margin-right:auto!important;
  margin-left:auto!important;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */

@media (max-width: 1800px) {
.flex-container {
  flex-direction: column;
  }
}	

body, html {
  margin: 0;
  text-align: center;
}

.bg {
  /* The image used */
  background-image: url("../images/refrigair.png");

  /* Full height */
  height: 100%;
  width: 100%;               
  scale: 80%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
}

div.heading {
  padding:20px;
  text-align:center;
  }

span {
  color:hsl(197, 97%, 25%);
  font-weight: bold;
  }

div.main-body {
  padding:20px;
  text-align:left;
  }

body {
  font-family: 'Bai Jamjuree';
  font-size: 20px;
  background-color:#ebebeb;
}

a {
  color: #0b743a;
  /* color: var(--colour-primary); */
}

button {
  background-color: #990b0b;
  font-family: 'Bai Jamjuree';
  color: white;
  padding: 10px;
  border: 2px #990b0b;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}

button:hover {
  background-color: #c00e0e;
}

#popup{
  visibility: visible;
  min-width: 250px; 
  background-color: #333; 
  color: #fff; 
  text-align: center; 
  border-radius: 2px;
  padding: 16px; 
  position: sticky;
  bottom: 10px;
  margin: 5px;
}

.closePopupButton {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closePopupButton:hover{
  color: black;
}

@media screen and (min-width:1801px) {
  h1 {
    font-size: 50px;
    text-decoration: underline;
  } 

  h2 {
    color: #990b0b;
    font-family: 'Permanent Marker';
    font-size: 40px;
  }

  h3 {
    font-family: Wix Madefor Display, sans-serif;
    font-size: 30px;
    text-decoration: underline;
  }

  h4 {
    color: #990b0b;
    font-size: 30px;
  }
  
  h5{
    color: #990b0b;
    font-family: 'Permanent Marker';
    font-size: 30;
  }
}

@media screen and (max-width:1800px) {
  h1 {
    font-size: 45px;
    text-decoration: underline;
  } 

  h2 {
    color: #990b0b;
    font-family: 'Permanent Marker';
    font-size: 35px;
  }

  h3 {
    font-family: Wix Madefor Display, sans-serif;
    font-size: 30px;
    text-decoration: underline;
  }

  h4 {
    color: #990b0b;
    font-size: 30px;
  }
  
  h5{
    color: #990b0b;
    font-family: 'Permanent Marker';
    font-size: 25;
  }
}

@media screen and (max-width:600px) {
  h1 {
    font-size: 35px;
    text-decoration: underline;
  } 

  h2 {
    color: #990b0b;
    font-family: 'Permanent Marker';
    font-size: 30px;
  }

  h3 {
    font-family: Wix Madefor Display, sans-serif;
    font-size: 25px;
    text-decoration: underline;
  }

  h4 {
    color: #990b0b;
    font-size: 25px;
  }
  
  h5{
    color: #990b0b;
    font-family: 'Permanent Marker';
    font-size: 25;
  }
}

body {
  --color-primary: #b31616;
  --color-primary-dark: #990b0b;
  --color-secondary: #252c6a;
  --color-error: #cc3333;
  --color-success: #4bb544;
  --border-radius: 4px;

  margin: 0;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.form__input-group {
  margin-bottom: 1rem;
}

.form__input {
  display: block;
  width: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
  border-radius: var(--border-radius);
  border: 1px solid #dddddd;
  outline: none;
  background: #eeeeee;
  transition: background 0.2s, border-color 0.2s;
}

.form__input--checkbox {
  float: left;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  margin-right: 10px;
}

.form__input:focus {
  border-color: var(--color-primary);
  background: #ffffff;
}

.form__input--error {
  color: var(--color-error);
  border-color: var(--color-error);
}

.form__input-error-message {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-error);
}

.form__button {
  width: 100%;
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ffffff;
  border: none;
  border-radius: var(--border-radius);
  outline: none;
  cursor: pointer;
  background: var(--color-primary);
}

.form__button:hover {
  background: var(--color-primary-dark);
}

.form__button:active {
  transform: scale(0.98);
}

.container {
    margin: 1rem;
    padding: 2rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    background: #ffffff;
    display: grid;
}

.container,
.form__input,
.form__button {
    font: 500 1.1rem 'Quicksand', sans-serif;
}

.flex-item-left {
  padding: 25px;
  flex: 33.3%;
  margin: 1rem;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  background: #ffffff;
}

.flex-item-center {
  padding: 25px;
  flex: 33.3%;
  margin: 1rem;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  background: #ffffff;
}

.flex-item-right {
  padding: 25px;
  flex: 33.3%;
  margin: 1rem;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  background: #ffffff;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  text-align: left;
  padding: 8px;
}