﻿
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    outline: 0;
}

/**Overide bootstrap form-button-shadow*/
.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #050404;
    box-shadow: 0 0 0 0.25rem rgba(3, 3, 3, 0.25);
}

.form-select:focus {
    border-color: #050404;
    box-shadow: 0 0 0 0.25rem rgba(3, 3, 3, 0.25);
}

.form-check-input:focus {
    border-color: #080808;
    box-shadow: 0 0 0 0.25rem rgba(170, 8, 8, 0.25);
}

.form-check-input:checked {
    background-color: #b50909;
}

/* Výchozí styl odkazu */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: inherit;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body {
    color: white;
    background-color: white;
    font-family: "Play", system-ui;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Paytone One", sans-serif;
}

h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

h2, h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/*header classes*/
header {
    background-color: black;
    width: 100%;
    padding: 0;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgb(255, 255, 255); /*odstrani se*/
}

    header nav ul { /*pro header je jiná nez u footer*/
        display: flex;
        gap: 5rem;
    }

        header nav ul li {
            font-size: 1.4rem;
            color: white;
            font-weight: 700;
        }

            header nav ul li:hover {
                text-decoration: none;
                transform: scale(1.10);
            }
.logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: white;
    font-weight: 700;
    padding-left: 4rem;
}
    .logo:hover {
        text-decoration: none;
        transform: scale(1.10);
    }

nav ul {
    list-style-type: none;
    padding-right: 3rem;
    padding-top: 1rem;
}

nav a {
    text-decoration: none;
    color: inherit;
}

footer {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    font-size: 1.2rem;
    font-family: "Play", system-ui;
}

ul.arrow-list {
    list-style-type: none; /* Odstraní výchozí odrážky */
    padding: 0;
}

    ul.arrow-list li::before {
        content: "→"; /* Unicode znak pro šipku */
        padding-right: 3rem; /* Odsazení mezi šipkou a textem */
        color: white; /* Barva šipky */
        display: inline-block; /* Potřebné pro transformaci */
        transform: scale(1.5); /* Zvýšení velikosti šipky */
        line-height: 5rem; /* Udržení správné výšky řádku */
    }

.txt-center {
    text-align: center;
}


/*2 sections*/
.section-my-projects { /* section space */
    text-align: center;
    padding: 3.5rem 0rem;
}

.my-projects { /* heading */
    font-weight: 900;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.card-title {
    padding-bottom: 4.5rem;
}

    .card-title h1 {
        font-size: 3rem;
    }

.padding-btm-small {
    padding-bottom: 2rem;
}

.author-name {
    font-size: 4rem;
    background-image: linear-gradient(to bottom, rgba(131, 24, 238, 0.9) 80%, rgba(0, 0, 0, 0.929) );
    padding-left: 12rem;
    padding-bottom: 2rem;
}

.project-img {
    display: flex;
    justify-content: center;
    align-self: center;
    max-height: 100%;
    max-height: 600px;
    max-width: 100%;
}

.profile-photo {
    max-height: 50%;
}

/*content containers*/
.project-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
    padding: 5rem 4rem 5rem 4rem; /* UP Right Down Left */
    gap: 8rem;
    min-height: 800px;
    border-bottom: rgb(255, 255, 255) 1px solid;
}

    .project-preview-grid p {
        font-size: 2rem;
    }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
    gap: 1.4rem;
    padding: 5rem 4rem 2rem 4rem;
    min-height: 700px;
    height: 60vh;
}

    .info-grid p {
        font-size: 2rem;
    }

.short-about-me {
    display: grid;
    justify-content: flex-end;
    grid-template-columns: 50% 50%;
    box-sizing: border-box;
    gap: 1rem;
    padding: 5rem 8rem 2rem 8rem;
    min-height: 600px;
    height: 60vh;
}

    .short-about-me p {
        font-size: 1.6rem;
    }

.main-profile-photo {
    display: flex;
    height: 90vh;
}

.about-me-container {
    display: flex;
    justify-content: space-around;
    height: 950px;
    box-sizing: border-box;
    gap: 4rem;
    padding: 4rem 5rem;
}

    .about-me-container p {
        font-size: 1.4rem;
    }

