@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");
* {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
body {
  font-family: "Lato", sans-serif;
  background-image: url(images/background.jpeg);
  background-position: center 250px;
  background-repeat: no-repeat;
  /* background-size: cover; */
  line-height: 22px;
}
h1 {
  line-height: 1.5em;
  color: #e30613;
}
h2 {
  color: #e30613;
}
main {
  display: grid;
  grid-template-columns: 1fr;
  height: 100vh;
  /*grid-template-rows: auto 40vh 1fr 5vh;*/
  justify-content: center;
  align-items: start;
  justify-content: center;
}

.topbar .logo {
    display: block;
    background-image: url(images/simplequickrecipe_logo2.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    width: 220px;
    height: 44px;
}

.topbar .logo img {
  width: 200px;
}
.topbar {
  height: 100%;
  z-index: 1;
  position: relative;
  background-color: #fff;
}

.topbar .centerd {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.topbar .count {
  display: flex;
  align-items: center;
  color: #3080c3;
}

.topbar .count span {
  font-weight: bold;
  padding-right: 10px;
  font-size: 1.5em;
  color: #2476be;
}

.centerd {
  width: auto;
  max-width: 1000px;
  display: flex;
  margin: 0 auto;
  height: 100%;
  align-items: center;
}

.topcontent {
  background: none;
  background-color: #eee;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: auto;
  background-image: linear-gradient(#ffaa20, #ea212d);
}

.topcontent .centerd * {
  color: #fff;
}

.topcontent .centerd {
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.topcontent h1 {
  font-size: 2.5em;
  color: #000;
}
.topcontent p {
  font-size: 0.8em;
  color: #000 !important;
}

.cfbox {
  width: 100%;
  height: 50%;
  align-items: center;
  justify-content: center;
  display: flex;
  background-color: #fff;
  padding: 20px;
  margin-top: 20px;
  font-style: normal;
  box-shadow: 9px 9px 9px rgba(0, 0, 0, 0.16);
  
  flex-direction: column;
}
.cfbox > p{ color:#000; }
.cfbox:hover {
  background-color: rgba(255, 255, 255, 0.88);
}



.cfbox i {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
  border: 2px dashed #7fb0d9;
  font-style: normal;
}
input[type="file"] {
  display: none;
}
#file-upload-filename {
  color: #fff;
  margin: 20px 0 0 0;
}
.cfbox a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.choose_btn,
.btn {
  background-color: #e30613;
  color: #fff;
  display: block;
  padding: 10px 25px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-size: 1.8em;
  font-weight: bold;
  width: auto;
  text-decoration: none;
  transition: 0.5s;
}

.click_btn {
    background-color: #fdebeb;
    color: black !important;
    display: block;
    padding: 10px;
    border: 0;
    
    font-size: 12px;
    font-weight: bold;
    width: auto;
    text-decoration: none;
    border-color: #ea212d;
    border-style: solid;
    border-width: 3px;
    border-left-width: 5px;
    border-right-width: 5px;
}

.btn:hover,
.choose_btn:hover {
  background-color: #fab617;
  
  color: black;
}
.choose_btn {
  padding: 20px 20px 20px 50px;
  
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: 15px center;
  width: 30%;
  border-radius: 0;
}

.maincontent {
  margin: 20px;
}
.maincontent.row {
  flex-direction: row;
  display: flex;
}
.maincontent.row section {
  width: 50%;
  text-align: center;
  background-color: #e1e3dd;
  border: 1px solid #ccc;
  margin: 5px;
  padding: 20px;
}
.maincontent.row section * {
  text-align: left;
}

.maincontent p {
  margin: 20px;
  text-align: left;
}
.maincontent ol,
.maincontent ul {
  margin: 20px 50px;
  text-align: left;
}
.maincontent ul.ftypes {
  width: 200px;
  margin: 0 auto;
  border: 2px dashed orange;
  border-radius: 20px;
  background-color: #fde5bb;
  padding: 10px 20px;
  list-style-type: none;
}

/* .maincontent ul.ftypes li{ } */

.boxes,
.bottomcontent {
  text-align: center;
  background-color: #fff;
  width: auto;
  max-width: 1000px;
  display: flex;
  margin: 0 auto 20px auto;
  align-items: stretch;
}

.box {
  width: 33%;
  margin: 20px 5px;
  padding: 0;
  background-color: aliceblue;
  background-position: center 20px;
  background-repeat: no-repeat;
  background-size: 80px;
  padding-top: 100px;
  border: 1px solid #ccc;
}

.box p {
  text-align: justify;
}

.box h1 {
  margin-top: 20px;
  font-size: 1em;
  padding-bottom: 1vh;
}

.box p {
  font-size: 0.9em;
}
/* .box.ribon {
  background-image: url(images/icon1.png);
}
.box.flag {
  background-image: url(images/icon2.png);
}
.box.pc {
  background-image: url(images/icon3.png);
} */

footer {
  background-color: #e30613;
  color: #fff;
  height: 100%;
}
footer  {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}
footer .nav {
  list-style: none;
  display: flex;
  flex-direction: row;
  margin: 0;
  align-items: center;
}
footer .nav li {
  padding: 0 10px;
}
footer .nav li a {
  font-size: 0.9em;
  color: #fff;
  text-decoration: none;
}
footer .nav li a:hover {
  text-decoration: underline;
}

/* modal page --------------------------------------------------------------------------------------------------------------------- */

/* .modal {
  width: auto;
  max-width: 1300px;
  height: auto;
  padding: 50px 0px;
  box-shadow: 0px 22px 55px rgba(83, 83, 83, 0.45);
  background-color: #fff;
  margin: 30px auto 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  color: #000;
}

.modal .centermodal {
  margin: 3vw;
  width: 50%;
  min-width: 300px;
}

.modal svg,
.modal img {
  width: 100%;
}
.modal .fnames {
  display: flex;
  flex-direction: row;
  font-size: 12px;
  align-items: stretch;
  justify-content: space-between;
}

.modal .fnames section {
  width: 22%;
}
.modal .fnames span {
  display: block;
  color: #666;
} */

/* congrats page --------------------------------------------------------------------------------------------------------------------- */

/* .notif {
  width: 100%;
  height: auto;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  color: #000;
  text-align: left;
  z-index: 1;
  margin: 0 auto;
  max-width: 1000px;
}

.filler {
  width: 30%;
  min-width: 200px;
  text-align: center;
  border-right: 1px solid #ccc;
}

.filler img {
  width: 200px;
  display: block;
  margin: 50px auto;
}

.options {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: #fafafa;
}

.options .optionbtns {
  margin: 20px 0;
  display: grid;
  grid-template-columns: 49% 49%;
  grid-gap: 15px;
}

.options .gbtn {
  display: block;
  width: auto;
  text-align: center;
  color: #777;
  font-weight: bold;
  background-color: #f2f2f2;
  padding: 20px 0;
  float: left;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.options .gbtn img.icon {
  width: 20px;
  margin-right: 10px;
}

.options a.gbtn:hover {
  color: #000;
  background-image: linear-gradient(
    to top,
    #c4c5c7 0%,
    #dcdddf 52%,
    #ebebeb 100%
  );
}

.options h3 {
  font-weight: normal;
  color: #666;
}

.converted {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
  background-image: url(images/pdficon.jpg);
  background-repeat: no-repeat;
}

.converted * {
  color: #444;
}
.converted a:hover,
.converted a:hover * {
  color: #000;
}

.file * {
  display: block;
  margin-left: 88px;
}

.download .icons {
  width: 200px;
}

.downloadbtn {
  display: block;
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
  background-color: #f2f2f2;
} */

@media screen and (max-width: 800px) {
  .converted {
    flex-direction: column;
    background-image: none;
    margin-bottom: 20px;
  }

  .converted .file {
    background-image: url(images/pdficon.jpg);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .converted .file * {
    margin-left: 40px;
  }

  .converted .download {
    width: 100%;
    height: 100px;
    display: block;
    text-align: center;
    margin-top: 20px;
  }

  .options {
    text-align: center;
  }

  .options .gbtn {
    width: auto;
    min-width: 250px;
    max-width: 300px;
  }

  .options .optionbtns {
    grid-template-columns: 60%;
    margin: 2vh auto;
  }

  .bottomcontent {
    align-items: stretch;
  }

  .centerd {
    flex-direction: column !important;
  }
}

@media screen and (max-width: 600px) {
  .notif {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .notif h3 {
    font-weight: normal;
    color: #666;
    display: block;
    font-size: 4vw;
    margin: 0 auto;
  }

  .filler {
    border: 0;
  }

  .filler img {
    width: 150px;
    margin: 0 auto;
  }

  .options .optionbtns {
    grid-template-columns: 100%;
  }

  .options {
    width: auto;
    padding: 20px 0;
  }

  .options .gbtn {
    padding: 10px 0;
  }

  main {
    grid-template-rows: auto 43vh 1fr 50px;
  }

  .bottomcontent {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .bottomcontent .box {
    width: 80%;
    padding: 20px;
  }

  .cfbox {
    width: 90%;
  }

  .centerd .nav {
    flex-direction: column;
  }
}

/* congrats2 page */

.steps p {
  margin: 30px;
}

.steps ol {
  margin: 0 50px;
}

.steps .installbtn {
  margin: 50px auto;
  width: 300px;
  background-color: #169d59;
  border: 0;
  display: block;
  padding: 13px;
  border-radius: 10px;
  color: #fff;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.installbtn:hover {
  background-color: #19ae63;
}

.leftpane {
  text-align: left;
  padding: 10px;
  width: 40%;
}

.boxfile {
  width: 100%;
  height: 20vh;
  background-color: #f57521;
  position: relative;
  color: #fff;
}

.boxfile h2 {
  color: #fff;
  display: block;
  position: absolute;
  left: 20px;
  top: 10px;
}

.boxfile span {
  position: absolute;
  text-align: center;
  bottom: 20px;
  display: block;
  width: 100%;
  font-size: 12px;
}

.filename {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.filename p {
  font-size: 12px;
  display: flex;
  align-items: center;
}

.notif .details {
  display: grid;
  grid-template-columns: 30% 70%;
  grid-template-rows: 20px 20px 20px;
  font-size: 12px;
  margin: 10px;
}

.details span {
  text-align: right;
}

.details .fileinfo {
  grid-area: 1 / 1 / 2/ 3;
  font-weight: bold;
}

.convert {
  display: block;
  margin: 20px auto;
  width: 100%;
  font-weight: normal;
}

.svg-icon {
  width: 1em;
  height: 1em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
  fill: #f57521;
}

.svg-icon circle {
  stroke: #f57521;
  stroke-width: 1;
}
