/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
  margin: 0;
}

/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Inter";
}

/*
    5. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
    6. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
  font: inherit;
}

/*
    7. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
    8. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

/* 

   9. Variables

*/
:root {
  --max-width: 680px;
  --small-spacing: .75rem;
}

/* 

   10. My Properties

*/

.grid__container {
  height: 100svh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f6f9fc;
}

.notice {
  padding: 1rem 20px;
  text-align: center;
  background-color: #3e448d;
  color: #fff;
}

.container {
  height: 100vh;
  max-width: var(--max-width);
  width: 85%;
  margin: 0 auto;
  padding: 3rem 0rem;
}

.header {
  display: inline-block;
}

.section {
  margin: 0 auto;
  padding-top: 2em;
}

.section__caption {
  text-transform: uppercase;
  font-family: "Montserrat";
  font-weight: 700;
  margin-bottom: var(--small-spacing);
  color: transparent;
  animation: 1s ease-in-out 0s infinite alternate flash;
}

@keyframes flash {
  0% {
    color: #c4a115;
  }

  100% {
    color: #f7f9fc;
  }
}

.section__title {
  margin-bottom: var(--small-spacing);
  color: #11243e;
}

.section__body {
  font-weight: 500;
  font-size: 1.3rem;
  padding-top: var(--small-spacing);
  color: #425466;
}

.section__img-button {
  display: inline-block;
  padding-top: 2rem;
}

.footer {
  padding-top: 2rem;
  background-color: #fff;
}

.footer__container {
  width: 85%;
  max-width: 1080px;
  margin: 0 auto;
}

.footer__title {
  padding-bottom: 1.5rem;
}

.contact {
  display: flex;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 3px solid #c4c4c4;
}

.contact__title {
  padding-bottom: var(--small-spacing);
  font-weight: 600;
  color: #425466;
}

.contact__link {
  color: #0066CC;
  text-decoration: none;
  font-weight: 600;
}

.contact__link:hover {
  text-decoration: underline;
}

.contact__icon {
  vertical-align: middle;
}

.copyright {
  color: #6f6f6f;
  padding: 1rem 20px;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
}

@media only screen and (max-width: 768px) {
  .contact {
    flex-direction: column;
  }

  .contact__detail {
    padding-bottom: 1rem;
  }

  .contact__detail:last-child {
    padding-bottom: 0rem;
  }
}