.icon-container {
    display: flex;
    height: 80px;
    margin-top: 3rem;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

    .icon-container img {
        height: 80px;
        width: auto;
        object-fit: contain;
    }

    .icon-container a {
        display: inline-block; /* Aby se transformace vztahovala na obrázky v odkazech */
        transition: transform 0.5s ease; /* Přechod pro hladký efekt */
    }

        .icon-container a img:hover {
            transform: scale(1.2); /* Zvětší celý odkaz (včetně obrázku) při hoveru */
        }
/* Pokud chceš efekt na odkaz (jako transformaci), nastav styl na .icon-link */
.icon-link {
    display: inline-block; /* Aby se transformace vztahovala na obrázky v odkazech */
    transition: transform 0.5s ease; /* Přechod pro hladký efekt */
}

.icon-link img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.tool-container {
    display: grid;
    grid-template-columns: 40% 20% 30%;
    color: black;
    padding-left: 1rem;
    padding-bottom: 3rem;
}

/* items in grid */
.grid-col-span-2 {
    grid-column: span 2;
}

.card-height {
    height: 950px;
}

.contact-card-container {
    box-sizing: border-box;
    padding: 5rem 7rem;
}

.contact-card-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 600px;
    box-shadow: 7px 7px 9px -3px rgba(0,0,0,0.75);
    border-radius: 7px 7px 7px 7px;
}

.contact-right-form {
    padding: 3rem;
}

.contact-left-text {
    padding: 4rem 3rem;
}

    .contact-left-text p {
        font-size: 1.4rem;
        padding-top: 1.8rem;
    }

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0rem 4rem;
    text-align: left;
    border-radius: 7px 7px 7px 7px;
    box-shadow: 10px 17px 13px -8px rgba(0,0,0,0.75);
}

    .form-container h2 {
        padding: 1.2rem 0rem;
    }

.form-group {
    margin-bottom: 1.3rem;
}

.form-control {
    width: 100%;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
}

label {
    display: block;
    margin-bottom: 0.2rem;
    padding-left: 0;
}

input, textarea {
    display: block;
    width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
    margin: 0;
}

.icon-center {
    justify-content: center;
}

.btn-send-spacing {
    margin-bottom: 1.8rem;
}

.fe-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 7rem;
}

    .fe-icons img, .grid-icon img {
        max-height: 100%;
        width: auto;
    }

.grid-icon {
    display: flex;
    justify-content: center;
    height: 6rem;
    padding-bottom: 0.5rem;
}

.cs-icon {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 7rem;
}

    .cs-icon img {
        height: 120%;
    }

.item-empty {
    height: 6rem;
}

.title-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7rem;
}

    .title-tools h1 {
        font-size: 2.0rem;
    }

.btn {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 75%, rgba(0, 0, 0, 0.929));
    background-color: rgb(238, 195, 114);
    color: black;
    font-size: 2rem;
    padding: 0.3rem 2.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background-color 0.7s ease;
}

    .btn:hover {
        transform: scale(1.05);
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 70%, rgba(43, 7, 80, 0.9));
        color: black;
    }

    .btn img {
        height: 80%;
        max-width: 100%;
        object-fit: contain;
    }

.btn-purple {
    font-size: 1.6rem;
    padding: 0.3rem 2rem;
    color: white;
    background-color: rgba(131, 24, 238, 0.9); /* Fallback barva */
    background-image: linear-gradient(to bottom, rgba(131, 24, 238, 0.9) 70%, rgba(0, 0, 0, 0.929));
}


.btn-with-icon {
    display: inline-flex;
    align-items: center;
    height: 4rem;
}

.btn-space {
    margin: 4rem 0rem 0rem 6rem;
}

.github-icon {
    height: 100%;
    width: auto;
    margin-right: 1rem;
}

.red {
    background: red;
}

.green {
    background: green;
}

.bg-see-dark-through {
    background-color: rgba(0, 0, 0, 0.39);
}

.bg-gradient-1 {
    background: linear-gradient(215deg, rgba(125, 7, 62, 0.929) 15%, rgba(131, 24, 238, 0.9) 55%);
}

.bg-gradient-2 {
    background: linear-gradient(35deg, rgba(125, 7, 62, 0.929) 15%, rgba(131, 24, 238, 0.9) 55%);
}

.bg-white {
    background-color: #f9f9f9;
    color: black;
}

.bg-black {
    background-color: black;
    color: white;
}