@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Roboto+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+DW+Pica:ital@1&display=swap');

@viewport {
    width: device-width;
    zoom: 1.0;
}

@media (max-width: 800px) {
    .flex-container {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .profiletext {
        font-size: 14px;
        line-height: 2;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .about {
        font-family: 'Roboto', sans-serif;
        font-size: 17px !important;
    }

}

::selection {
    background-color: #970747;
    color: white;
}

body {
    margin: 0;
    width: device-width;
    text-decoration: none;
}

.skills {
    background-color: #fcefdd;
    padding: 15px;
    text-align: center;
}

.contacts {
    background-color: white;
    padding-top: 25px;
    padding-bottom: 0;
    text-align: center;
}

.projects {
    background-image: linear-gradient(to right, #0172AF, #74febd);
    padding: 20px;
}

.experiance {
    background-color: #96cede;
    padding: 30px;
    text-align: center;
}

/* Nav */

.lang-bar {
    display: flex;
    flex-direction: row;
}

.handle {
    border: none;
    align-content: center;
    background-color: #970747;
    padding: 5px;
    height: 60px;
    width: 60px;

    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}

.lang-bar {
    overflow: hidden !important;
    position: absolute;
    transition: right 0.3s ease;
    right: -150px;
    top: 280px;
}

.lang-body {
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #208db4b3;
    height: 80px;
    width: 150px;
}

.lang {
    color: white;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 5px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #970747;
}

input:focus+.slider {
    box-shadow: 0 0 1px #970747;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}



/*Intro*/

.intro-img {
    text-align: center;
    padding: 0px;
    max-width: 110%;
    height: auto;
}

.intro {
    overflow: hidden;
    position: relative;
    text-align: center;
    background-color: #96cede;
    padding: 70px;
}

h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 45px;
}

.job span {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
}

/*Profile and bio*/

.flex-container {
    padding: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}


.profiletext {
    padding: 2rem;
    width: 50%;
    text-align: right;
    line-height: 1.5;
}

.profilepic img {
    margin: 2rem;
    border: solid black;
    max-height: 300px;
    width: auto;
    border-radius: 6px;
}

/*Skillek*/
.skills h5 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 30px;
    margin: 20px;
}

.skills .icons {
    margin: 20px;
}

/*Contacts*/

.contacts h5 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 30px;
    padding-left: 2rem;
    padding-right: 2rem;

}

.contacticons {
    padding: 30px 10px 20px 10px;
}

.contacticons a {
    transition: 1s ease-in-out;
    margin: 10px;
}

.contacticons a:hover {
    transform: scale(1.1);
}

/*Projektek 1(külső)*/

.projectsgrid {
    overflow: hidden;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 310px;
    justify-items: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.projectsgrid a {
    text-decoration: none;
}

/*Projektek 2(belső)*/

.project {
    background-color: black;
    border-radius: 30px;
    padding: 5px;
    transition: all 0.5s ease-in-out;
    margin: 1rem;
}

.projects h5 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 30px;
    text-align: center;

}

h6 {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 56px;
    color: #000000;
    text-align: center;
}

.tech-stack {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    padding-top: 15px;
}

.deskription {
    margin: 20px;
}

.corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.rigth-top-corner {
    left: auto;
    right: 0;
    transform: rotate(90deg);
}

.left-bottom-corner {
    top: auto;
    bottom: 0;
    transform: rotate(-90deg);
}

.github-icon {
    position: absolute;
    right: 8px;
    top: 8px;
}

.link-icon {
    position: absolute;
    bottom: 8px;
    left: 8px;
}

.kard {
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 300px;
    width: 300px;
    box-shadow: 0px 2px 21px rgba(0, 0, 0, 0.25);
    background-color: #e9ecef;
    color: black;
}

@media (max-width: 300px) {
    .kard {
        height: 200px;
        width: 200px;
    }
}

.deskr {
    padding: 30px;
}


.project:hover {
    box-shadow: 0px 0px 15px 12px rgba(151, 7, 72, 0.921);
}


/*Kurzusok*/

.experiance h5 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 30px;
    text-align: center;
}

.pages {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

#courses {
    text-align: center;
    background-color: white;
    padding: 30px;
}

.coursebtn {
    text-decoration: none;
    display: inline;
    border-radius: 8px;
    font-family: 'Roboto Condensed', sans-serif;
    color: white;
    font-size: 28px;
    background-color: #970747;
    padding: 10px 20px 10px 20px;

    background-image: linear-gradient(-60deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.44) 40%, rgba(255, 255, 255, 0.44) 60%, transparent 60%, transparent 100%);
    background-size: 200% 100%;
    background-repeat: no-repeat;

    background-position-x: 150%;

}

.coursebtn:hover {
    background-position-x: -150%;
    transition: background-position-x 1000ms;

    /* background: #a73066;
    text-decoration: none; */
}

.projectbtn {
    text-decoration: none;
    display: inline;
    -webkit-border-radius: 8;
    -moz-border-radius: 8;
    border-radius: 8px;
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 20px;
    background: #57c2e9;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    text-overflow: clip;
    overflow-wrap: break-word;
}

@media (max-width: 800px) {
    .coursebtn {
        width: 70%;
        font-size: 20px;
    }
}

@media (max-width: 800px) {
    .projectbtn {
        width: 70%;
        font-size: 20px;
    }
}

.projectbtn:hover {
    background: #57c2e9a6;
    text-decoration: none;
}

/*Gomb*/

.button {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    text-decoration: none;
    color: white;
    margin: 1rem;
}

@media (max-width: 800px) {
    .button {
        margin: 5px;
    }
}

.fa-graduation-cap {
    padding-right: 0.5rem;
}

.fa-code {
    padding-right: 0.5rem;
}

/*Lábjegyzet*/

footer {
    background-color: black;
    color: white;
    margin: 0;
    text-align: center;
    font-weight: bolder;
    font-family: 'Roboto Condensed', sans-serif;
}

footer p {
    justify-content: center;
    margin: 0;
    padding: 7px;
}

@media (max-width: 800px) {
    footer {
        font-size: 1rem;
    }
}

/*Tanulmányok*/

.list-group-flush {
    padding: 25px;
}

.list-group-item {
    font-size: 16px;
    padding: 10px;
}