/* small screen */
@media screen and (min-width: 36em) {
}
/* tablet */
@media screen and (min-width: 48em) {
}
/* desktop */
@media screen and (min-width: 62em) {
}
/* widescreen */
@media screen and (min-width: 75em) {
}

@layer reset {
  /* Box sizing rules */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* Remove default margin */
  body,
  h1,
  h2,
  h3,
  h4,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

  /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
  ul[role="list"],
  ol[role="list"] {
    list-style: none;
  }

  /* Set core root defaults */
  html:focus-within {
    scroll-behavior: smooth;
  }

  /* Set core body defaults */
  body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
  }

  /* A elements that don't have a class get default styles */
  a:not([class]) {
    text-decoration-skip-ink: auto;
  }

  /* Make images easier to work with */
  img,
  picture {
    max-width: 100%;
    display: block;
  }

  /* Inherit fonts for inputs and buttons */
  input,
  button,
  textarea,
  select {
    font: inherit;
  }

}

@layer global {

  :root {
    --clr-black: rgb(33, 37, 41);
    --clr-white: #ffffff;
    --clr-basicgreen: #558f93;
    --clr-beige2bg: #dcc2a8;
    --clr-basicdarkgreen: #035759;
    --clr-basiclightgreen: #b5cfd1;
    --clr-secondarygreen: #00909a;
    --clr-secondarymidblue: #456a7e;
    --clr-secondaryspecialgreen: #00baa5;
    --clr-secondarylightgree: #afdfdc;
    --clr-secondarylightblue: #bdd1db;
    --clr-secondarysan: #d7b698;
    --clr-textblack: #393939;
    --clr-text: rgb(5, 65, 81);
    --clr-textwhite: #ffffff;
    --clr-bluebg: #46728d;
    --clr-bluebghover: #385b71;
    --clr-darkbluebg: #bed5dc;
    --clr-beigebg: #e1c1a4;
    --clr-beige2bg: #dcc2a8;
    --clr-lightbluebg: #c3d5dd;
    --clr-lightbg: #f4f7f9;

    --flow-spacing: 1.5em;
  
    --fs-250: clamp(0.94rem, calc(0.92rem + 0.08vw), 0.85rem);
    --fs-300: clamp(0.94rem, calc(0.92rem + 0.08vw), 0.98rem);
    --fs-350: clamp(0.94rem, calc(0.92rem + 0.08vw), 1.125rem);
    --fs-400: clamp(1.13rem, calc(1.06rem + 0.33vw), 1.31rem);
    --fs-450: clamp(1.13rem, calc(1.06rem + 0.33vw), 1.55rem);
    --fs-500: clamp(1.35rem, calc(1.21rem + 0.69vw), 1.75rem);
    --fs-600: clamp(1.62rem, calc(1.37rem + 1.24vw), 2.33rem);
    --fs-700: clamp(1.94rem, calc(1.54rem + 2.03vw), 3.11rem);
    --fs-800: clamp(2.33rem, calc(1.7rem + 3.15vw), 4.14rem);
    --fs-900: clamp(2.8rem, calc(1.85rem + 4.74vw), 5.52rem);

    --spacing0: 0.5rem;
    --spacing1: 0.688rem;
    --spacing2: 1rem;
    --spacing3: 1.5rem;
    --spacing4: 2rem;
    --spacing5: 3rem;
    --spacing6: 4rem;
    --spacing7: 5rem;
    --spacing8: 6rem;
  }
  
  body {
    background: var(--color-bg);
    color: var(--color-black);
    line-height: 1.5;
    font-family: 'loos-wide', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  a {
    color: currentColor;
  }
  
  :focus {
    outline: 1px dotted currentColor;
    outline-offset: 0.2rem;
  }
  
  p,
  li,
  dl {
    max-width: 70ch;
  }
  
  main:focus {
    outline: none;
  }
  
  .skip-link {
    display: inline-block;
    padding: 0.7rem 1rem 0.5rem 1rem;
    background: var(--color-light);
    color: var(--color-primary-shade);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    top: 1rem;
    left: 1rem;
  }
  
  .skip-link:hover {
    background: var(--color-dark);
    color: var(--color-light-shade);
  }
  
  .skip-link:not(:focus) {
    border: 0;
    clip: rect(0 0 0 0);
    height: auto;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
  }
  
  .container {
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .container.small {
    @media screen and (min-width: 62em) {
      max-width: 72rem;
    }
  }
  
  .flow > * + * {
    margin-top: var(--flow-space, 1em);
  }

  .visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
  
  img.full-width {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .img-fluid {
    max-width: 100%;
    height: auto;
  }
  
  .flow > * + * {
    margin-top: var(--flow-spacing, 1em);
  }
  
  .container {
    max-width: 84rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  /* .fullwidth {
      padding-left: 1.25rem;
      padding-right: 1.25rem;
  } */
  
  .desktop__only {
      display: none;
      @media screen and (min-width: 48em) {
          display: block;
      }
  }
  
  .mobile__only {
      display: block;
      @media screen and (min-width: 48em) {
          display: none;
      }
  }
  .text-center {
      text-align: center;
  }

  .list-unstyled {
    list-style: none;
	  margin: 0;
	  padding: 0;
  }
}

@layer utility {
	.visually-hidden {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	img.full-width {
		width: 100%;
		max-height: 45vh;
		object-fit: cover;
	}

	.flow > * + * {
		margin-top: var(--flow-spacing, 1em);
	}

	.container {
		max-width: 84rem;
		margin-left: auto;
		margin-right: auto;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.fullwidth {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.desktop__only {
		display: none;
		@media screen and (min-width: 48em) {
			display: block;
		}
	}

	.mobile__only {
		display: block;
		@media screen and (min-width: 48em) {
			display: none;
		}
	}
	.text-center {
		text-align: center;
	}
}

@layer type {
    header {
        padding: var(--spacing7) 0 var(--spacing3) 0;
        display: flex;
        justify-content: center;
        h1 {
            font-family: gimlet-text, serif;
            font-size: var(--fs-500);
            font-weight: 500;
            padding-top: var(--spacing7);
            text-align: center;
            text-transform: uppercase;
            margin-bottom: 2rem;
        }
       
    }

    p {
        text-align: center;
        font-size: var(--fs-450);
        margin-bottom: 0;
        max-width: 60ch;
    }
}

@layer header {
    body {
        background-color: var(--clr-secondarymidblue);
        font-family: stratos, sans-serif;
    }

    header {
        background-color: var(--clr-basiclightgreen);
        color: var(--clr-secondarymidblue);
    }
    .logo {
        display: flex;
        justify-content: center;

        img {
            max-width: 90%;
            @media screen and (min-width: 48em) {
                max-width: 75%;
            }
        }
    }
}

@layer main {
    main {
        background-color: var(--clr-basiclightgreen);
        display: flex;
        justify-content: center;
        color: var(--clr-secondarymidblue);
    }
}

@layer footer {
    footer {
        padding: var(--spacing6) 0;
        background-color: var(--clr-secondarymidblue);
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #ffffff;
    }

    .insta {
        padding-bottom: var(--spacing5);
    }
}

@layer form {
    label {
        display: block;
        font-size: var(--fs-400);
        font-family: stratos-lights, sans-serif;
        font-weight: 300;

    }

    form {
        padding: var(--spacing6);
    }

    .form__fields {
       
        padding-bottom: var(--spacing4);

        @media screen and (min-width: 48em) {
             display: flex;
            justify-content: space-between;
            gap: var(--spacing6);
        }

        & > div {
            width: 100%;
        } 
    }

    input {
        width: 100%;
        border: 1px solid var(--clr-bluebg);
        margin-bottom: 2rem;
        background-color: #cfddde;

        @media screen and (min-width: 48em) {
            margin-bottom: 0;
       }
    }

    button {
        border: 1px solid var(--clr-basicdarkgreen);
        margin: 0;
        padding: 0.5rem 1rem;
        width: auto;
        overflow: visible;

        background: transparent;

        /* inherit font & color from ancestor */
        color: inherit;
        font: inherit;

        /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
        line-height: normal;

        /* Corrects font smoothing for webkit */
        -webkit-font-smoothing: inherit;
        -moz-osx-font-smoothing: inherit;

        /* Corrects inability to style clickable `input` types in iOS */
        -webkit-appearance: none;

        &:hover {
            cursor: pointer;
            background-color: var(--clr-basicdarkgreen);
            color: var(--clr-basiclightgreen);
        }
    }

    button:focus:not(:focus-visible) {
        outline: none;
    }
      
    button:focus:not(:-moz-focusring) {
        outline: none;
    }

    .button {
        display: flex;
        justify-content: center;
        @media screen and (min-width: 48em) {
            justify-content: flex-start;
        }
    }
}
