/*
Theme Name: rzeszoto
Text Domain: rzeszoto
Version: 1.0
Description: najlepsia tema
Tags: rzeszoto
Author: Daniel Rzeszoto
Author URI: https://youtube.com
*/

@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

:root{
    --purple: #40365E;
    --blup: #2f2445;
    --mint: #008037;
    --mindaro: #2f244580;
}

*{
    font-family: 'Poppins', sans-serif!important;
}

html,body{
    min-height: 100vh;
}

body{
    display:flex; 
    flex-direction:column; 
}

a{
    text-decoration: none;
    color: var(--purple);
}

a:hover{
    color: var(--blup);
    opacity: 0.7;
}

a span{
    font-weight: bold;
    font-size: 1.2rem;
}

.tab-active span{
    color: var(--mint)!important;
}

.nav-item span{
    color: white;
}

html{
    overflow-x: hidden;
}

nav div div ul{
    margin-left: auto!important;
    margin-right: auto!important;
}

.nav-item:not(:last-child){
    margin-right: 10px;
}

.dropdown-menu .nav-item{
    margin-right: 0;
}

.dropdown-menu{
    border: none;
    background-color: var(--purple);
}

.dropdown-menu .nav-item:not(:last-child){
    border-bottom: 1px solid gray;
}

.navbar .navbar-nav .nav-item {
    position: relative;
}

#header{
    height: fit-content;
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    border-bottom: 1px solid grey;
}

.navbar{
    background-color: var(--purple)!important;
}

.navbar-toggler{
    color: white;
    border-color: white;
}

.navbar-light .navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#landing-page{
    background-image: url(assets/images/IMG_8395.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.fit-content{
    width: fit-content;
}

.col-limit{
    max-height: max-content;
}

.article-border{
    border-radius: 3px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.kandidujem-font-size{
    font-size: 1.3rem;
}

hr{
    margin: 0;
    border: 0;
    border-radius: 3px;
    opacity: 1;
    background-color: var(--mint);
    height: 6px;
}

.bg-purple{
    background-image: url(assets/images/bg-purple.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    height: 85rem;
    overflow-x: hidden;
}

#kandidat{
    height: 100%;
    display: block;
    margin: auto;
    border: 5px solid var(--mint);
    border-radius: 4px;
}

.button{
    background-color: var(--mint);
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.button:hover span {
    padding-right: 25px;
}

.button:hover span:after {
    opacity: 1;
    right: 0;
}

.button span a{
    color: white!important;
}

.section{
    height: 40rem;
}

#image-main{
    max-height: 95%;
    height: 95%;
    bottom: 0;
    left: -5vw;
}

#name{
    position: absolute;
    left: 19rem;
    bottom: 35%;
    background: var(--mindaro);
    border-left: 3px solid white;
}

#wrapper{
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--purple);
    padding: 12px;
}

#heading{
    border: 5px solid white;
    padding: 0.5rem;
}

#cover1{
    position: absolute;
    left: 0;
    top: 0;
    width: calc(7rem + 0.9vw);
    height: 20%;
    background-color: var(--purple);
    z-index: 0;
}

#cover2{
    position: absolute;
    left: 0;
    top: 0;
    width: calc(1.5rem + 0.9vw);
    height: calc(3.25rem + 0.9vw);
    background-color: var(--purple);
    z-index: 0;
}

#independent{
    color: white;
    z-index: 0;
    position: absolute;
    left: calc(0.3rem + .9vw);
    top: calc(0.25rem + .9vw);
    transform: rotate(340deg);
    font-size: 1.5rem;
}

.modal-body{
    height: 80vh!important;
}

.modal-footer{
    justify-content: space-evenly;
    align-items: stretch;
}

.modal-footer button{
    margin-bottom: 2rem;
}

.about-height{
    height: calc(94.25vh - 5rem);
}

#about-picture{
    background-image: url(assets/images/about.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    height: 55vh;
    width: 50vh;
    position: absolute;
    left: 7%;
    top: 10%;
    box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -1px, rgb(0 0 0 / 30%) 0px 1px 3px -1px;
}

#about-text{
    height: auto;
    width: 55%;
    position: absolute;
    right: 7%;
    left: calc(25% + 15vh);
    bottom: 10%;
    border-radius: 3px;
    background-color: var(--mindaro);
}

.about-text-sm{
    height: auto;
    width: 100%;
    border-radius: 3px;
    background-color: var(--mindaro);
}

.about-font-size{
    font-size: calc(.7rem + .7vh);
}

.media-body{
    width: 90%;
}

.post-thumb{
    max-width: calc(10% - 5px);
    max-height: calc(10% - 5px);
    vertical-align: top;
}

.intro p{
    word-break: break-word;
}

.carousel-inner .carousel-item img{
    object-fit: cover;
    object-position: bottom;
    height: 70vh;
}

