/*/* CSS Reset */

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}


.dropdown-unit option {
  background-color: #e8e8e8;
  padding: 15px;
  font-size: medium;
  font-weight: bold;
}

.dropdown-unit option:hover {
  background-color: #c5c5c5;
}


h1 {
    font-size: 48px;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 2em;
    font-family: "Times New Roman", serif;
}


label {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

select {
  font-size: 15px;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
  color: #333333;
  background-color: #e8e8e8;
  padding: 10px 15px;
  border: none;
  border-radius: 15px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  outline: none;
}

select:focus {
  border-color: #45a049;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 4px rgba(69, 160, 73, 0.4);
}





form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 50%;
}




/* home section
==================================================*/

#home {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 70vh;
}

#home video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.table-cell {
    z-index: 1;
}







/* input for cities
=================================*/
.input {
 border: none;
 border-radius: 15px;
 padding: 15px;
 background-color: #e8e8e8;
 box-shadow: 6px 6px 12px #000000,
             -6px -6px 12px #c5c5c5;
 font-size: medium;
 font-weight: bold;
 max-width: 220px;
}

.input:focus {
 outline-color: #f2f2f2;
}


.input::placeholder {
    color: #999999;
    opacity: 0.7;
}

/*This is the phone container*/
.container-phone {
  width: 300px;
  height: 600px;
  background-color: f2f2f2;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 50px auto;
  position: relative;
  overflow: hidden;
}

/*This is for the dome shape at the top of the container*/
.container-phone:before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: #e2e2e2;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.container-phone #form {
  margin-top: 80px;
}

.container-phone label,
.container-phone input,
.container-phone select,
.container-phone button {
  display: block;
  width: 150%;
  margin-bottom: 15px;
}

.container-phone label {
  text-align: center;
  font-weight: bold;
}

.container-phone input,
.container-phone select {
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 20px;
}

.container-phone button {
  padding: 10px;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}


.phone-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2; /* Adjust the opacity value as desired */
}

.video-background {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#form {
  position: relative;
  z-index: 1; /* Set a higher z-index value to bring the form to the front */
}




/* button
=================================*/
button {
  position: relative;
  padding: 15px 45px;
  background: #FEC195;
  font-size: 17px;
  font-weight: 500;
  color: #181818;
  border: 1px solid #FEC195;
  border-radius: 8px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .2));
}

button:hover {
  border: 1px solid #f3b182;
  background: linear-gradient(85deg, #FEC195, #fcc196, #fabd92, #fac097, #fac39c);
  animation: wind 3s ease-in-out infinite;
}

@keyframes wind {
  0% {
    background-position: 0% 50%;
  }

  0% {
    background-position: 50% 100%;
  }

  0% {
    background-position: 0% 50%;
  }
}

.icon-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  transform-origin: 0 0;
  transform: rotate(10deg);
  transition: all .5s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .3));
}

button:hover .icon-1 {
  animation: slay-1 3s cubic-bezier(0.52, 0, 0.58, 1) infinite;
  transform: rotate(10deg);
}

@keyframes slay-1 {
  0% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(10deg);
  }
}

.icon-2 {
  position: absolute;
  top: 0;
  left: 25px;
  width: 12px;
  transform-origin: 50% 0;
  transform: rotate(10deg);
  transition: all 1s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .5));
}

button:hover .icon-2 {
  animation: slay-2 3s cubic-bezier(0.52, 0, 0.58, 1) 1s infinite;
  transform: rotate(0);
}

@keyframes slay-2 {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(15deg);
  }

  100% {
    transform: rotate(0);
  }
}

.icon-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  transform-origin: 50% 0;
  transform: rotate(-5deg);
  transition: all 1s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .5));
}

button:hover .icon-3 {
  animation: slay-3 2s cubic-bezier(0.52, 0, 0.58, 1) 1s infinite;
  transform: rotate(0);
}

@keyframes slay-3 {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0);
  }
}





#weather {
    margin: 2em 0;
    font-size: 20px;
    text-align: center;
}

.weather-info {
    margin-bottom: 10px;
}

.weather-img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

.error-message {
    color: red;
    font-weight: bold;
}






footer {
  background-color: #FEC195;
  color: Black;
  padding: 20px;
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-icons {
  display: flex;
  align-items: center;
}

.footer-icons a {
  color: Black;
  margin-right: 15px;
  transition: color 0.3s ease-in-out;
}

.footer-icons a:hover {
  color: #FEC195;
}

.footer-icons img {
  width: 20px;
  height: 20px;
}

.footer-text {
  text-align: center;
  margin-top: 10px;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
}

.weather-img {
    width: 100px;
    height: 100px;
}

.temperature {
    font-size: 24px;
    font-weight: bold;
}

.weather {
    font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
}

.description {
    font-size: 16px;
	font-style: italic;
    margin-top: 10px;
}