@import "fonts.css";

html {
  height: 100%;
  font-family: campton;
  margin: 0px;
}

body {
  background: rgba(197, 228, 243, 0.2);
  height: 100%;
  margin: 0px;
  color: #353535;
}

.header {
  padding: 10px 20px;
  /* background-color: rgba(0, 0, 0, 0.1); */
  height: 30px;
  box-sizing: border-box;
  display: flex;
}

.header .middle {
  flex: 1;
}

.header .info {
  cursor: pointer;
}

.header .info img {
  height: 25px;
}

.header .share {
  justify-self: flex-end;
  color: white;
  cursor: pointer;
  padding: 5px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100% - 30px - 30px);
  position: relative;
  text-align: center;
}

.title {
  font-size: 5em;
  font-weight: 700;
  margin: 0px;
  margin-bottom: 0.2em;
}

.main-picture {
  max-width: 800px;
  /* width: 90%; */
  /* flex-shrink: 1; */
  flex-grow: 1;
  /* width: 40px; */
  /* flex-basis: auto; */
  /* flex: 1; */
}

.answer {
  font-size: 2em;
  font-weight: 500;
}

.date {
  margin-top: 30px;
  font-size: 2em;
  font-weight: 500;
}

.temperature {
  font-size: 1.8em;
  font-weight: 500;
}

.tip {
  font-size: 1.5em;
  font-weight: 400;
}

.popup {
  display: none;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 0px;
  top: 0px;
  align-items: center;
  justify-content: center;
}

.popup .container {
  /* height: 80%; */
  width: 80%;
  max-width: 600px;
  margin: auto;
  background: white;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  position: relative;
}

.popup .container .close {
  position: absolute;
  padding: 5px;
  right: 5px;
  top: 5px;
  cursor: pointer;
}

.popup .container img {
  width: 100px;
  padding: 10px;
}

@media screen and (max-width: 1281px), screen and (max-height: 1080px) {
  /* big landscape tablets, laptops, and desktops */
}

@media screen and (max-width: 1025px), screen and (max-height: 900px) {
  /* tablet, landscape iPad, lo-res laptops ands desktops */
  .content {
    font-size: 0.9em;
  }

  .title {
    margin-bottom: 0px;
  }

  .answer {
    margin: 0px;
  }
}

@media screen and (max-width: 801px), screen and (max-height: 750px) {
  /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
  .content {
    font-size: 0.7em;
  }

  .title {
    font-size: 3em;
  }
}

@media screen and (max-width: 600px) {
  /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
}

@media screen and (max-width: 390px) {
  /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
  .title {
    font-size: 4em;
  }
}
