@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: #f7eaad;
}

img {
  max-width: 100%;
}

h1,
h2 {
  margin-bottom: 15px;
}

h6 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: italic;
  font-weight: lighter;
}

ul {
  list-style-type: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

.navbar {
  background: none;
  color: #071057;
  height: 80px;
}

.navbar .logo {
  font-size: small;
  font-weight:normal;
  color: orangered;
}

.navbar a {
  color: #071057;
  text-decoration: none;
  font-size: 12px;
  font-weight: normal
}

.navbar a:hover {
  color: lightblue;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.navbar ul {
  display: flex;
}

.navbar ul li {
  margin-left: 20px;
}


.menu-btn {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 2;
    display: none;
}



.header {
  background-color: #fff;
  color: #071057;
   
}

.header a {
  text-decoration: none;
}

.header h1 {
  font-size: 3rem;
  font-weight: normal;
  line-height: 1.2;
}

.header img {
  max-width: 400px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Boxes */

.boxes .container {
  display: flex;
  justify-content: space-between;
}

.box {
  flex: 1;
  background:#071057;
  color: #fff;
  border-radius: 10px;
  margin: 20px 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
}

.box i {
  margin-right: 10px;
}


.boxtwo {
  flex: 1;
  background:#cccccc;
  color: #071057;
  border-radius: 10px;
  margin: 20px 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
}

.boxtwo i {
  margin-right: 10px;
}

.boxtwo img {
  border-color: #071057;
  border-radius: 10px;

}



/* About US */


.articles {
   flex: 1;
  background:#cccccc;
 
}

.article i {
  margin-right: 0px;  
}



.articles .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

}

.articles h6 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: lighter;
  font-style: italic;
  margin: 0px;
  padding:0px;
  
}

.orderbox {
  flex: 1;
  background:#feea7d;
  color: #071057;
  border-radius: 10px;
  margin: 20px 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
}

.orderbox i {
  margin-right: 10px;
}





/* Contact Form */

.articlecontent {
  flex: 1;
  background: none;
  color: #071057;
  margin: 0px 0px;
  padding: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  
}

.articlecontent i {
  margin-right: 10px;  
}



input,
button,
select,
textarea {
    font: inherit;
    gap: 1rem;
}

form {
    display: grid;
    gap: 1rem;

    @media (width > 720px) {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: grid;
    gap: 0.5cap;
}

input {
  background: var(--surface-2);
  color: var(--text-3);
  border: var(--border);
  border-radius: 10px;
  padding: 1ex 2ex;

  accent-color: var(--accent);

  
}

input:not([type="checkbox"], [type="radio"], [type="text"]) {
    width: 100%;
}

.form-group:has(.fine-print) {
    grid-column: 1 / -1;

    display: flex;
    gap: 1ch;
}

.contact-form button {
    justify-self: start;
}





/* general styling */
:root {
  --surface-0: hsl(0, 0%, 90%);
  --surface-1: hsl(233, 85%, 18%);
  --surface-2: hsl(0, 0%, 80%);
  --text-1: hsl(0, 12%, 100%);
  --text-2: hsl(0, 12%, 66%);
  --text-3: hsl(196, 72%, 7%);
  --required: hsl(27, 80%, 51%);
  --accent: hsl(108, 80%, 51%);
  --border: 1px solid hsl(0, 22%, 19%);
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: "Radio Canada", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;

  background-color: var(--surface-0);
  color: var(--text-1);

  padding-block-start: 0vb;
}

h1 {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
}

a {
  color: hsl(from var(--accent) h s 80%);
}



label {
  text-transform: uppercase;
  font-size: 1rem;
  color: #FFF;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.fine-print {
  text-transform: revert;
  line-height: 1.4;
}

.contact-form {
  display: grid;
  gap: 1rem;
  color: #FFF;
  background-color: var(--surface-1);
  padding: 1rem;
  border-radius: 10px;
  width: min(100% - 0rem, 900px);
  margin-inline: auto;
}

button {
  cursor: pointer;
  background-color: var(--accent);
  color: var(--text-1);
  padding: 1em 1.5em;
  border: 0;
  border-radius: 10px;

  &:hover,
  &:focus-visible {
    background-color: hsl(from var(--accent) h s 30%);
  }
}




/* Footer */
.footer {
    background: #FFF;
    color: #FFF;
    font-size: 12px;
    
    padding: 20px 10px 0;
    border-bottom: 5px;
    filter: drop-shadow(4px 4px 5px #071057);
    
    
    
}

.footer-inner {
    color: #660000;
    text-decoration: none;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    display: flex;    
    align-items: center;
    justify-content: space-between;
}

.footer div {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer div i {
    margin-right: 10px;
}

.footer ul {
    display: flex;
    flex-wrap: wrap;
}

.footer li {
    margin-right: 30px;
    margin-bottom: 20px;
    
}

.footeritems {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #071057;
    background: none;
}


@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    padding-top: 20px;
    text-align: center;
  }

  .boxes .container {
    display: block;
    text-align: center;
  }

  .menu-btn {
        display: block;
    }

    .menu-btn:hover {
        opacity: 0.5;
    }

    .navbar ul.right-menu {
       margin-right: 50px; 
    } 

    .navbar ul.main-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background: #f2f2f2;
        width: 50%;
        height: 100%;
        border-right: #ccc 1px solid;
        opacity: 0.9;
        padding: 30px;
        transform: translateX(-500px);
        transition: transform 0.5s ease-in-out;
    }

    .navbar ul.main-menu li {
        padding: 10px;
        border-bottom: #ccc solid 1px;
        font-size: 14px;
    }

    .navbar ul.main-menu li:last-child {
        border-bottom: 0;
    }

    .navbar ul.main-menu.show {
        transform: translateX(-20px);
    }
}
