
body {
  overflow-x: hidden;
}
.text-one {
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 30vw;
    line-height: 2rem;
}
.item-one {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.item-two{
    gap: .3rem;
}
.text-two{
    line-height: 1.7rem;
}
.item-screening {
    padding: 1rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #041E42;  
    color: white;    
}
.nav-main {
    @media screen and (min-width: 1257px) {
    position: fixed;
    width: 100%;
}}
.nav.icon {
    height: auto;
    width: 50px;
    display: flex;
    

}
.nav.menu {
    display: flex;
    justify-content: space-between;
    list-style-type: none;  
}

.nav.menu a{
    padding: 10px;
    text-decoration: none;
    color: white;
}
.nav.menu a:hover {
    text-decoration: underline gold;

    
}
.nav h1 {
    margin: 0;
}
.layout-one {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.layout-pad {
    padding-top: 50px;
    @media screen and (min-width: 1257px) {
       padding-top: 0;
        
    }
}
.allCancerIn-text {
    padding: 1rem;
    width: 30vw;
    line-height: 2rem;

}
.map {
    width: 70vw;
    border-left: 2px solid #B6B6B6;
    border-bottom: 2px solid #B6B6B6;
}
.all-mortality{
    margin-top: 1rem;
    border-top: 2px solid #B6B6B6;
}
.resource-headline {
    background-color: #A8b9C7;
}
.resource-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.resource-data p {
    margin-bottom: .5rem;
    line-height: 1rem;
    margin-top: 5px;
}
.resource-data-online {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1rem;
}
.resource-data-online p {
    margin-bottom: .5rem;
    line-height: 1rem;
    margin-top: 5px;
}
.resource-data-online h4 {
    margin: 0;
}
.regular-text-one {
    padding-top: 1rem;
    padding-bottom: 1rem;
    line-height: 2rem;
}
.regular-text-two {
    margin: 0;
}
.regular-text-one h4 {
    margin-bottom: 0;
}
.resource-text-link {
    font-weight: bold;
    color: #2A4666;
    
}
.home-icon {
    height: 12px;
    width: auto;
}

.info {
    line-height: 1.3rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 1rem;
}
.footer-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #041E42;
    margin-top: 0rem;
    color: white;
    text-align: center;

}

.footer-link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;

}
.footer-link li {
    list-style-type: none;
}
.footer-link li a {
    text-decoration: none;
    color: white;  
}
.footer-link li a:hover {
    text-decoration: underline gold;
}
.footer-social ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.7rem;
    padding: 0;
    margin-top: 2rem;
}

.footer-social img {
    width: 20px;
    height: auto;
    border-right: 1px solid white;
    border-left: 1px solid white;
    border-radius: 4px;
    background-color: white;
}
.footer-social ul li{
    list-style-type: none;   
}
.footer-social img:hover{
    filter: blur(.5px);
}
/* Tab */
@media screen and (min-width: 40em) and (max-width: 1256px){
    .layout-pad {
        padding-top: 0;
     }
    .topnav h1 {
        font-size: 2.3rem !important;
    }

    }

/* Phone */
@media (width < 40em) {
    .footer-link {
        gap: 1rem;
     }
    .layout-one {
        flex-direction: column;
        align-items: center;
    }
    .dem-moblie {
      margin-left: .5rem;
      
    }
.text-one {
    width: 100vw;
}
.text-one h1,h2 {
  padding-left: 0.5rem;
}
.item-one h3 {
  padding-left: 0.5rem;
}
.map {
    padding: 5px;
    border: 2px solid #041E42;
    border-radius: 1%;
}
.layout-pad {
    padding-top: 0;
}
.info {
  line-height: 1.3rem;
  display: grid;
  grid-template-columns:1fr;
  row-gap: 1rem;
}
main {
  padding-left: 8px;
  padding-right: 8px;
}
 }


/* navBar */

a,
a:visited,
a:active {
  font-weight: 400;
  text-decoration: none;
  color: black;
}
a:hover,
a:visited:hover,
a:active:hover {
  text-decoration: underline gold;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color:#041E42 ;
  padding: 0;
  position: sticky;
  top: 0;
}
@media (width <= 65em) {
  .topnav {
      padding-block: 1.5rem;
  }}
.topnav h1 {
  margin: 0;
  color: white;
}
@media (width <= 65em) {
  .topnav h1 {
      font-size: 1.2rem;
  }}
.topnav button {
  background: none;
  border: none;
  padding: 0;
}
@media (width >= 65em) {
  .topnav button {
    display: none;
  }
}
.topnav__open[aria-expanded=true] + .topnav__menu {
  translate: 0;
}
@media (prefers-reduced-motion) {
  .topnav__open[aria-expanded=true] + .topnav__menu {
    opacity: 0;
  }
}
.topnav__close {
  display: block;
  margin-inline-start: auto;
  margin-block-end: 8rem;
}
.topnav__close img {
  width: 2.5rem;
}
.open-img {
  background-color: #041E42;
  border-top: 5px solid #041E42;
  
}
@media (width < 65em) {
  .topnav__menu {
    position: fixed;
    inset: 0;
    padding: 1.5rem;
    background-color: black;
    translate: 100vw 0;
    transition: translate 0.5s ease-in-out;
  }
}
@media (width < 65em) and (prefers-reduced-motion) {
  .topnav__menu {
    translate: 0;
    opacity: 0;
    transition: opacity 500ms ease-in-out;
  }
}
.topnav__links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (width < 65em) {
  .topnav__links {
    flex-direction: column;
  }
}
.topnav__item {
  list-style-type: none;
}
.topnav__item a {
  color: white !important;
  padding: .25rem
  ;
}
