@import url(https://fonts.googleapis.com/css?family=Poppins);
*
{
    font-family:poppins;
}
body
{
    /* background-image: url("../pexels-gradienta-7130560.jpg");
    background-repeat: no-repeat;
    background-size: cover; */
    background-color: #fff;
    margin: 0;
    padding: 0;
}
a
{
    text-decoration: none;
    color: black;
}

nav
{
    position: fixed;
    top:0px;
    left: 0px;
    right: 0px;
    z-index: 1;
    display: grid;
    grid-template-columns: 4fr 4fr;
    height: auto;
    width: 100%;
    background-color: aliceblue;
    color: black;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.2);
  
}
nav .name
{
    padding: 20px;
    font-size: 18px;
}
nav .name img
{
  width: 250px;
  
}
nav .links
{
    /* text-align: right; */
    padding-right: 50px;
    padding-top: 30px;
}
nav .links ul li
{
    display: inline-block;
    list-style-type:none;
    margin-left: 50px;
    padding: 10px;
    width: 60px;
    text-align: center;
}
nav .links ul li:hover
{
    border-radius: 5px;
    background-color:rgb(17, 17, 17);
    color: rgb(231, 231, 241);
    cursor: pointer;
}


section
{
    min-height: 50vh;
    max-height: fit-content;
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    align-content: center;
    place-items: center;
    top: 0px;
    /* background: rgba(255, 255, 255, 0.2); */
    /* border-radius: 16px; */
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
}

.symptoms #question
{
  display: grid;
  width:80%;
  background-color: azure;
  grid-row-gap: 1em;
  border-radius: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

}
button{
  padding: 5px;
  border-radius: 5px;
  background-color: azure;
}
.options{
    display: flex;
    width:80%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: azure;
    grid-row-gap: 1em;
    border-radius: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  
  }
