#NEWS {
  height: max-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 0px;
  font-family: "poppins", sans-serif;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 40px;
}
.news-heading {
  height: max-content;
  background-color: var(--main-color);
  padding: 20px;
  width: 100%;
  height: 25vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.news-heading-text {
  width: max-content;
  margin-left: -80vh;
  margin-top: 190px;
  padding: 20px;
}
.news-heading-text p {
  font-size: 30px;
  font-weight: 900;
  color: white;
}
.News-main-section {
  height:max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
  flex-direction: column;
  margin-top: 30px;
  padding: 20px;
}
.News-main-section a {
  text-decoration: none;
}
.News-main-section:hover p {
  transform: scale(0.98);
}

#News-main-subsections {
  display: flex;
  flex-direction: row;
  flex: 1;
}
.News-sections {
  width: 350px;
  height: 450px;
  overflow: hidden;
  position: relative;
  margin: 5px ;
  transition: all ease .5s; 
  position: relative;
  border-radius: 5px;
}
.News-sections:hover {
  transform: scale(1.03);
 
}
.News-text-section{
  display: flex;
  flex-direction: column;
  position: absolute;
  text-align: center;
  bottom: 0;
  left:0;
  right: 0;
  color: white;
  padding-bottom: 20px;
  margin-top: -30px;
  
}
.News-top-icon {
  background-color: var(--main-color
  );
  width: max-content;
  position: absolute;
  margin-right: 10px;
  margin-top: 10px;
  right: 0;
  
  border-radius: 3px;
  

}
.News-top-icon p {
  margin: 0px;
  font-size: 12px;
  padding: 5px 7px 5px 7px;
  color: white;
}
.continue-reading, .News-brief {
  padding: 0px;
  margin: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.News-brief p {
  margin: 0px;
  padding: 0px 5px 0px 5px ;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
.continue-reading p {
  margin: 0px;
  padding: 5px;
  font-size: 12px;
  font-style: italic;
  color: var(--main-color);
  opacity: .6;
}
.continue-reading:hover p {
  opacity: 1;
}
#News-One {
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 2)),
    url("/Images/News/Malta\ Guinness\ portrait.jpg");
  background-size: contain;
}
#News-Two {
   background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 2)),
    url("/Images/News/new.jpg");
  background-size: cover;
  
}
#News-Three {
   background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 2)),
    url("/Images/News/Zeinab\ win\ mvp.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  
}
#News-Four {
   background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 2)),
    url("/Images/News/Nimatu\ singing\ -\ portrait.jpg");
  background-size: cover;
  
}
#News-Five {
   background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 2)),
    url("/Images/News/one.jpg");
  background-size: cover;
  
}
#News-Six {
   background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 2)),
    url("/Images/News/ceo.jpg");
  background-size: cover;
  
}

/* MEDIA QUERIES  */

