* {

    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    height: auto;
    font-family: Helvetica Neue, sans-serif;

}

body {
    background-color: #141414;
}

a {
    color: inherit;
    text-decoration: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
}

p, span {
    color: inherit;
    font-weight: 400;
    line-height: 32px;
    text-decoration: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
}

footer {
    display: block;
}

.footerDiv {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    padding-bottom: 0.3rem;
    padding-top: 2rem;
    margin-bottom: 0rem;
    justify-content: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
}

.footerTitle {
    display: block;
    text-decoration: none;
    font-size: 17px;
    letter-spacing: 1.3px;
    box-shadow: none;
    font-weight: 500;
    color: rgb(168, 173, 178);
    line-height: 1.5rem;
}

.footerTitle:hover {
    color: #4287f5
}

.footerLogos {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex: 1;
    max-width: 36rem;
    font-size: 18px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 12px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -webkit-flex: 1;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end
}

.footerLogo {
    box-shadow: none;
    margin-left: 1rem;
    color: #a8adb2;
}

.footerLogo:hover {
    color: #4287f5
}

.footerLogo:hover .tooltipText {
    visibility: visible;
}

.page {
    margin: auto;
    max-width: 47.5rem;
    padding: 1.5rem 1.45rem;
    font-size: 1.1rem;
    line-height: 34px;
    letter-spacing: 0.9px;
}

.infoCard {
    display: flex;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    line-height: 2.8rem;
    justify-content: center;
    align-items: center;
}

.infoCardPortrait {
    width: 142px;
    height: 142px;
    min-width: 142px;
    border: 1px solid #a8adb2;
}

.infoCardText {
    margin-left: 2.2rem;
    line-height: 2.7rem;
    margin-top: 5px;
}

.infoCardName {
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #eef5fc;
    font-size: 28px;
}

.infoCardBio {
    letter-spacing: 0.03em;
    color: #a8adb2;
    font-size: 20px;
}

.articlesListTitle {
    font-size: 1rem;
    letter-spacing: 0.03em;
    color: #eef5fc;
}

.articlesListTitle:hover {
    color: #4287f5;
}

.articlesListDetails {
    color: #a8adb2;
    font-size: 0.9rem;    
}

.articlesListCard {
    line-height: 1.5rem;
}

.postName {
    margin: 0 0 10px 5px;
    display: flex;
}

.postNameTitle {
    margin: 0 10px 0 0;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #a8adb2;
    font-size: 25px;
}

.postNameTitle:hover {
    cursor: pointer;
}

.postNameTitle.active {
    color: #eef5fc;
}

.postContainer {
    display: none;
    gap: 10px;
}

.postContainer.active {
    display: grid;
}

.post {
    background-color: #313131;;
    transition: transform 0.3s;
    padding: 10px;
}

.post:hover {
    transform: scale(1.05);
}

.postTitle {
    font-size: 1.3em;
    color: #eef5fc;
    margin: 10px 10px 0 10px;
    max-width: 680px;
}

.postContent {
    font-size: 1em;
    color: #dde1e7;
    line-height: 1.5;
    margin: 0 10px 10px 10px;
    max-width: 680px;
}

.nav {
    display: block;
    position: relative;
    top: 0px;
    right: 0px;
    left: 0px;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

.navButtons {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.navTitle {
    display: block;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1.9px;
}

.titleText {
    box-shadow: none;
    font-weight: 700;
    text-align: center;
    line-height: 0.5rem;
    font-family: "system-ui", Roboto, "Helvetica Neue", sans-serif;
    letter-spacing: 0.1em;
    color: #a8adb2;
}

.titleText:hover {
    color: #4287f5
}

.links {
    display: flex;
    max-width: 34rem;
    font-size: 18px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex: 1 1 0%;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
    color: #a8adb2;
}

.linkButton {
    box-shadow: none;
    margin-left: 1.4rem;
}

.linkButton:hover {
    color: #4287f5
}

.aboutTitleSection {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aboutTitle {
    font-size: 26px;
    color: #eef5fc;
}

.aboutSectionSubtitle {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-family: Roboto Mono, sans-serif;
    font-weight: 700;
    letter-spacing: .12em;
    padding-bottom: .2rem;
    color: #eef5fc;
}

.aboutSection {
    font-size: 1.1rem;
    color: #dde1e7;
    font-weight: 400;
    line-height: 32px;
}

.aboutSectionText {
    display: block;
    word-wrap: break-word;
}

.aboutSectionTextLink {
    box-shadow: inset 0 0 0 0 #22608a;
    color: #4287f5;
    transition: color .5s ease-in-out, box-shadow .5s ease-in-out;
}

.aboutSectionTextLink:hover {
    box-shadow: inset 200px 0 0 0 #22608a;
    color: white;
}

.aboutButton {
    background-color: #272727;
    border: 1px solid transparent;
    border-radius: .75rem;
    box-sizing: border-box;
    color: #eef5fc;;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none #6B7280 solid;
    text-decoration-thickness: auto;
    transition-duration: .2s;
    transition-property: background-color,border-color,color,fill,stroke;
    transition-timing-function: cubic-bezier(.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: auto;
    height: 45px;
    unicode-bidi: isolate;
}

.aboutButton:hover {
  background-color: #4287f5
}

.aboutButton:focus {
  box-shadow: none;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.project {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.project:hover {
    transform: scale(1.05);
}

.projectsCard {
    background-color: #313131;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 200px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.projectsCard h3 {
    margin: 0;
    color: #eef5fc;
}

.projectsCard p {
    margin: 0 0;
    color: #dde1e7;
    display: block;
    line-height: normal;
}

.projectsCardContent {
    text-align: left;
}

.projectsCardImg {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: 0;
}

.contactsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.contactsCard {
    background-color: #313131;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 90px;
    padding: 20px;
    margin-bottom: 10px;
    margin-left: 10px;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contactsCard:hover {
    transform: scale(1.05);
}

.contactsCard svg {
    width: 50px;
    height: 50px;
    margin-right: 15px;

}

.contactsCard h3 {
    margin: 0 0;
    color: #eef5fc;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltipText {
    visibility: hidden;
    color: #a8adb2;
    width: 75px;
    font-size: 15px;
    background-color: black;
    text-align: center;
    border-radius: 1px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -25.5px;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.carouselImages {
    display: flex;
    transition: transform 0.5s ease;
}

.carouselImages img {
    width: 100%;
    flex-shrink: 0;
}

button.carouselPrev, button.carouselNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
}

button.carouselPrev {
    left: 10px;
}

button.carouselNext {
    right: 10px;
}

button.carouselPrev:hover, button.carouselNext:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 770px) {
    .navButtons {
        display: block;
    }

    .titleText {
        display: block;
        margin: 0 auto;
    }

    .links {
        justify-content: center;
        display: block;
        margin: 10px auto;
        max-width: 20rem;
    }

    .infoCardPortrait {
        width: 101px;
        height: 101px;
        min-width: 101px;
        margin-top: 5px;
    }

    .aboutButton {
        height: 90px;
    }

    .infoCard {
        align-items: initial;
    }
}

::selection {
    background: #22608a;
    color: #fff;
}