@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap');

*, *::before, *::after{
    box-sizing: border-box; 
}

*{
    margin: 0; 
    padding: 0; 
}

ul[role='list'], ol[role='list']{
    list-style: none; 
}

html:focus-within{
    scroll-behavior: smooth; 
}

a:not([class]){
    text-decoration-skip-ink: auto; 
}

img, picture, svg, video, canvas{
    max-width: 100%;
    height: auto; 
    vertical-align: middle; 
    font-style: italic; 
    background-repeat: no-repeat; 
    background-size: cover;
}

input, button, textarea, select{
    font: inherit; 
}

@media (prefers-reduced-motion: reduce){
    html:focus-within {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition: none;
    }
}

body, html{
    height: 100%; 
    scroll-behavior: smooth; 
    max-width: 1600px;
    margin: 0 auto;
    background-color: #f7f3e4;
}

@media screen and (min-width: 1600px){
    body{
        border-left: 1px solid #000;
        border-right: 1px solid #000;
    }
}

body {
    /*background-color: #f7f8fc;*/
    font-family: "Epilogue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}

p {
    font-family: "Epilogue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.6;
}

a {
    font-family: "Epilogue", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    color: #000000;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Amatic SC", cursive;
    font-weight: 400;
    font-style: normal;
    color: #000000;
}

a:hover {
    text-decoration: underline;
}

header {
    width: 100%;
    padding: 25px;
}

.logo {
    width: 200px;
    margin: 0 auto;
}

.container {
    margin: 0 auto;
    max-width: 1200px;    
    padding: 25px;
}
/* Home page Styles */
.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100dvh - 275px);
    background-image: url(img/pattern_website.png);
    background-repeat: no-repeat;
    background-size: 300px auto;
    padding-top: 100px;
}

@media screen and (max-height: 869px){
    .home-container {
        height: auto;
    }
}

@media screen and (min-width: 1024px){
    .home-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        height: calc(100vh - 240px);
    }
}

@media screen and (min-width: 1500px){
    .home-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        height: calc(100vh - 260px);
    }
}

.home-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 40px 10px 10px;
    width: 300px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(90deg);
    padding: 10px;
    width: 45px;
    height: 40px;
}

@media screen and (min-width: 1024px){
    .divider {
        display: flex;
        align-items: center;
        justify-content: center;
        transform: none;
        padding: 10px;
        width: 45px;
        height: auto;
    }
}

.call-out {
    width: 300px;
    height: 250px;
    background-image: url('img/call_to_action_tsp.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto;
    position: relative;
    top: 60px;
    left: -100px;
}

@media screen and (min-width: 820px) and (max-width: 1024px){
    .call-out {
        width: 300px;
        height: 250px;
        background-image: url('img/call_to_action_tsp.svg');
        background-repeat: no-repeat;
        background-size: contain;
        margin: 0 auto;
        position: relative;
        top: 0;
        left: 250px;
    }
}

@media screen and (max-width: 819px){
    .call-out {
    width: 170px;
    height: 250px;
    background-image: url('img/call_to_action_tsp.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto;
    position: relative;
    top: -60px;
    left: 100px;
    }
}

.links {
    padding: 10px;
    margin-top: -250px
}

@media screen and (min-width: 1024px){
    .links {
        padding: 120px 10px 10px 80px;
    }
}

.link {
    display: block;
    font-family: "Amatic SC", cursive;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.3;
}

.link a {
    font-family: "Amatic SC", cursive;
}

.icon-container {
    display: flex;
    flex-direction: row;
    padding-left: 10px;
}

.icon {
    width: 80px;
    padding: 15px 5px;
}

.icon p {
    font-family: "Amatic SC", cursive;
    text-align: center;
    font-size: 20px;
    margin-top: -8px;
}

.copy-wrapper {
    font-family: "Amatic SC", cursive;
    font-size: 16px;
    max-width: 730px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 65px;
    width: 100%;
    justify-content: space-between;
    padding: 0 15px;
    text-align: center;
    margin-bottom: 30px;
    
}
.copy-wrapper p {
    font-family: "Amatic SC", cursive;
}

@media screen and (min-width: 1024px){
    .copy-wrapper {
        font-family: "Amatic SC", cursive;
        font-size: 16px;
        max-width: 730px;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        height: 30px;
        width: 100%;
        justify-content: space-between;
        padding: 0 15px;
        margin-bottom: 30px;
    }
}

.copy-right a {
    font-family: "Amatic SC", cursive;
    text-decoration: none;
}

.copy-right a:hover {
    text-decoration: underline;
}

.footer {
    width: 100%;
    height: 180px;
    background-position: center top;
    background-size: cover;
    background-image: url('img/valley_1_footer_tsp.png');
}

@media screen and (min-width: 1500px){
    .footer {
        height: 200px;
    }
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0,0,0,0.5); /* Semi-transparent black background */
  overflow: auto; /* Enable scroll if needed */
}

.modal-content {
  background-color: #fff;
  margin: 15% auto; /* Center the box vertically and horizontally */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Width on desktop */
  max-width: 500px; /* Max width for a clean look */
  border-radius: 5px;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}