@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;700;800&display=swap');

:root {
  /* fonts */
  --mainText: url;
  --secondaryText: ;

  /* class 1 */
  --fontSizeMain1: 30px;
  --fontSizeSecondary1: 60px;

  /* class 2 */
  --fontSizeMain2: 15px;
  --fontSizeSecondary2: 30px;

  /* colors */
  --mainColor: #ffffff;
  --secondaryColor: #000000;
  --footerBgColor: #e4e4e4;
  --bottonColor: #ffa500;
  --textColorMain: #602d91;
  --textColorSecondary: #6767ec;
  --textColorPartial: #707070;
}

/* Home Page */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 15px;
  font-family: Montserrat, monospace;
}

h3 {
  color: var(--textColorMain);
}

h2 {
  color: var(--mainColor);
  font-weight: 900;
  font-size: larger;
  background-color: rgba(0, 0, 0, 0.363);
}

html {
  display: block;
}

body {
  top: 0px;
  padding: 0;
  margin: 0;
}

.btn {
  background-color: var(--bottonColor);
  color: var(--mainColor);
  font-size: var(--mainText);
  font-weight: bold;
  width: 8em;
  height: 8em;
  border: none;

  border-radius: 90px;
cursor: pointer;

}

/* HEADER */

/* MAIN */

.main-cnt {
  display: block;
  flex-direction: column;
  height: max-content;
  padding-top: 10em;
}

/* article section */
.article-cnt {
  justify-content: center;
  display: grid;
  gap: 5em;
  grid-template-columns: 450px 450px;
  grid-template-rows: auto;
  padding-bottom: 10em;
}

.major-article {
  grid-column: 1/3;
}

.major-article, .minor-article{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
border-radius: 5px;

}

.thumbnail-major {
  height: 400px;
  background-image: url("../media/corona.jpg");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 20em;
  padding-left: 1em;
border-top: 5px;


}

.thumbnail {
  /* height: 100%; */
  padding-top:13em ;
  padding-left: .5em;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;

}

.thumbnail-major h3 {
  padding-top: 1em;
  color: var(--mainColor);
  font-weight: 900;
  font-size: 18px;

  }
  
  .thumbnail{
    height: auto;
    width: 100%;
  }

.thumbnail h2 {
color: var(--mainColor);
font-weight: 900;
}




#thumb1{
  background-image: url("../media/love-and-sex.jpg");
}

#thumb2{
  background-image: url("../media/diet.jpg");

}

#thumb3{
  background-image: url("../media/image.jpg");
  
}


#thumb4{
  background-image: url("../media/dental-oral-web-2020-91313.jpg");
}

.article-text{
  padding:1em;
  color: var(--textColorPartial);

}

/* FOOTER */

@media(max-width:650px){


  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: Montserrat, monospace;
    font-size: 12px;
    transition: ease-in-out .8s;

  }


  .container{
    width: 100%;
  }
  
  .nav {

    width: 100%;
    height: 100vh;
    /* background-color: white; */
    top: -900px;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 0.8s cubic-bezier(1, 0, 0, 1);




  }



  .right {
    height: auto;

    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;



  }



  .nav ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;

    justify-content: center;

    align-items: center;
  }



  .nav ul li :hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    transition: .3s;
    color: var(--textColorSecondary);
  }


  li a {
    display: block;
    padding: 14px 14px;
    text-decoration: none;
    color: var(--textColorMain);

  }


  #nav-btn {
    display: block;
    color: var(--bottonColor);
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);

    height: 2.5em;
    align-items: center;
    margin-bottom: 2em;

  }

  #nav-btn:hover {
    color: var(--mainColor);
    background-color: var(--bottonColor);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: .5s;

  }



  .change {
    top: 0;


  }

  .hamburger-menu {
    width: 100%;
    height: 30px;
    display: flex;
    position: fixed;
    scroll-behavior: none;
    margin-top: 2em;
    top: 1em;
    right: 1em;
    cursor: pointer;
    /* background-color: white; */
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-around;

  }


  .nav-item {
    list-style: none;
    margin: 25px;
    text-decoration: none;
  }


  .line {
    width: 35px;
    /* width: 100%; */
    height: 4px;
    background-color: var(--bottonColor);
    transition: all 0.8s;
  }

  .change .line-1 {
    transform: rotateZ(-405deg) translate(-8px, 6px);
  }


  .change .line-2 {
    opacity: 0;
  }


  .change .line-3 {
    transform: rotateZ(405deg) translate(-8px, -6px);
  }


/* footer*/



footer {
  display: block;
  background-color: var(--footerBgColor);
  height: auto;
  width: 100%;
}

.footer-section {
  font-size: 10px;
  padding: 3em 4em;
  display: flex;
  flex-direction: column;
  gap: 6em;
  justify-content: space-evenly;
  padding-bottom: 4em;
}

.footerLocation {
  padding-top: 1em;
}

.footerLocation p {
  line-height: 1.5em;
}

.flex-item h3 {
  padding-bottom: 1em;
  font-size: 25px;
}

.flex-item ul li {
  line-height: 1.5em;
}

#socialIcon {
  background-color: var(--mainColor);
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 3em;
  border-radius: 1px solid var(--textColorPartial);

} 

/* article */

.article-cnt {
  justify-content: center;
  display: flex;
  gap: 5em;
  flex-direction: column;
  padding-bottom: 10em;
}
 

}