/* LARGE DISPLAYS  */
@media screen and (min-width: 2570px) {
}
/*......................... LAPTOP DISPLAYS ...............  */
@media screen and (min-width: 930px) and (max-width: 1440px) {
  #NEWS {
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
    font-family: "poppins", sans-serif;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 40px;
  }
  .news-heading {
    height: max-content;
    background-color: var(--main-color);
    padding: 20px;
    width: 100%;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .news-heading-text {
    width: max-content;
    margin-left: 0vh;
    margin-top: 140px;
    padding: 20px;
  }
  .news-heading-text p {
    font-size: 25px;
    font-weight: 500;
    color: white;
    font-family: "poppins", sans-serif;
  }
  .News-main-section {
    height:max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    overflow: hidden;
    flex-direction: column;
    margin-top: 30px;
    padding: 10px;
  }
  .News-main-section a {
    text-decoration: none;
  }
  .News-main-section:hover p {
    transform: scale(0.98);
  }
  
  #News-main-subsections {
    display: flex;
    flex-direction: row;
    margin-top: 5px;
  }
  .News-sections {
    width: 285px;
    height: 385px;
    overflow: hidden;
    position: relative;
    margin: 5px;
    transition: all ease .5s; 
    position: relative;
    border-radius: 5px;
  }
  .News-sections:hover {
    transform: scale(1.03);
   
  }
  .News-text-section{
    display: flex;
    flex-direction: column;
    position: absolute;
    text-align: center;
    bottom: 0;
    left:0;
    right: 0;
    color: white;
    padding-bottom: 20px;
    margin-top: -30px;
    
  }
  .News-top-icon {
    background-color: var(--main-color
    );
    width: max-content;
    position: absolute;
    margin-right: 10px;
    margin-top: 10px;
    right: 0;
    border-radius: 3px;
    
  
  }
  .News-top-icon p {
    margin: 0px;
    font-size: 10px;
    padding: 5px 7px 5px 7px;
    color: white;
  }
  .continue-reading, .News-brief {
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .News-brief p {
    margin: 0px;
    padding: 0px 5px 0px 5px ;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
  }
  .continue-reading p {
    margin: 0px;
    padding: 5px;
    font-size: 12px;
    font-style: italic;
    color: var(--main-color);
    opacity: .6;
  }
}
/* MOBILE PHONES  DISPLAYS  */
@media screen and (min-width: 770px) and (max-width: 929px)
{
  #NEWS {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
    font-family: "poppins", sans-serif;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
  }
  .news-heading {
    height: max-content;
    background-color: var(--main-color);
    padding: 20px;
    width: 100%;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .news-heading-text {
    width: max-content;
    margin-left: 0vh;
    margin-top: 140px;
    padding: 20px;
  }
  .news-heading-text p {
    font-size: 25px;
    font-weight: 500;
    color: white;
    font-family: "poppins", sans-serif;
  }
  .News-main-section {
    height:max-content;
    display: flex;
    width: max-content;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 30px;
    padding: 0px;
  }
  .News-main-section a {
    text-decoration: none;
  }
  .News-main-section:hover p {
    transform: scale(0.98);
  }
  
  #News-main-subsections {
    display: flex;
    flex-direction: column;
   
  }
  .News-sections {
    width: 650px;
    height: 750px;
    margin: 0px;
    transition: all ease .5s; 
    position: relative;
    border-radius: 5px;
    margin-top: 20px;
  }
  .News-sections:hover {
    transform: scale(1.03);
   
  }
  .News-text-section{
    display: flex;
    flex-direction: column;
    position: absolute;
    text-align: center;
    bottom: 0;
    left:0;
    right: 0;
    gap: 0px;
    -webkit-gap: 0px; /* WebKit-based browsers like Safari */
    color: white;
    padding-bottom: 20px;
    margin-top: -100px;
    
  }
  .News-top-icon {
    background-color: var(--main-color
    );
    width: max-content;
    position: absolute;
    margin-right: 10px;
    margin-top: 10px;
    right: 0;
    
    border-radius: 3px;
    
  
  }
  .News-top-icon p {
    margin: 0px;
    font-size: 10px;
    padding: 5px 7px 5px 7px;
    color: white;
  }
  .continue-reading, .News-brief {
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .News-brief p {
    margin: 0px;
    padding: 0px 5px 0px 5px ;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
  }
  .continue-reading p {
    margin: 0px;
    padding: 5px;
    font-size: 18px;
    font-style: italic;
    color: var(--main-color);
    opacity: .6;
  }
}
/* MOBILE PHONES  DISPLAYS  */
@media screen and (min-width: 320px) and (max-width: 769px) {
  #NEWS {
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 0px;
    font-family: "poppins", sans-serif;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 40px;
  }
  .news-heading {
    height: max-content;
    background-color: var(--main-color);
    padding: 0px 0px 30px 0px;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .news-heading-text {
    width: max-content;
    margin-left: -6vh;
    margin-top: 80px;
    padding: 0px;
  }
  .news-heading-text p {
    font-size: 25px;
    font-weight: 400;
    color: white;
  }
  .News-main-section {
    height:max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    flex-direction: column;
    padding: 2px;
    
    margin-top: 10px;
  }
  .News-main-section a {
    text-decoration: none;
  }
  .News-main-section:hover p {
    transform: scale(0.98);
  }
  
  #News-main-subsections {
    display: flex;
    flex-direction: column;
    width: 99%;
    justify-content: center;
    align-items: center;
   
  }
  .News-sections {
    width: 97%;
    aspect-ratio: 1/1;
    height: auto;
    overflow: hidden;
    position: relative;
    margin: 10px 0px 0px 0px ;
    transition: all ease .5s; 
    position: relative;
    border-radius: 5px;
  }
  .News-sections:hover {
    transform: scale(1.01);
   
  }
  .News-text-section{
    display: flex;
    flex-direction: column;
    position: absolute;
    text-align: center;
    bottom: 0;
    left:0;
    right: 0;
    gap: 0px;
    color: white;
    padding-bottom: 20px;
    margin-top: -30px;
  }
  .News-top-icon {
    background-color: var(--main-color
    );
    width: max-content;
    position: absolute;
    margin-right: 10px;
    margin-top: 10px;
    right: 0;
    border-radius: 3px;
  }
  .News-top-icon p {
    margin: 0px;
    font-size: 12px;
    padding: 5px 7px 5px 7px;
    color: white;
  }
  .continue-reading, .News-brief {
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .News-brief p {
    margin: 0px;
    padding: 0px 20px 0px 20px ;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
  }
  .continue-reading p {
    margin: 0px;
    padding: 5px;
    font-size: 12px;
    font-style: italic;
    color: var(--main-color);
    opacity: .6;
  }
  .continue-reading:hover p {
    opacity: 1;
  }
}
