
@font-face {
  font-family: calibri;
  src: url(fonts/Calibri/Regular.ttf);
  
}
@font-face {
  font-family: new-roman;
  src: url(fonts/times-new-roman.ttf);
  
  
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: calibri;
}



  img {
    display: block;
    max-width: 100%;
    margin-bottom: 1rem;
    box-shadow: 3px 6px 10px #ccc;
  }
  .wrapper {
    max-width: 960px;
    width: 95%;
    margin: 0 auto;
  }
  
  .flex-row, .flex-column {
    display: flex;
    flex-direction: row;
  }
  .flex-column {
    flex-direction: column;
  }
  .wrapper-header {
    justify-content: space-between;
    align-items: center; 
  }
  
  @media screen and (max-width: 920px) {
    .wrapper.flex-row {
      flex-direction: column;
    }
  }
  h1, h2, h3, h4, h5{
    margin-bottom: 0px;
    font-family: new-roman;
  }
 
  .main-title {
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    padding-top: 13px;
  }
  .main-subtitle {
    color: #000;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  .article-title {
    font-size: 1.5rem;
    color: #333;
  }
  .aside-post .article-title {
    font-size: 1.125rem;
    margin-bottom: 0;
    text-decoration: none;
  }
  .article-meta-info, .action-link, .aside-about-me p {
    font-size: 0.87rem;
  }
  
  .aside-block-title {
    font-size: 1.125rem;
    color: #717171;
    text-transform: uppercase;
  }
  
  strong {
    font-weight: 700;
  }
  
  .aside-about-me p {
    color: #333;
    text-align: center;
    padding-top: 10px;
  }
  .sentence-link, .action-link {
    color: #000;
  }
  
  .action-link {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
  }
  .sentence-link:hover, .sentence-link:focus,
  .action-link:hover, .action-link:focus {
    color: #333;
  }
  a.article-title:hover, a.article-title:focus {
    color: #000;
  }
  .wrapper-main {
    align-items: flex-start;
    justify-content: space-between;
    padding: 25px 0px;
  }
  
  main {
    width: 72%;
  }
  
  aside {
    width: 22%;
  }
  
  .article-recent {
    justify-content: space-between;
  }
  
  .article-recent-header {
    width: 27%;
  }
  
  .article-recent-body {
    width: 69%;
  }
  
  @media screen and (max-width: 920px){
    .article-recent {
      flex-direction: column;
    }
    
    main, 
    aside, 
    .article-recent-header, 
    .article-recent-body {
      width: 100%;
    }
    
  }
 
  header { 
    padding: 4rem;
    background-color: #F8F8F8;
  }


  
  .main-nav ul {
    list-style: none;
    padding: 0;
    font-size: 17px !important;
  }


  @media only screen and (max-width: 1045px) {
    .main-nav ul {
      font-size: 12px !important;
    }
  }



  
  .main-nav li {
    display: inline-block;
    margin-left: 6px;
  }
  
  .main-nav li:first-of-type {
    margin-left: 0;
  }
  
  @media screen and (max-width: 920px) {
    header {
      text-align: center;
    }
    
    .title {
      margin-bottom: 1rem;
    }
    
    .main-nav li {
      display: block;
      margin-left: 0;
    }
  }
  .nav-link{
    color: #717171;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    padding: 0.5rem 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: grey;
    transform: scale(0);
    transform-origin: right;
    transition: transform ease-in-out 350ms;
    transition-delay: 50ms;
  }
  .nav-link:hover.nav-link::after, 
  .nav-link:focus.nav-link::after, 
  .nav-link.active.nav-link::after {
    transform: scale(1);
    transform-origin: left;
  }
  
  .article-featured, .article-recent {
    padding: 1rem 0;
  }
  
  .article-featured {
    padding-top: 0;
    padding-bottom: 2rem;
  }
  
  .article-recent:nth-of-type(2) {
    padding-top: 2rem;
  }
  .article-featured {
     border-bottom: 1px solid #717171;
  }
  
  .article-featured img {
    order: 1;
    box-shadow: 3px 6px 7px #ccc;
  }
  
  .article-featured .article-meta-info {
    order: 2;
  }
  
  .article-featured .article-title {
    order: 3;
  }
  .article-featured p {
    order: 4;
  }
  
  .article-featured .action-link {
    order: 5;
  }
  .article-recent-header img {
    object-fit: cover;
    height: 250px;
    box-shadow: 3px 6px 7px #ccc;
  }
  
  @media screen and (max-width: 920px) {
  
    .article-featured img {
      margin-bottom: 2rem;  
    }
    
    .article-recent-header img {
      height: auto;
    } 
  }
  .aside-about-me, .aside-recent-posts {
    border: solid 20px  #EBEBEB; 
    margin-bottom: 4rem;
    padding: 1rem;
  }
  
  .aside-about-me img {
    object-fit: cover;
    height: 150px;
    box-shadow: 3px 6px 10px #ccc;
    margin: auto;
  }
  
  .aside-post {
    padding: 2rem 0;
    border-bottom: 1px solid #717171;
  }
  
  .aside-post:first-of-type {
    padding-top: 0;
  }
  
  .aside-post:last-child {
    border-bottom: none;
  }
  
  @media screen and (max-width: 920px) {
    aside {
      margin-top: 2rem;
    }
   
  }
  .carousel {
    overflow: hidden;
    height: 45vh;
    
    width: calc(100% - 3em);
    margin: auto;
    position: relative;
    background-color: #ff1953;
    -webkit-animation: background 20s ease infinite;
            animation: background 20s ease infinite;
  }
  .carousel__slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 3em 15%;
    opacity: 0;
    -webkit-animation: carousel 20s ease infinite;
            animation: carousel 20s ease infinite;
  }
  .carousel__slide--01 {
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
  }
  .carousel__slide--02 {
    -webkit-animation-delay: 5s;
            animation-delay: 5s;
  }
  .carousel__slide--03 {
    -webkit-animation-delay: 10s;
            animation-delay: 10s;
  }
  .carousel__slide--04 {
    -webkit-animation-delay: 15s;
            animation-delay: 15s;
  }
  .carousel__slide p {
    max-width: 30em;
    font-size: 1.6em;
    line-height: 1.5;
  }
  .carousel__pager {
    position: absolute;
    z-index: 5;
    left: 15%;
    bottom: 32px;
    display: flex;
  }
  .carousel__marker {
    overflow: hidden;
    height: 0;
    width: 8px;
    margin: 0 8px;
    padding-top: 8px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.25;
    -webkit-animation: marker 20s ease infinite;
            animation: marker 20s ease infinite;
  }
  .carousel__marker--01 {
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
  }
  .carousel__marker--02 {
    -webkit-animation-delay: 5s;
            animation-delay: 5s;
  }
  .carousel__marker--03 {
    -webkit-animation-delay: 10s;
            animation-delay: 10s;
  }
  .carousel__marker--04 {
    -webkit-animation-delay: 15s;
            animation-delay: 15s;
  }
  @-webkit-keyframes carousel {
    0% {
      opacity: 0;
      z-index: 3;
      left: -100%;
    }
    5% {
      opacity: 1;
      z-index: 3;
      left: 0;
    }
    10% {
      opacity: 1;
      z-index: 2;
      left: 0;
    }
    25% {
      opacity: 1;
      z-index: 2;
      left: 0;
    }
    30% {
      opacity: 0;
      z-index: 2;
      left: 100%;
    }
    35% {
      opacity: 0;
      z-index: 1;
      left: -100%;
    }
    100% {
      opacity: 0;
      z-index: 1;
      left: -100%;
    }
  }
  @keyframes carousel {
    0% {
      opacity: 0;
      z-index: 3;
      left: -100%;
    }
    5% {
      opacity: 1;
      z-index: 3;
      left: 0;
    }
    10% {
      opacity: 1;
      z-index: 2;
      left: 0;
    }
    25% {
      opacity: 1;
      z-index: 2;
      left: 0;
    }
    30% {
      opacity: 0;
      z-index: 2;
      left: 100%;
    }
    35% {
      opacity: 0;
      z-index: 1;
      left: -100%;
    }
    100% {
      opacity: 0;
      z-index: 1;
      left: -100%;
    }
  }
  @-webkit-keyframes background {
    0% {
      background-color: #f2aa18;
    }
    5% {
      background-color: #ff1953;
    }
    25% {
      background-color: #ff1953;
    }
    30% {
      background-color: #5319ff;
    }
    50% {
      background-color: #5319ff;
    }
    55% {
      background-color: #13bf94;
    }
    75% {
      background-color: #13bf94;
    }
    80% {
      background-color: #f2aa18;
    }
    100% {
      background-color: #f2aa18;
    }
  }
  @keyframes background {
    0% {
      background-color: #f2aa18;
    }
    5% {
      background-color: #ff1953;
    }
    25% {
      background-color: #ff1953;
    }
    30% {
      background-color: #5319ff;
    }
    50% {
      background-color: #5319ff;
    }
    55% {
      background-color: #13bf94;
    }
    75% {
      background-color: #13bf94;
    }
    80% {
      background-color: #f2aa18;
    }
    100% {
      background-color: #f2aa18;
    }
  }
  @-webkit-keyframes marker {
    1% {
      opacity: 0.25;
      transform: scale(1);
    }
    2% {
      opacity: 1;
      transform: scale(1.5);
    }
    25% {
      opacity: 1;
      transform: scale(1.5);
    }
    26% {
      opacity: 0.25;
      transform: scale(1);
    }
    100% {
      opacity: 0.25;
      transform: scale(1);
    }
  }
  @keyframes marker {
    1% {
      opacity: 0.25;
      transform: scale(1);
    }
    2% {
      opacity: 1;
      transform: scale(1.5);
    }
    25% {
      opacity: 1;
      transform: scale(1.5);
    }
    26% {
      opacity: 0.25;
      transform: scale(1);
    }
    100% {
      opacity: 0.25;
      transform: scale(1);
    }
  }
  
  @keyframes background {
    0% {
      background-color: #ececec;
    }
    5% {
      background-color: #ececec;
    }
    25% {
      background-color: #ececec;
    }
    30% {
      background-color: #ececec;
    }
    50% {
      background-color: #ececec;
    }
    55% {
      background-color: #ececec;
    }
    75% {
      background-color: #ececec;
    }
    80% {
      background-color: #ececec;
    }
    100% {
      background-color: #ececec;
    }
  }
  @-webkit-keyframes marker {
    1% {
      opacity: 0.25;
      transform: scale(1);
    }
    2% {
      opacity: 1;
      transform: scale(1.5);
    }
    25% {
      opacity: 1;
      transform: scale(1.5);
    }
    26% {
      opacity: 0.25;
      transform: scale(1);
    }
    100% {
      opacity: 0.25;
      transform: scale(1);
    }
  }
  @keyframes marker {
    1% {
      opacity: 0.25;
      transform: scale(1);
    }
    2% {
      opacity: 1;
      transform: scale(1.5);
    }
    25% {
      opacity: 1;
      transform: scale(1.5);
    }
    26% {
      opacity: 0.25;
      transform: scale(1);
    }
    100% {
      opacity: 0.25;
      transform: scale(1);
    }
  }
  


 /* footer */

  .contact-social ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.contact-area {
    border-bottom: 1px solid #353C46;
    padding: 24px 0;
    text-align: center;
}

.contact-content p {
  font-size: 15px;
    margin: 0 0 30px 0;
    color: #fff;
    text-align: left;
    position: relative;
}

.contact-content p::after {
    background: #353C46;
    bottom: -30px;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    transform: translate(-50%);
    width: 80%;
}

.contact-content h6 {
    color: #8b9199;
    font-size: 15px;
    font-weight: 400;
    margin: 10px;
}

.contact-content span {
    color: #8b9199;
    margin: 10px;
}

.contact-social {
    margin-top: 13px;
}

.contact-social > ul {
    display: inline-flex;
    
}

.contact-social ul li a {
    margin: 10px;
    text-decoration: none;
    color: #8b9199;
}

.contact-social ul li a:hover {
  transition: all 0.4s ease 0s;
    color: #fff;
}

.contact-content img {
    max-width: 210px;
    margin: auto;
    box-shadow: none;
}

.contact-area, footer {
    background: #1A1E25;
    color: #868c96;
}

footer p {
    padding: 9px  0;
    text-align: center;
    margin-bottom: 0px;
    font-size: 15px;
}

footer img {
    width: 44px;
}

@media only screen and (max-width: 600px) {
  .contact-social > ul {
    display: block;
   margin: auto;
  }

}

/* footer */