/*METADATA*/
@media screen and (max-width: 768px) {
    #header,
    .aboutCardMain {
        width: 90% !important;
    }

    .projectsGrid {
        grid-template-columns: 1fr !important;
    }
}
html {
    scroll-behavior: smooth;
    scrollbar-color: #222 #0a0a0a;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 5px;
    border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

#en{
    display: none;
}

#sl{
    display: block;
}

#jezik:checked ~ #sl {
    display: none;
}

#jezik:checked ~ #en {
    display: block;
}

/*HEADER*/

#headerFull{
    width: 100%;
    background-color: #0a0a0a;
    position: sticky;
    top: 0;
    padding-bottom: 5px;
    padding-top: 1px;
    font-family: monospace;
}

#header {
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    color:white;
    font-size: 17px;
    margin: 0 auto;
    justify-content: space-between;
    width: 50%;
}

#header nav{
    display: flex;
    gap: 15px;
}

#header a,
#header a:visited {
    color: inherit;
    text-decoration: none;
}

/*MAIN*/

main{
    font-family: ui-monospace; 
}

#ozadje {
    flex: 1;
    color: white;
    background-color: #0a0a0a;
}

.quote {
    background-color: #0a0a0a;
    width: fit-content;
    margin: 0 auto;
    border-radius: 15px;
    border: solid 1px rgba(255, 255, 255, 0.3);
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 10px;
    padding-top: 10px;
}

#kontakt a,
#kontakt a:visited{
    color: inherit;    
}

.projectsGrid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.projectCard{
    background-color: #111;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.projectCard:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
}
    
.projectCard img {
    width: 60%;
    height: auto;
    border-radius: 4px;
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.projectCard:hover img {
    opacity: 1;
}


.odebeljen {
    color: white;
    opacity: 1;
    font-size: 20px;
}

.rahel {
    color: white;
    opacity: 0.7;
    font-size: 18px;
}

.mala {
    width: 30%;
}

.aboutCardMain{
    background-color: #111;
    border-radius: 15px;
    border: solid 1px rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 15px;
    width: 50%;
    height: auto;
    margin: 0 auto  ;
    display: flex;
    flex-direction: column;
}

.aboutCardBackground {
    background-color: white;
    display: flex;
    flex-direction: column;
    background: #000000;
    background: linear-gradient(148deg, rgba(0, 0, 0, 1) 0%, rgba(54, 54, 54, 1) 51%, rgba(0, 0, 0, 1) 100%);
    height: 120px;
    justify-content: end;
    align-items: center;
    border-radius: 15px;
    border: solid 1px rgba(255, 255, 255, 0.3);

}

.aboutCardAvatar {
    width: 150px;
    border-radius: 50%;
    background-color: rgb(0, 0, 0);
    border-style: solid;
    border-color: white;
    border-width: 1px;
    position: relative;
    z-index: 1;
    transform: translateY(50%);
}

.aboutCardContent {
    color: white;
    text-align: center;
    margin-top: 85px;
}

footer{
    font-family: monospace;
    margin-top: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 17px;
}

h2{
    text-align: center;
}

#buttonMail{
    display: flex;
    justify-content: center;
    margin: 20px 0;
    color: black;
    text-decoration: none;
    background-color: white;
    border: 1px solid white;
    padding: 5px 8px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
}