/* Global */

:root {
  --red: #e66767;
  --bg: #24252a;
  --tbg: rgba(36, 37, 42, 0.5);
  --accent: rgb(0, 150, 230);
  --secondary: #29adce; 
}

* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

/* Fonts  */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100;
  src: url(../resources/montserrat100.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  src: url(../resources/montserrat200.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url(../resources/montserrat300.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url(../resources/montserrat400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url(../resources/montserrat500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url(../resources/montserrat600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url(../resources/montserrat700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url(../resources/montserrat800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url(../resources/montserrat900.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.page {
  display: block;
  min-height: 100vh;
  background-color: rgb(255, 255, 255);
  text-align: center;
  align-items: center;
  color: #24252a;
}

.background-image {
  height: 300px;
  width: 100%;
  background: url(../images/bg.jpg) no-repeat center;
  background-size: cover;
}

.background-image-2 {
  height: 300px;
  width: 50%;
  background: url(../images/bg.jpg) no-repeat center;
  background-size: cover;
  display: inline-block;
}

.content-container {
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 5%;
  margin-right: 5%;

  width: 90%;
  display: block;
}

.text-container {
  font-weight: 500;
  width: 100%;
  text-align: left;
  padding: 15px;
  border-radius: 5px;
  background: linear-gradient(300deg, rgb(245, 245, 245), rgb(240, 240, 240));
}

.warning-container {
  font-weight: 500;
  width: 100%;
  text-align: left;
  padding: 15px;
  border-radius: 5px;
  background: linear-gradient(300deg, rgb(245, 220, 220), rgb(245, 225, 225));
  font-size: 14px;
}

.content-container2 {
  margin-left: 5%;
  margin-right: 5%;

  width: 90%;
  display: block;
 
  background-color: rgb(230, 230, 230);
}

.frame {
  display: inline-block;
  background-color: white;
  border: 2px solid rgba(255, 255, 255, 1);
  box-shadow: 3px 3px 15px rgb(150, 150, 150);
  border-radius: 50px;
  min-height: 300px;
  
  text-align: center;
  width: 45%;
  vertical-align: top;
  

  min-width: 300px;
  margin: 2%;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10%;
  background-color: var(--bg);
}

footer {
  background-color: var(--bg);
  color: white;
  display: block;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  padding: 30px;
}

.logo {
  cursor: pointer;
}

.logo img {
  width: 100px;
}

.inner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.download-button {
  margin-top: 20px;
  outline:none;
  
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  font-size: 18px;
  transition: all 0.25s ease;
}

.download-button:hover {
  color:white;
  background: var(--accent);
}

.download-button:active {
  transform: scale(1.05);
}

@media screen and (max-width: 767px) {
  .picture {
    border-radius: 15px;
    width: 90%;
    height: 200px;
    object-fit: cover;
  }

  .bottom-container {
    text-align: center;
    width: 100%;
    display: grid;
    grid-template-rows: 2fr 1fr;
    vertical-align: top;
    min-height: 30vh;
  }

  .top-container:nth-child(0){
    grid-row: 0;
  }

  .top-container:nth-child(1){
    grid-row: 1;
  }

  .bottom-container:nth-child(0){
    grid-row: 0;
  }

  .bottom-container:nth-child(1){
    grid-row: 1;
  }
}

@media screen and (min-width: 768px) {
  .picture {
    border-radius: 15px;
    width: 90%;
    height: 400px;
    object-fit: cover;
  }

  .bottom-container {
    text-align: center;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    vertical-align: top;
    min-height: 30vh;
  }

  .top-container:nth-child(0){
    grid-column: 0;
  }

  .top-container:nth-child(1){
    grid-column: 1;
  }

  .bottom-container:nth-child(0){
    grid-column: 0;
  }

  .bottom-container:nth-child(1){
    grid-column: 1;
  }
}

/* Footer */

.icon a {
  color: #f2f2f2;
  font-size: 22px;
  transition: .3s linear;
  text-decoration: none;
}

.icon a:hover {
  color: var(--secondary);
}

footer {
  font-weight: 500;
}

.navigation-footer {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #edf0f1;
  text-decoration: none;
  list-style: none;
}

.navigation-footer li a {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #edf0f1;
  text-decoration: none;
  list-style: none;
}

.navigation-footer li a {
  transition: color 0.3s ease 0s; 
}

.navigation-footer li a:hover {
  color: var(--secondary);
}

/* Header */

.navigation-links a, .cta, .overlay-content a {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #edf0f1;
  text-decoration: none;
}

.navigation-links {
  list-style: none;
  display: flex;
}

.navigation-links li {
  padding: 0px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navigation-links li a {
  transition: color 0.3s ease 0s; 
}

.navigation-links li a:hover, .navigation-active {
  color: var(--secondary) !important;
}

.navigation-links li a:after {
  content: "";
	display: block;
	position: relative;
	height: 3px;
	left: 50%;
  background-color: white;
	transition: 0.3s ease 0s, left 0.3s ease 0s;
  border-radius: 2px;
	width: 0%;
}

.navigation-links li a:hover:after, .navigation-active:after {
	width: 100% !important;
	left: 0% !important;
}

.cta {
  padding: 9px 25px;
  background-color: rgba(0, 136, 169, 1);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease 0s;
}

.cta:hover {
  background-color: rgba(0, 136, 169, 0.8);
}

/* Mobile Navigation */

.menu {
  display: none;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  background-color: #24252a;
  overflow-x: hidden;
  transition: width 0.5s ease 0s;
}

.overlay--active {
  width: 100%;
}

.overlay-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
}

.overlay a {
  padding: 15px;
  font-size: 36px;
  display: block;
  transition: color 0.3s ease 0s;
  text-align: center;
}

.overlay a:hover,
.overlay a:focus {
  color: #0088a9;
}
.overlay .close {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  color: #edf0f1;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .close {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

@media only screen and (max-width: 800px) {
  .navigation-links,
  .cta {
    display: none;
  }
  .menu {
    display: initial;
  }
}
