@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700&display=swap');

:root {
    --black-text: rgba(47, 59, 81, 1);
    --dark-blue: #162560;
    --yellow: #FFB800;
    --red: #EC4A39;
    --background: #FAFAFA;
    --menu: rgba(250, 250, 250, 0.88);
    --grey: #CFD2DE;
    --light-grey: #E1E1E1;
    --homecolor: #CFD2DE;
    --blue: #0046C3;
    --bordercolor: rgba(207, 210, 222, 0.5);
}

html {
    scroll-behavior: smooth;
    background-color: var(--background);
    min-width: 280px;
}
  

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    color: var(--black-text);
}

#content {
    display: block;
    padding: 0 64px 0 64px;
}

#contentMenu {
    display: none;
}


a:link {
    color: var(--black-text);
}

#menu {
    display: flex;
    justify-content: space-between;
    padding: 0px 64px 0px 64px;
    height: 72px;
    width: calc(100vw - 128px);
    position: fixed;
    z-index: 1;
    top: 0;
    font-size: 18px;
    line-height: 36px;
    background: var(--menu);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

#leftMenu {
    display: inline-flex;
    align-items: center;
}

#leftMenu a {
    display: flex;
}

#rightMenu {
    display: inline-flex;
    align-items: center;
}

#contacts {
    display: inline-flex;
    align-items: center;
}


#leftMenu span {
    display: inline-flex;
    align-items: center;
    height: 36px;
}

#rightMenu span {
    display: inline-flex;
    align-items: center;
    height: 36px;
}

#rightMenu svg {
    margin: 2px 0px 0px 16px;
    fill: var(--black-text);
}

#menuMobile {
    display: none;
}

#contactsMobile {
    display: none;
}

#contactsMobile a {
    display: contents;
}

#contactsMobile span {
    display: inline-flex;
    align-items: center;
    height: 36px;
}

#contactsMobile .img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-image: url(img/telegram-gr.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    opacity: 0.88;
}

#contactsMobile a:hover .img {
    background-image: url(img/telegram-color.png);
    opacity: 1;
}

#contacts span {
    display: inline-flex;
    align-items: center;
    height: 36px;
}

#contacts .img, #contentMenu .img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position:0 0;
}

#tg {
    background-image: url(img/telegram-gr.png);
    opacity: 0.88;
}

a:hover #tg {
    background-image: url(img/telegram-color.png);
    opacity: 1;
}

#gmail {
    background-image: url(img/gmail-gr.png);
    opacity: 0.88;
}

a:hover #gmail {
    background-image: url(img/gmail-color.png);
    opacity: 1;
}

#drb {
    background-image: url(img/dribbble-gr.png);
    opacity: 0.88;
}

a:hover #drb {
    background-image: url(img/dribbble-color.png);
    opacity: 1;
}

a:hover span {
    color: var(--dark-blue);
}

#contacts a {
    display: contents;
}

a {
    text-decoration: none;
}

a:visited {
    color: var(--black-text);
}

a.enabled {
    opacity: 0.4;
}

a.disabled {
    font-weight: 600;
    color: var(--dark-blue);
}

#homelink svg, #homelinkMobile svg {
    width: 16px;
    height: 16px;
}

#homelink.disabled svg, #homelinkMobile.disabled svg {
    fill: var(--dark-blue);
}

#homelink.enabled:hover svg, #homelinkMobile.enabled:hover svg {
    opacity: 1;
    fill: var(--dark-blue);
}

#homelink.enabled svg, #homelinkMobile.enabled svg {
    fill: var(--homecolor);
}

#sun, #sun svg {
    width: 16px;
    height: 16px;
    fill: var(--dark-blue);
}

#sun.disabled svg {
    fill: var(--grey);
    opacity: 0.24;
}

#moon, #moon svg {
    width: 16px;
    height: 16px;
    fill: var(--grey);
}

#moon:hover svg, #moon:hover {
    fill: var(--dark-blue);
    cursor: pointer;
}

#moon.enabled:hover, #moon.enabled:hover svg {
 cursor: auto;
 fill: var(--grey);

}

#sun.disabled:hover, #sun.disabled:hover svg {
    opacity: 1;
    cursor: pointer;
}

#leftMenuTheme {
    gap: 16px; 
    margin-top: 2px;   
}

#mobileLang:hover {
    cursor: pointer;
}

#leftMenuLang {
    gap: 16px; 
}

#leftMenuLang a:hover {
    cursor: pointer;
    opacity: 1;
    color: var(--dark-blue);
}

#hello {
    margin-top: 20vh;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hello p {
    max-width: 720px;
    margin-top: 36px;
}

#hello img {
    width: 48px;
    height: 48px;
}

#hello svg, .progress svg, .svglink {
    fill: var(--dark-blue);
    margin: 0 4px 2px 6px;
    transform: rotate(-45deg);
}


