/**
 * Theme Name:        IFNTUOG Heroes Website theme
 * Theme URI:         https://digital.nung.edu.ua
 * Description:       Wordpress subtheme for Heroes Website
 * Version:           0.0.1
 * Author:            Marian Slabinoha & Tetiana Arshulik
 * Author URI:        https://digital.nung.edu.ua
 * Text Domain:       nung
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */
 @font-face {
    font-family: UAFMemory;
    font-weight: normal;
    src: url(assets/fonts/UAFMemory-Regular.ttf);
  }
@font-face {
    font-family: UAFMemory;
    font-weight: bold;
    src: url(assets/fonts/UAFMemory-Bold.ttf);
  }
@font-face {
    font-family: UAFMemory;
    font-weight: bolder;
    src: url(assets/fonts/UAFMemory-Black.ttf);
}
@font-face {
    font-family: UAFMemory;
    font-weight: 300;
    src: url(assets/fonts/UAFMemory-Regular.ttf);
}
.mobile{
    display:none;
}
body{
    font-family: UAFMemory;
    background-color: #fff;
    padding:0px;
    margin:0px;
    color:#1B1B1B;
    box-sizing: border-box;
    font-size:20px;
}
.container{
    max-width: 900px;
    margin: 0 auto;
}
.btn a{
    color:white;
    text-decoration: none;
    padding:16px 32px;
    width:160px;
    border-radius: 16px;
    background-color: #444031;
    text-align: center;
}
.btn{
    margin-bottom:48px;
}
/*HEADER*/
.header-mobile{
    top:0px;
    left:0px;
    width:100%;
    background-color: #3B3B3B;
    z-index:2;
    position:absolute;
    display: none;
    flex-direction: column;
    padding:32px;
    box-sizing: border-box;
    transition: all 0.5s ease;
}
.header-mobile-top{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top:40px;
}
.header-nav.mobile-nav ul{
    flex-direction: column;
}

.search-input{
    border:1px solid #CCC;
    color:#CCC;
    background-color: #5F5D5D;
    background-image: url('./assets/img/search-icon.svg');
    background-position: center right;
    background-repeat: no-repeat;
    border-radius: 4px;
    padding:8px 16px;
    min-width:200px;
}
.search-input::placeholder {
  color: #fff;
}
header{
    padding:8px 32px;
    background-color: #3b3b3b;
    border-radius: 8px;
    display:flex;
    flex-direction:row;
    align-items: center;
    justify-content: space-between;
}
.logo-container{
    display: flex;
    flex-direction: row;
    max-width:250px;
    align-items: center;
    gap:8px;
}
.logo-container img{
    height:80px;
}
.logo-container .logo-text{
    font-family: 'UAFMemory';
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    text-decoration: none;
}
.logo-container a{
    text-decoration: none;
}
.header-nav ul{
    display: flex;
    flex-direction: row;
    gap:32px;
    padding-inline-start:0px;
}
.header-nav ul li{
    list-style-type: none;
}
.header-nav ul li a{
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    transition: all .3s ease;
}
.header-icons{
    display:flex;
    flex-direction: row;
    gap:32px;
}
.header-icons img{
    height:32px;
}
/*HERO*/
.hero{
    background-color: black;
    min-height:80vh;
    background-image: url('assets/img/hero-bg.png');
    background-size: cover;
    padding:32px;
}
.hero h1{
    color:white;
    font-size:48px;
    line-height: 96px;
    font-weight: bold;
    padding:32px;
    padding-top:10vh;
    margin:0 auto;
    max-width:900px;
}
.hero-subtitle{
    color:white;
    font-size:32px;
    line-height:64px;
    padding:32px;
    margin:0 auto;
    max-width:900px;
}
/*ARCHIVE*/
h2{
    font-size:36px;
    text-align:center;
}
.heroes.container{
    padding-bottom:120px;
}
.tiles-container{
    display:flex;
    flex-direction:row;
    gap:40px;
    flex-wrap: wrap;
    justify-content: center;
    
    margin: 0 auto;
}
.heroes-tile-item{
    width:272px;
    margin-bottom:48px;
}
.heroes-img{
    width:240px;
    height:360px;
    border:16px #444031 solid;
}
.heroes-img img{
    width:240px;
    height:360px;
    object-fit: cover;
    z-index:-1;
    filter: grayscale(1);
}
.heroes-img img:hover{

    filter: grayscale(0);
}
.heroes-title{
    margin: 0;
    background-color:#444031 ;
    width:200px;
    margin-top:-66px;
    margin-left:24px;
    padding:12px;
    position: absolute;
    z-index:2;
}
.heroes-title h3{
    margin:0px;
    font-size:24px;
    line-height:120%;
    color:white;
    text-align: center;
}
/*FOOTER*/
footer{
    background-color: #3B3B3B;
    border-radius:8px;
    padding:32px;
}
footer .btn{
    background-color: white;
    color:#1B1B1B;
    padding:16px 32px;
    border-radius: 16px;
    width:200px;
    text-align: center;

}
.footer-contacts{
    margin: 0 auto;
    max-width: 900px;
    display:flex;
    flex-direction: column;
    gap:8px;
}
footer a{
    color:white;
    text-decoration:none;
    margin-bottom: 20px;
}
footer h3{
    color:white;
}
/*SINGLE POST*/
.single-post{
    padding:32px;
}
.single-post-header{
    max-width: 900px;
    margin:0 auto;
    padding:64px 16px 0px;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    gap:64px;
}
.heroes-details h1{
    font-size:48px;
    color:#444031;
    margin-top: 0px;
}
.heroes-details h2, .single-post-content h2{
    text-align:left;
    color:#444031;
}
.heroes-details h3{
    text-align:left;
    color:#444031;
}
.single-post-content{
    max-width: 900px;
    margin:0 auto;
    padding:32px 16px;
}
.single-post-navigation{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    padding:32px 0px;
}
.no-posts{
    height:40vh;
    text-align:center;
    padding-top:160px;
}
.pagination{
    margin-top:48px;
    text-align:center;
    min-height: 60px;
}
.page-numbers{
    margin: 5px 0px;
    color:white;
    text-decoration: none;
    padding:16px 24px;
    border-radius: 32px;
    background-color: #444031;
    text-align: center;
    display:inline-block;
}
@media screen and (max-width: 1600px) {
    .container{
        padding:0 64px;
    }
}
@media screen and (max-width: 991px) {
    .single-post-header{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .single-post-header h1{
        text-align: center;
    }
}
@media screen and (max-width: 678px) {
    .hero h1,.single-post-header h1{
        font-size:36px;
        line-height: 150%;
    }
    .hero-subtitle{
        font-size: 24px;
        line-height: 150%;
    }
    .single-post-navigation{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}