html, body{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'Aleo', serif;
    font-size: 17px;
    line-height: 1.5em;
    scroll-behavior: smooth;
}

/* * {
    background: #000 !important;
    color: #0f0 !important;
    outline: solid #f00 1px !important;
  } */

:root{
    --main-color-theme: #8AA29E;
    --main-color-white: #fff;
    --main-color-black: #373a40;
    --main-color-accent: #DB5461;
}

@media screen and  (max-width: 767px){
    .container{
        margin-left: 0%;
        margin-right: 0%;
    }
}

@media screen and  (min-width: 75em){
    .container{
        width: 71rem;
        margin: auto;
    }
}

.row{
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.img-fluid {
    border-radius: 50%;
    object-fit: cover;
    padding-top: 0;
    padding-left: 0;  
}

.color-text{
    color: var(--main-color-theme);
}

.img-90{
    width: 90%;
}
.img-80{
    width: 80%;
}
.img-70{
    width: 70%;
}
.img-60{
    width: 60%;
}
.img-50{
    width: 50%;
}
.img-40{
    width: 40%;
}
.img-30{
    width: 30%;
}
.img-20{
    width: 20%;
}
.img-10{
    width: 10%;
}

.img-margin-10{
    margin-top: 10px;
}
.img-margin-20{
    margin-top: 20px;
}
.img-margin-30{
    margin-top: 30px;
}

/* Navbar */

header{
    position: fixed;
    width: 100%;
    z-index: 1;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--main-color-theme);
    color: var(--main-color-white);
    text-transform: uppercase;
}

.title{
    font-size: 1.5rem;
    margin: 1rem;
    max-width: 50%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.navbar-links{
    margin-right: 3rem;
}

.navbar-links ul{
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-links li {
    list-style: none;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-links li a{
    text-decoration: none;
    color: var(--main-color-black);
    display: block;
    border-bottom: var(--main-color-theme) 2px solid;
    border-top: var(--main-color-theme) 2px solid;
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    -o-transition: color 1s ease;
    transition: color 1s ease;
}

.navbar-links li a:hover{
    color: var(--main-color-white);
    border-bottom: var(--main-color-white) 2px solid;
    border-top: var(--main-color-white) 2px solid;
}

.navbar-links li a.current{
    color: var(--main-color-white);
    border-bottom: var(--main-color-white) 2px solid;
    border-top: var(--main-color-white) 2px solid;
}

.toggle-button{
    position: absolute;
    display: none;
    right: 1rem;
    text-decoration: none;
    color: var(--main-color-black);
    margin-right: 1.5rem;
    margin-top: 0.7rem;
}

@media screen and  (max-width: 767px){
    .toggle-button{
        display: flex;
    }
    .navbar-links{
        width: 100%;
        display: none;
    }
    .navbar{
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-links ul{
        width: 100%;
        flex-direction: column;
    }
    .navbar-links li{
        text-align: center;
        padding-left: 0rem;
        padding-right: 0rem;
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
    }
    .nav-icon2{
        display: none;
        color: var(--main-color-white);
    }
    .nav-icon1:hover{
        color: var(--main-color-white);
        -webkit-transition: color 1s ease;
        -moz-transition: color 1s ease;
        -o-transition: color 1s ease;
        transition: color 1s ease;
    }
    .navbar-links.active{
        display: flex;
    }
    .toggle-button.active .nav-icon2{
        display: flex;
    }
    .toggle-button.active .nav-icon1{
        display: none;
    }
}

/* Main */

#Main{
    color: var(--main-color-theme);
    padding: 10px 10px;
    min-height: 500px;
    padding-top: 200px;
}

#Main .fab, #Main .ai{
    font-size: 40px;
    text-decoration: none;
    color: var(--main-color-theme);
    padding-top: 0;
    padding-left: 10px;
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    -o-transition: color 1s ease;
    transition: color 1s ease;
}

#Main .fab:hover, #Main .ai:hover{
    color: var(--main-color-accent);
}

.small-screen-title{
    display: none;
    position: relative;
    justify-content: center;
    width: 100%;
}

.small-screen-title-content{
    text-align: center;
    font-size: 30px;
}

.big-screen-title{
    display: flex;
    position: relative;
    margin-right: 20px;
}

.big-screen-title-content{
    text-align: right;
    font-size: 40px;
}

.row-cricle{
    position: relative;
    display: flex;
    margin-right: 30px;
}

@media screen and (max-width: 767px){
    .small-screen-title{
        display: inherit;
    }
    .big-screen-title{
        display: none;
    }
    #Main{
        padding-top: 50px;
        min-height: 500px;
    }
    .row-cricle{
        width: 100%;
        margin: auto;
        justify-content: center;
    }
}

.main-accent{
    text-transform: uppercase; 
    color: var(--main-color-accent);
}