.search
{ 
  grid-template-columns: 100%;
  /* background-color: #3C6271; */
  align-content: center;
  place-items: center;
  background-image: url('../pexels-skitterphoto-63901.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: rgb(238, 11, 11);

}
.search #search
{
  /* width: 100%;
  margin-bottom: 50px; */
  text-align: left;

}
 .search #search input
{ 
  width: 70%;
  height: 4em;
  border: 1px solid #3C6271;
  border-radius: 10px;
  margin-right: 0px;
  padding-left: 10px;
}
.search #search button
{ 
  height: 4em;
  width: 6em;
  left: 0px;
  border: 0px solid #3C6271;
  background-color: #49bfee;
  border-radius: 10px;
  border-left: none;
  border-top-left-radius: 0px ;
  border-bottom-left-radius: 0px;
  
} 
.search #options
{
  display: grid;
  width:80%;
  grid-template-columns: 4fr 2fr 2fr;
  grid-column-gap: 1em;
  background-color: azure;
  grid-row-gap: 1em;
  border-radius: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

}
.ms-n5 {
  margin-left: -40px;
}
.search #options #spec div a
{
  text-decoration: none;
}
.search #options #spec div
{
  height: 2em;
}
.search #options #spec
{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-row-gap: 0.5em;
  grid-column-gap: 0.5em;
}
.search #options #loc
{
  display: grid;
  grid-template-columns: repeat(2, 4fr);
  grid-row-gap: 0.5em;
  grid-column-gap: 0.5em;
}
#location select 
{
  border-radius: 5px;
  height: 2.5em;
}

.content_1
{
    background-image: url("../national-cancer-institute-nR2C9AVzfHY-unsplash.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    grid-template-columns: auto;
    height: auto;
    margin: 0px;
    color: #722369;
    font-size: 24px;
    font-weight: 3px;
}
.content_1 .img img
{
    height: 100%;
    width: 100%;
}
.content_1 div
{
   
    height: 100%;
    border-radius: 10px;
    padding: 20px;
}
/* .news
{
  align-content: center;
  place-items: center;

} */

.news .slid
{
  display: grid;
  width:65%;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 3em;
  min-height: 400px;
  padding-bottom: 40px;
}
.news .slid .card:hover
{
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
}
.news .slid .card
{
  border-radius: 15px;
  padding: 0px;
  padding-bottom: 22px;
  background-color: white;
  border: 1px solid #F2F2F2;
}
.news .slid .card .img
{
  background-color: black;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  height: 40%;
}
.news .slid .card .img img
{
  height: 100%;
  width: 100%;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.news .slid .card .read
{
  padding-left: 20px;
}
.news .slid .card .read i
{
  padding-left: 10px;
  font-size: medium;
}
.news .slid .card .read span
{
  color: blue;
}
.news .slid .card .content
{
  height: 50%;
  padding-right: 4px;
  padding-left: 10px;
  padding-top: 10px;
}
.news .slid .card .content .head
{
  font-weight: bold;
}
.news .slid .card .content .cont
{
  font-size: 14px;
}
.articles .head

{
  font-size: large;
  font-weight: bold;
  margin-bottom: 5px;
}.articles
{
  grid-template-columns: 4fr;
  padding: 30px;
  background-color: #F2F2F2;
  /* min-height: 100vh; */
}
.articles .artie
{
  display: grid;
  grid-template-columns: 4fr 4fr;
  width: 65%;
  grid-column-gap: 2em;
}
.artie .max
{
  display: grid;
  padding-bottom: 30px;
}
.artie .max img
{
  width: 90%;
  height: 90%;
}
.artie .min
{
  display: grid;
  grid-template-columns: 4fr;
  height: 100%;
  grid-row-gap: 1em;
}
.artie .min #min
{
  display: grid ;
  grid-template-columns: 4fr 4fr;
  min-height: 10em;
}
.artie .min #min img
{
  width: 90%;
  height: 10em;
}
.testy
{
  background-color: white;
  padding: 30px;
}
.testy .testimony
{
  width: 65%;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
}
.testy .testimony .testmn
{
  width: 100%;
}

@media only screen and (max-width: 500px) 
{
  .search #options
  {
    grid-template-columns: 4fr;
    width:100%;
    padding-left: 70px;
  }
  .news .slid
  {
    grid-template-columns: 4fr;
    width: 80%;
    grid-column-gap: 0.5em;
    grid-row-gap: 2em;
  }
  .articles .artie
  {
    grid-template-columns: 4fr;
    width: 100%;
  }
  .testy .testimony
  {
    width: 100%;
  }
}
@media only screen and (max-width: 690px) and (min-width: 501px) 
{
  .search #options
  {
    grid-template-columns: 4fr;
    width:100%;
    padding-left: 70px;
  }
  .news .slid
  {
    grid-template-columns: 4fr;
    grid-column-gap: 0.5em;
    grid-row-gap: 2em;
  }
  .articles .artie
  {
    grid-template-columns: 4fr;
    width: 100%;
  }
  .testy .testimony
  {
    width: 100%;
  }
}
@media screen and (max-width: 900px) and (min-width: 691px)
{
  .search #options
  {
    grid-template-columns: 4fr;
    width:100%;
    padding-left: 70px;
  }
  .news .slid
  {
    grid-template-columns: 4fr 4fr;
    grid-column-gap: 2em;
    width: 90%;
    grid-row-gap: 2em;
  }
  .articles .artie
  {
    grid-template-columns: 4fr;
    width: 100%;
  }
  .testy .testimony
  {
    width: 100%;
  }
}
@media screen and (max-width: 1028px) and (min-width: 901px)
{
  .search #options
  {
    grid-template-columns: 4fr 4fr;
    width:100%;
    padding-left: 70px;
  }
  .news .slid
  {
    grid-template-columns: 4fr 4fr 4fr;
    grid-column-gap: 2em;
    width: 90%;
    grid-row-gap: 2em;
  }
  .articles .artie
  {
    width: 100%;
  }
  .testy .testimony
  {
    width: 100%;
  }
}
@media screen and (max-width: 1426px) and (min-width: 1029px)
{
  .search #options
  {
    grid-template-columns: 4fr 4fr 4fr;
    width:100%;
    padding-left: 70px;
  }
  .news .slid
  {
    grid-template-columns: 4fr 4fr 4fr 4fr;
    grid-column-gap: 2em;
    width: 100%;
    padding-left: 50px;
    grid-row-gap: 2em;
  }
  .articles .artie
  {
    width: 100%;
  }
  .testy .testimony
  {
    width: 100%;
  }
}
@media screen and (max-width: 1802px) and (min-width: 1427px)
{
  .search #options
  {
    grid-template-columns: 4fr 4fr 4fr;
    width:100%;
    padding-left: 70px;
  }
  .news .slid
  {
    grid-template-columns: 4fr 4fr 4fr 4fr;
    grid-column-gap: 2em;
    width: 80%;
    padding-left: 50px;
    grid-row-gap: 2em;
  }
}
.topnav {
  background-color: #fff;
  padding: 20px;
  color: black;
  overflow: hidden;
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.2);
}
.topnav a:hover
{
    border-radius: 5px;
    background-color:rgb(17, 17, 17);
    color: rgb(231, 231, 241);
    cursor: pointer;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: right;
  display: block;
  /* color: #f2f2f2; */
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}
.topnav img
{
  width: 250px;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a, .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}
