/* PHONE CHECKER */

.phone_block {
  padding: 100px 0;
}

.inner_phone_block {
  background-color: black;
  margin-top: 50px;
  display: flex;
  justify-content: space-evenly;
  border: 1px solid var(--orange);
  height: 300px;
  border-radius: 20px;
  align-items: center;
}

.form_phone {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form_phone button {
  width: 100%;
  margin: 20px 0;
}

/* TAB SLIDER */

.tab_slider {
  padding: 100px 0;
}

.tab_content_block {
  width: 700px;
  border: 3px solid goldenrod;
  padding: 10px 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  /* flex-direction: column; */
  justify-content: center;
  height: 170px;
  background-image: url('https://www.thewitcher.com/build/images/about_background-4bc7291c..jpg');
  background-position: bottom;
  object-fit: cover;
  background-size: cover;
}
.tab_content_block span{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.tab_content_block img{
    margin-top: 10px;
    width: 40px;
}
.tab_content_block h4 {
    font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tab_content_block p {
  color: white;
  /* margin-top: 10px; */
  text-align: justify;
}

.tab_content_items {
  width: 400px;
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

.tab_content_item {
  padding: 10px;
  height: 30px;
  color: white;
  border: 1px solid var(--orange);
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-content: center;
  display: flex;
  justify-content: center;  text-align: center;
  flex-direction: row;
  background-color: black;
}
.tab_content_item img{
    width: 20px;
}
.tab_content_item_active {
  background: var(--orange);
  color: black;
  font-weight: 600;
  border: 1px solid white;
}

.tab_contents_block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

/*------CARD SWITCHER------*/

.card_switcher {
  padding: 100px 0;
}

.cardSwitcher {
  width: 500px;
  height: 150px;
  border: 1px solid var(--orange);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
}

.cardSwitcher p {
  color: var(--orange);
  font-size: 20px;
}

.cardSwitcher span {
  color: white;
  font-size: 30px;
}

.inner_card_switcher {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*-------CONVERTER--------*/

.converter {
  padding: 100px 0;
}

.inner_converter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
}

.inner_converter > div {
  display: flex;
  flex-direction: column;
}

/*------WEATHER------*/

.weather {
  padding: 100px 0;
  color: black;
}

.inner_weather > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgb(0, 0, 0);
  font-size: 25px;
}

.inner_weather {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

hr {
  width: 100%;
}
.search{
  width: 150px;
  height: 50px;
  border-radius: 10px;
text-transform: uppercase;
cursor: pointer;
}

@media (max-width:1164px) {
  .tab_contents_block{
    display: flex;
    flex-direction: column-reverse;
  }
  .tab_content_items{
    display: flex;
    flex-direction: row;
    margin: 0 60px 20px 0;
  }
  .tab_content_block{
    height: 250px;
    font-size: 1.3rem;
  }
  .inner_card_switcher{
    display: flex;
    flex-direction: column;
  }
}
@media (max-width:900px) {
  .tab_content_block{
    width: 600px;
    height: 450px;
    font-size: 1.3rem;
  }
}