.circle {
    width: 300px;
    height: 300px;
    display: flex;
    border-radius: 50%;
    background-image: url('../images/profiles/Bartlomiej-Nowak.jpg');
    background-size: 300px 300px;
    background-repeat: no-repeat;
}
  
.menu {
    list-style-type: none;
    padding: 0;
    display:grid;
    margin:auto;
}

.menu li {
    --d:200px;
    grid-area:1/1;
    transform:rotate(var(--r)) translateX(var(--d)) rotate(calc(-1*var(--r)));
}

.menu li:nth-child(1) { --r: -20deg} 
.menu li:nth-child(2) { --r: 0deg} 
.menu li:nth-child(3) { --r: 20deg}
.menu li:nth-child(4) { --r: 40deg}
.menu li:nth-child(5) { --r: 60deg}
.menu li:nth-child(6) { --r: 80deg}
.menu li:nth-child(7) { --r: 100deg}

.menu li a {
    display: block;
}
.menu li a img {
    width: 50px;
}

@media screen and (max-width: 767px){
    .menu li:nth-child(1) { --r: 110deg} 
    .menu li:nth-child(2) { --r: 90deg} 
    .menu li:nth-child(3) { --r: 70deg}
    .menu li:nth-child(4) { --r: 130deg}
    .menu li:nth-child(5) { --r: 50deg}
    .menu li:nth-child(6) { --r: 30deg}
    .menu li:nth-child(7) { --r: 150deg}
}

/* Section */

.body-sections{
    padding-top: 80px;
    padding-bottom: 30px;
}

.body-sections a{
    text-decoration: none;
    color: var(--main-color-accent);
    -webkit-transition: color 1s ease;
    -moz-transition: color 1s ease;
    -o-transition: color 1s ease;
    transition: color 1s ease;
}

.body-sections:nth-child(n){
    background: var(--main-color-black);
    color: var(--main-color-white);
}
.body-sections:nth-child(2n){
    background: var(--main-color-white);
    color: var(--main-color-black);
}

.body-sections:nth-child(n) a:hover{
    color: var(--main-color-white);
}

.body-sections:nth-child(2n) a:hover{
    color: var(--main-color-black);
}

.section-head{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.fa-rotate-by{
    --fa-rotate-angle: 5deg;
}

.section-head .fa-solid{
    font-size: 100px;
    margin-right: 40px;
}

.pub-column-left{
    width: 2%;
    margin: auto;
    display: flex;
    justify-content: center;
}

.pub-column-right{
    text-align: left;
    margin: 20px;
    border-left: 2px solid var(--main-color-white);
    padding-left: 10px;
    width: 80%;
}

.pub-column-right p{
    margin: 0;
}

@media screen and (max-width: 767px){
    .section-head{
        width: 100%;
        justify-content: center;
    }
    .pub-column-left{
        width: 100%;
    }
    .pub-column-right{
        width: 100%;
    }
}

/* Cards */

.card{
    border: 2px var(--main-color-theme) solid;
    height: 200px;
    position: relative;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 20%;
    min-width: 300px;
}

.img-icon {
    height: 50px;
    width: 50px;
    position: absolute;
    top: -30px;
    right: 10px;
    background: var(--main-color-white);
    border: 5px var(--main-color-white) solid;
}

.card-content{
    text-align: left;
    margin: 30px;
}

.card span{
    position:absolute;
    bottom: 10px;
    left: 30px;
}

/* Citation */

.citation{
    background-color: var(--main-color-black);
    color: var(--main-color-white);
    position: relative;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 95%;
    border-left: var(--main-color-white) 2px solid;
    border-bottom: var(--main-color-white) 2px solid;
    overflow: hidden;
}

.citation-content{
    text-align: left;
    margin-left: 30px;
    margin-top: 30px;
    margin-right: 10px;
    margin-bottom: 20px;
    padding-left: 130px;
}

.citation .fa-comment{
    font-size: 130px;
    position: absolute;
    top: -20px;
    left: -25px;
}

.citation .fa-sticky-note{
    font-size: 130px;
    position: absolute;
    top: -10px;
    left: -25px;
}

.pres-title{
    font-style: italic;
}

/* Footer */

#main-footer{ /* color i tlo dla stopki */
    background: #8AA29E;
    color: #000;
}
#main-footer a{ /* ustawienia linkow w stopce */
    text-decoration: none;
    color: #000;   
    -webkit-transition: color 1s ease; /* przejscie coloru sekunda, gladkie */
    -moz-transition: color 1s ease;
    -o-transition: color 1s ease;
    transition: color 1s ease;
}
#main-footer a:hover{ /* po najechaniu mysza zmien kolor na czarny */
    color: #F1EDEE;
}
.foot{
    justify-content: center;
}