.navigation{
    display: flex!important;
    margin: auto;
    height: fit-content!important;
    width: fit-content;
    font-size: calc(.5rem + .9vh)!important;
    border: 1px solid var(--purple);
    border-radius: 0.375rem;
    margin-bottom: 2rem;
}

.navigation ul{
    margin: 0;
    padding: 0;
}

.navigation ul li{
    display: inline-block;
    list-style-type: none;
    padding: 0.3rem;
}

.navigation ul li:not(:last-child){
    border-right: 1px solid black;
}

.navigation ul li:not(:first-child) {
    margin-left: -0.25rem;
}

.page-numbers{
    padding: 0.1rem;
}

.wpcf7{
    width: fit-content;
    margin: auto;
    height: 91vh;
    display: flex;
    align-items: center;
    padding: 0 1rem 0 1rem;
}

label input{
    display:block;
    width:100%;
    padding:.375rem .75rem;
    font-size:1rem;
    font-weight:400;
    line-height:1.5;
    color:#212529;
    background-color:#fff;
    background-clip:padding-box;
    border:1px solid #ced4da;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    border-radius:.375rem;
    transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

textarea{
    display:block;
    width:100%;
    padding:.375rem .75rem;
    font-size:1rem;
    font-weight:400;
    line-height:1.5;
    color:#212529;
    background-color:#fff;
    background-clip:padding-box;
    border:1px solid #ced4da;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    border-radius:.375rem;
    transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

p input{
    display: block;
    margin: auto;
}

.wpcf7-submit{
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: white;
    --bs-btn-bg: var(--purple);
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: var(--blup);
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-label{
    width: 100%;
}

.ajax-loader{
    margin: 0.3rem auto 0.3rem auto!important;
    display: block!important;
}

.gallery-image{
    max-width: 100%;
    height: auto;
    height: 25vh;
    width: 100%;
    object-fit: cover;
}

footer ul{
    list-style-type: none;
}

footer li a{
    vertical-align: middle;
    color: white;
}

footer li a:hover{
    color: var(--mint);
}

footer .row div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer{
    height: 20rem;
    background-color: var(--purple);
    color: white;
    display: flex;
    margin-top:auto; 
}

@media only screen and (max-width: 1199px) {
    .kandidujem-font-size{
        font-size: 1.1rem;
    }

    .about-font-size{
        font-size: 1rem;
    }
}

@media only screen and (min-height: 1130px) {
    .bg-purple{
        min-height: 100vh;
    }
}

@media only screen and (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown .dropdown-menu {
        display: none;
    }

    .dropdown:hover .dropdown-toggle::after {
        border-bottom: 0.3em solid;
        border-top: 0;
    }

    .navbar .navbar-nav > .nav-item:after {
        position: absolute;
        bottom: 0.5vh;
        left: 0;
        right: 0;
        margin: auto;
        background-color: var(--mint);
        width: 0%;
        content: "";
        height: 4px;
        transition: all 0.5s;
    }

    .navbar .navbar-nav .nav-item:hover::after {
        width: 100%;
    }

    .dropdown-menu{
        border: none;
        background-color: var(--purple);
    }

    .dropdown-item:hover{
        background-color: var(--blup)!important;
    }

    .shadow-custom{
        box-shadow: 10px 10px rgba(0,0,0,.15);
    }

    footer .col-12:not(:last-child){
        border-right: 1px solid gray;
    }
}

@media screen and (max-width: 991px) {
    .dropdown-toggle.show::after {
        display: none;
        border-top: 0;
        border-bottom: 0.3em solid;
    }

    .dropdown-toggle::after{
        display: none;
    }

    #name{
        left: 40%;
    }

    .bg-purple{
        background-image: url(assets/images/bg-purple-sm.jpg);
        height: auto;
    }

    .about-height{
        height: auto
    }

    /*//////////////////zvyraznenie///////////////*/
    .navbar .navbar-nav .nav-link{
        color: #000000;
        font-size: 1.1em;
    }

    .navbar .navbar-nav .nav-link:hover {
        color: var(--mint);
    }

    #image-main{
        height: auto;
    }

    footer{
        height: auto;
        padding-bottom: 2rem;
        padding-top: 2rem;
    }

    footer .col-12:not(:last-child){
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    .post-thumb{
        display: none!important;
    }

    .article-border{
        width: calc(100vw - 1rem);
    }
}

@media (min-width: 768px) {
    nav{
        height: 100%;
    }
}

@media (max-width: 576px) {
    #image-wrapper{
        width: 100%;
        height: 50%;
        top: 10%;
    }

    #image-main{
        left: -15%;
    }

    #heading{
        width: 100%;
        bottom: 15%;
        left: 0;
        right: 0;
    }

    .name-font{
        font-size: 1.4rem!important;
    }
}

@media (max-width: 576px) {
    .section{
        height: 50vh;
    }
}