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

@font-face {
   font-family: 'Gresham';
   src: url('../fonts/Gresham.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
}

*{
    box-sizing: border-box;
}

/* Remove blue focus outlines globally */
*:focus {
    outline: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

html{
   font-size: 16px;
}

a {
   text-decoration: none;
   color: #5c4033;
}
a:hover{
   text-decoration: none;
   color: #5c4033;
}

body{
   font-family: 'Gresham', 'Oswald', sans-serif;
   font-weight: 200;
   text-align: center;
   text-transform: uppercase;
   background-image: url('../images/backgrounds/Warm.jpeg');
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
   background-repeat: no-repeat;
   min-height: 100vh;
}

.btn{
   width: 95%;
   height: auto;
   display: inline-flex;
   align-items: center;
   justify-content: space-between;
   padding: 2% 3%;
   margin: 1%;
   border-radius: 12px;
   transition: all 0.3s ease;
}

header{
   width:100%;
   letter-spacing: 0.2rem;
   color: #5c4033;
   font-family: 'Gresham', 'Oswald', sans-serif;
   font-weight: 200;
   text-align: center;
}

intro {
   display: block;
   width: 100%;
   text-align: center;
}

h1 {
   padding-top: 15%;
   padding-bottom: 0;
   margin-bottom: 0;
   font-size: 3.5rem;
   width: 100%;
}

h6{
   padding-top: 0.5rem;
   padding-bottom: 20%;
   margin-top: 0;
   font-size: 1.2rem;
   font-weight: 200;
   width: 100%;
   display: block;
}

img{
   width: 35%;
   height: auto;
   padding: 0.3125rem;
   margin: 1.5rem 3rem;
   opacity: 0.95;
   border-radius: 8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

main{
   justify-content: center;
   color: #5c4033;
   font-family: 'Gresham', 'Oswald', sans-serif;
}

/* Style the button that is used to open and close the collapsible content */
button {
   background-color: transparent;
   color: #5c4033;
   cursor: pointer;
   padding: 18px;
   width: 100%;
   border: none;
   text-align: center;
   outline: none;
   font-size: 1.3rem;
   font-weight: 200;
   font-family: 'Gresham', 'Oswald', sans-serif;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button:hover {
   background-color: rgba(139, 115, 85, 0.2);
}

div.icon-bar{
   justify-content: center;
   align-items: center;
   width: 100%;
}

.icon-bar a {
   text-decoration: none;
   align-items: center;
   padding: 16px;
   transition: all 0.3s ease;
   color: #5c4033;
   font-size: 36px;
}

.icon-bar a:hover {
   background-color: rgba(139, 115, 85, 0.2);
   border-radius: 50%;
}

.row{
   justify-content: center;
}

.btn:hover{
   background-color: rgba(139, 115, 85, 0.3);
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h2, p{
   margin: 10% 20%;
   font-size: 1.8rem;
   font-weight: 200;
   text-align: center;
}

h4{
   font-size: 2.5rem;
   font-weight: 200;
   text-align: center;
   margin: 0 2rem;
}

#diff{
   text-align: right;
}

/* Dropdown Button */
.dropbtn {
   letter-spacing: 0.15rem;
   font-size: 1.5rem;
   font-family: 'Gresham', 'Oswald', sans-serif;
   text-transform: uppercase;
   background: transparent;
   color: #5c4033;
   padding: 5%;
   display: inline;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
   text-transform: uppercase;
   position: relative;
   display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
   text-transform: uppercase;
   display: none;
   position: absolute;
   top: 100%;
   left: 50%;
   transform: translateX(-50%);
   background: rgba(139, 115, 85, 0.4);
   z-index: 1000;
   border-radius: 8px;
   box-shadow: none;
}

/* Links inside the dropdown */
.dropdown-content a {
   text-transform: uppercase;
   padding: 12px 16px;
   text-decoration: none;
   display: block;
   font-size: 1.3rem;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
   background: rgba(139, 115, 85, 0.5);
   border-radius: 8px;
}

/* Show the dropdown menu on hover */
div.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
div.dropdown:hover {
   background: rgba(139, 115, 85, 0.4);
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar a{
   text-transform: uppercase;
   text-align: center;
   font-size: 1.5rem;
}

.btn-transperent, div.dropdown{
   padding: 5%;
}

.btn-transperent:hover{
   padding: 5%;
   background: rgba(139, 115, 85, 0.4);
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar{
   background: rgba(0, 0, 0, 0.1);
   border-bottom: none;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   padding: 5px 20px;
}

#pls{
   justify-items: center;
}

/* Tablet styles */
@media screen and (max-width: 960px){
   html, body{
      background-image: url('../images/backgrounds/Warm.jpeg');
      background-size: cover;
      background-position: center;
   }
   h1 {
      font-size: 2.5rem;
      padding-top: 20%;
   }
   h6 {
      font-size: 1rem;
      padding-bottom: 15%;
   }
   h4 {
      font-size: 1.8rem;
   }
   .btn {
      flex-direction: column-reverse;
      text-align: center;
      padding: 3% 2%;
   }
   .btn#diff {
      flex-direction: column;
   }
   #diff {
      text-align: center;
   }
   img {
      width: 60%;
      margin: 1rem auto;
   }
   .navbar a {
      font-size: 1.2rem;
   }
   .dropbtn {
      font-size: 1.2rem;
   }
   .dropdown-content a {
      font-size: 1.1rem;
   }
}

/* Mobile styles */
@media screen and (max-width: 600px){
   h1 {
      font-size: 1.8rem;
      padding-top: 25%;
      letter-spacing: 0.1rem;
   }
   h6 {
      font-size: 0.85rem;
      padding-bottom: 12%;
   }
   h4 {
      font-size: 1.4rem;
      padding-top: 20px !important;
      margin: 0 1rem;
   }
   .btn {
      flex-direction: column-reverse;
      text-align: center;
      padding: 4% 2%;
      margin: 2% 1%;
   }
   .btn#diff {
      flex-direction: column;
   }
   #diff {
      text-align: center;
   }
   img {
      width: 80%;
      margin: 0.8rem auto;
   }
   .navbar {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
   }
   .navbar a {
      font-size: 1rem;
      padding: 3%;
   }
   .btn-transperent, div.dropdown {
      padding: 3%;
   }
   .dropbtn {
      font-size: 1rem;
      padding: 3%;
   }
   .dropdown-content {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
   }
   .dropdown-content a {
      font-size: 1rem;
      padding: 10px 14px;
   }
   .icon-bar a {
      font-size: 28px;
      padding: 12px;
   }
   h2, p {
      margin: 8% 10%;
      font-size: 1.4rem;
   }
   button {
      font-size: 1.1rem;
      padding: 14px;
   }
}

/* Small mobile styles */
@media screen and (max-width: 400px){
   h1 {
      font-size: 1.5rem;
      padding-top: 30%;
   }
   h6 {
      font-size: 0.75rem;
   }
   h4 {
      font-size: 1.2rem;
   }
   img {
      width: 90%;
   }
   .navbar a {
      font-size: 0.9rem;
   }
   .dropbtn {
      font-size: 0.9rem;
   }
}