#hello a {
    border-bottom: solid 1px var(--black-text);
    display: initial;
}

#hello a:hover {
    border-bottom: solid 0px var(--black-text);
}

.separator {
    margin: 0px 24px 0px 24px;
    font-size: 32px;
    line-height: 36px;
    color: var(--black-text);
    opacity: 0.2;
}

.projectTitle {
    height: 80vh;
    padding-top: 20vh;
    max-width: 600px;

}

#raiffeisen {
    color: var(--yellow);
}

#jetstyle {
    color: var(--red);
}

#forapp {
    color: var(--blue);
}

.projectName {
    font-size: 128px;
    line-height: 160px;
    font-weight: 700;
    margin: 0px 0px 0px -8px;
}

.circle {
    position: absolute;
    bottom: 4vh;
    width: 134px;
    height: 134px;
}

.round {
    fill: var(--dark-blue);
}

.circle .round {
    position: absolute;
    animation: rotate-animation 20s infinite linear;
  }

.circle:hover .round {
    animation: rotate-animation-hover 20s infinite linear;
    cursor: pointer;
}

p {
    margin: 0;
    font-size: 24px;
    line-height: 36px;
}

.progress {
    display: flex;
    flex-wrap: wrap;
    gap: 6%;
}

.progress p {
    width: 47%;
}

.progress a {
    border-bottom: solid 1px;
    display: initial;
}

.progress a:hover {
    border-bottom: none;
}

/* галерея проекта */

.pictures {
    margin-top: 32px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-evenly;
    justify-content: flex-start;
    column-gap: 4%;
    padding-bottom: 72px;
}

.aboutPic {
    font-size: 24px;
    line-height: 36px;
    margin-top: 32px;
    width: 100%;
}

.aboutPic2 {
    text-align: right;
}

.aboutMe {
    margin-top: 48px;
}

.image {
    max-width: 48%;
    display: flex;
    flex-direction: column;
}

.personal {
    display: flex;
    flex-direction: column;
    row-gap: 64px;
}

.pers {
    display: flex;
    flex-direction: row;
    column-gap: 64px;
}

.double {
    flex-direction: row-reverse;
}

.myphoto {
    max-width: 900px;
}


.image img {
    max-width: calc(100% - 48px);
    padding: 24px;
    border: solid 1px;
    border-color: var(--bordercolor);
    border-radius: 0px;
    filter: grayscale(1);
}

.pers img {
    max-width: calc(48% - 48px);
    padding: 24px;
    border: solid 1px;
    border-color: var(--bordercolor);
    border-radius: 0px;
    filter: grayscale(1);
}

.image img:hover {
    filter: grayscale(0);
}

.pers img:hover {
    filter: grayscale(0);
}

.projectTitle a {
    font-size: 24px;
    line-height: 32px;
}

.sitelink {
    margin-top: 24px;
}

.sitelink a {
    border-bottom: solid 1px var(--black-text);
    display: initial;
}

.sitelink a:hover {
    border-bottom: none;
}

.two {
    margin-top: 12vw;
}

/* -------------- */

.hrline {
    margin: 4vh 0px 4vh 0px;
    height: 1px;
    width: 100%;
    background-color: var(--bordercolor);
}

.help {
    padding: 64px 0 12px 0;
    line-height: 64px;
    font-size: 18px;
    color: var(--dark-blue);
    opacity: 0.32;
}

.bigarrow {
    margin-left: 48px;
    margin-top: 44px;
    position: absolute;
    fill: var(--dark-blue);
}

.bigarrow:hover {
    cursor: pointer;
}

#footer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 32px 0 32px 0;
}

#footer p {
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    opacity: 0.24;
}

#footer span {
    font-size: 18px;
    line-height: 32px;
}

#footerRaif:hover p, #footerRaif.active p {
    color: var(--yellow);
    opacity: 1;
}

#footerJet:hover p, #footerJet.active p {
    color: var(--red);
    opacity: 1;
}

#footerFor:hover p, #footerFor.active p {
    color: var(--blue);
    opacity: 1;
}

#footerFree:hover p, #footerFree.active p {
    color: var(--black-text);
    opacity: 1;
}


.wrapper {
    max-width: 100%;
    position: fixed;
    bottom: 4vh;
    z-index: -12;
  }

.wrapper p {
    display: inline;
    margin-top: 64px;
    margin-bottom: 24px;
    font-size: 288px;
    line-height: normal;
    font-weight: bold;
    color: var(--light-grey);
}
  
.marquee {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: marquee 48s linear infinite;
  }

#version {
    text-align: center;
    position: fixed;
    bottom: 24px;
    width: calc(100vw - 128px);
}

.tooltip {
    font-size: 18px;
    padding: 0 8px 0 8px;
    display: block;
    color: var(--background) !important;
    position: absolute;
    visibility: hidden;
    background-color: var(--black-text);
}

