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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
nav,
ul {
  margin: 0;
  padding: 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;
  padding: 0;
}

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


@font-face {
    font-family: "San Francisco";
    font-weight: 400;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-size: 16px;
  font-family: "San Francisco";
}

h1,h2,h3 {
    font-weight: 400;
    margin: .5em 0;
    line-height: 1.4;
    color: #404040;
}

h1 {
    font-size: 34px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 22px;
}

p {
    font-size: 1rem;
    line-height: 1.4;
    color: #404040;
}

/*Drop down with nested options*/

nav {
    /* background: #1e5078; */
    background: #113049;
    padding: 0;
}
a {
  color: white;
  text-decoration: none;
  outline: none;
  font-size:calc(12px + (5 *((100vw - 300px)/1600)));
}
.title h1 {
  color: white;
}
.back-link {
  color: white;
  margin: 0px 20px 20px auto;
  align-self: flex-end;
}
/* .fa fa-chevron-left {
  color: black;
  margin: 0 20px 20px auto;
  text-decoration: none;
  align-self: flex-end;
  font-size:calc(12px + (5 *((100vw - 300px)/1600)));
} */
.menu,
.submenu {
  list-style-type: none;
}
.logo {
  padding: 20px 0 20px 10%;
}
.logo img {
    /* width: 180px; image size for original logo*/
    width: 90px;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #ccc;
}
/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between;
  align-items: center; */
}
.title {
  margin-right: auto;
  margin-top: auto;
  margin-bottom: 1%;
}
.menu li a {
  display: block;
  padding: 15px 5px;
}
/* .menu li.subitem a { */
  /*padding: 15px;*/
/* } */
.toggle {
  order: 1;
  font-size: 20px;
  margin-right: 5%;
  margin-left: auto;
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  text-align: center;
  display: none;
}
.active .item {
  display: block;
}
/* .button.secondary { */
  /* divider between buttons and menu links */
  /*border-bottom: 1px #444 solid;*/
/* } */

/* Submenu up from mobile screens */
.submenu {
  display: none;
}
.submenu-active .submenu {
  display: block;
}

.has-submenu i {
  font-size: 12px;
}
.has-submenu > a::after {
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  content: "\f078";
  color: white;
  padding-left: 5px;
}
.subitem a {
  padding: 10px 15px;
  /* background-color: #44769e; */
  background-color: #113049;
}
.submenu-active {
  background-color: #113049;
  /*border-radius: 3px;*/
}

/* Tablet menu */
@media all and (min-width: 700px) {

  .logo img{
    /* width: 220px; */
    width: 90px;
  }
  .menu {
    justify-content: center;
  }
  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  /* Button up from tablet screen */
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button a {
    background: #0080ff;
    /*border: 1px royalblue solid;*/
  }
  .button.secondary {
    border: 0;
  }
  .button.secondary a {
    background: transparent;
    /*border: 1px #0080ff solid;*/
  }
  .button a:hover {
    text-decoration: none;
  }
  .button:not(.secondary) a:hover {
    background: royalblue;
    border-color: darkblue;
  }
}
/* Desktop menu */
@media all and (min-width: 960px) {
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  }
  .logo {
    order: 0;
  }
  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }
  .button {
    order: 2;
  }
  .has-submenu {
      margin-right: 5%;
      margin-top: 30px;
  }
  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: -90px;
    top: 110px;
    min-width: 200px;
    background-color: #44769e;
    /*background-color: #1e5078;*/
    border-radius: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  .subitem a {
      border-radius: 10px;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 10px;
  }
}
/*@media all and (min-width: 1380px) {
    .logo img {
        width: 300px;
    }
}*/

/*Nav finishes here*/

@media (min-width: 768px) {
    p {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

@media screen and (min-width: 1600px) {
    .container {
        padding: 0;
    }
}


.withbg {
    background-color: #edebe7;
}

.left h1,
.left h2,
.left h3,
.left p {
    max-width: 50rem;
    text-align: left;
}

.text-container p,
.text-container h1,
.text-container h2,
.text-container h3
{
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.text-container h3 {
    font-size:calc(16px + 6*((100vw - 320px)/768));
}

@media (min-width: 768px) {
    .text-container h3 {
        font-size: 22px;
    }
}

/* 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;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@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;
  }
}

.frameImage {
    background-image: url("../images/web_background_menu_screen_hiRes.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 10% bottom;
    height: 660px;
}
.frameImage img{
    width: 100%;

}
.frameImage h3 {
    padding-top: 40px;
}

@media (min-width: 768px) {
    header {
        height: 130px;
    }
    header .container img {
        width: 280px;
    }
    .frameImage {
        background-size: contain;
        background-position: center center;
     }

     .frameImage h3 {
         padding-top: 50px;
     }
}

@media (min-width: 992px) {
    .frameImage {
        height: 800px;
     }
     .frameImage h3 {
        padding-top: 80px;
    }
}

@media (min-width: 1200px) {
    .frameImage {
       height: 1000px;
    }
}
.introduction {
    margin-top: 30px;
    margin-bottom: 40px;
}
.introduction h3 {
    padding-top: 40px;
}
.screenshots {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshots .column {
    margin: 1rem;
}
.column {
  flex: 0 1 250px;
  max-width: 66%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}
/* Responsive layout - makes a one column layout instead of a 3-column layout */
@media (min-width: 768px) {

    .introduction {
        padding-top: 50px;
    }
    .screenshots {
        flex-direction: row;
    }

  .column {
    max-width: 33%;
  }
}

@media (min-width: 992px) {
    .introduction {
        padding-top: 80px;
    }
}
.welcome {
    margin-top: 80px;
    background-color: #edebe7;
    text-align: left;
    padding-top: 60px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
}
.welcome p {
    margin: 0 0 1em 0;
}
.bullet_comment {
    margin: 0 0 1em 2em;
}
.extraStep {
    margin-top: 0px;
    text-align: left;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
}
.extraStep h2 {
    font-weight: 400;
}
.extraStep p {
    margin: 0 0 1em 0;
}
.version {
    margin-top: 0px;
    background-color: #edebe7;
    text-align: left;
    line-height: 1.5em;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
}
.version h2 {
    font-weight: 400;
}
.version p {
    margin: 0 0 1em 0;
}
.version a {
    color:#0080ff
}
.footer  {
    margin-top: 170px;
    height: 200px;
    background-color: #f0f0f0;
}
.footer p {
    font-family: "San Francisco", sans-serif;
    color:#404040;
    font-weight: 400;
    font-size: 1.2em;
    text-align: left;
    line-height: 1.5em;
    letter-spacing: 2px;
    /*font-size:calc(45px + 35*((100vw - 510px)/960));*/
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 5%;
    padding-right: 5%;
}