.tooltiplink:hover {
    cursor: pointer;
}

.tooltiplink:hover .tooltip {
    visibility: visible;
}

.tooltipborder {
    border-bottom: 1.5px dashed var(--black-text);
}
  
  
  @keyframes marquee {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }

@keyframes rotate-animation {
	0% {
		transform: rotate(0deg);
  }
	100% {
		transform: rotate(360deg);
	}
}

@keyframes rotate-animation-hover {
	0% {
		transform: rotate(0deg);
  }
	100% {
		transform: rotate(-360deg);
	}
}


@media screen and (max-width: 1400px) {

    #contacts {
      display: none;
    }

    #contactsMobile {
        display: inline-flex;
        align-items: center;
    }

  }

@media screen and (max-width: 880px) {

    .aboutMe {
        margin-top: 0;
    }


    .pers {
        flex-direction: column;
    }

    #leftMenu {
        display: none;
    }

    #rightMenu {
        display: none;
    }

    #contactsMobile {
        display: none;
    }

    #contacts {
        display: none;
    }

    #menuMobile {
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: space-between; 
    }

    .arrow {
        display: block;
    }

    .cross {
        display: none;
    }

    .menuMobile:hover {
        cursor: pointer;
    }

    #mobileMode svg {
        fill: var(--dark-blue);
    }

    #mobileMode:hover, #mobileMode:hover svg {
        cursor: pointer;
    }

    #menuMobile span, a {
        display: inline-flex;
        align-items: center;
        height: 36px;
    }


    .menuMobile svg {
        margin: 3px 0px 0px 16px;
        fill: var(--black-text);
    }

    #menu {
        padding: 0px 32px 0px 32px;
        height: 64px;
        width: calc(100vw - 64px);
    }

    #version {
        width: calc(100vw - 40px);
        bottom: 8px;
    }

    #content {
        padding: 0 20px 0 20px;
    }

    #hello {
        margin-top: 16vh;
    }

    #hello p {
        font-size: 20px;
        margin-top: 24px;
    }

    #hello svg, .progress svg, .svglink {
        fill: var(--dark-blue);
        margin: 0 4px 0px 6px;
        transform: rotate(-45deg);
    }

    .projectName {
        font-size: 64px !important;
        line-height: 80px !important;
        line-height: 80px !important;
        margin: 0 0 0px -2px !important;
    }

    .projectTitle p {
        font-size: 18px;
        line-height: 28px;
    }

    .projectTitle a {
        font-size: 18px;
        line-height: 28px;
    }

    .sitelink {
        margin-top: 16px;
    }

    .progress p {
        font-size: 18px;
        line-height: 28px;
    }

    .round {
        width: 100px;
        height: 100px;
    }

    .bigarrow {
        margin-left: 32px;
        margin-top: 0px;
    }

    .circle {
        bottom: 0vh;
    }

    #contentMenu {
        position: absolute;
        bottom: 24px;
        display: flex;
        flex-direction: column;
        gap: 10vh;
        margin-top: 32px;
        margin-left: 24px;
    }

    #contentMenu img {
        width: 48px;
        height: 48px;
        position: absolute;
        bottom: 0;
        right: 24px;
    }

    #contentMenu #footer {
        margin: 0;
    }

    #contentMenu #footer a {
        margin: 0;
    }

    .blockMenu {
        display: flex;
        flex-direction: column;
    }

    #contentMenu span {
        display: inline-flex;
        align-items: center;
        font-size: 18px;
        line-height: 24px;
    }


}

@media screen and (max-width: 880px) { 

    .pers img {
        max-width: 100%;
    }


    .aboutPic2 {
        text-align: left;
    }

    #footer {
        flex-wrap: wrap;
        gap: 16px;
    }

    .contentMenu #footer {
        flex-direction: column;
    }

    #footer a {
        margin-bottom: 16px;
        height: auto;
        width: 47%;
    }

            /* галерея проекта */

            .pictures {
                gap: 64px;
                margin-top: 16px;
            }
        
            .aboutPic {
                font-size: 18px;
                line-height: 32px;
                margin-top: 24px;
            }
        
            .image {
                max-width: 100%;
            }
        
        
            .image img {
                max-width: calc(100% - 48px);
                padding: 24px;
            }

            .two {
                margin-top: 0;
            }
        
        
            /* -------------- */
}

@media screen and (max-width: 352px) { 

    #footer {
        flex-direction: column;
        gap: 16px;
    }

    #footer a {
        height: auto;
        margin: 0;
    }

    .separator {
        margin: 0;
    }

}

@media screen and (max-height: 460px) { 

    .circle {
        display: none;
    }

    .projectTitle {
        padding-top: 30vh;
    }

    .wrapper {
        display: none;
    }

    #hello img {
        display: none;
    }
}