@import url('https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

::selection {
    background-color: #F4F4F4;
    color: #0B0B0B;
}

body,
html {
    width: 100%;
    height: 100vh;
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    font-style: normal;
    background: #0B0B0B;
}

body {

    animation: fadeIn 0.8s ease-in-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 305px;
    height: 100vh;
    background: #0B0B0B;
    border-right: 1px solid #4E5053;
    color: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

#logo-sidebar {
    padding: 20px;
}

#line {
    border-bottom: 1px solid #4E5053;
}

.menu-icon {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
}

.menu-icon img {
    width: 30px;
    height: 30px;
}

#square1 {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #9A9DA2;
    margin-right: 10px;
    vertical-align: baseline;
}

nav ul {
    list-style: none;
    padding: 20px;
    gap: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

nav ul li a {
    color: #F4F4F4;
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
    transition: 0.3s;
    text-transform: uppercase;
}

.activate:hover {
    padding-left: 10px;
}

.contact {
    color: #F4F4F4;
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
    margin-top: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.contact:hover {
    margin-left: 10px;
}

.icon-arrow {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    margin-bottom: 3px;

    transition: 0.3s;
}

.contact:hover .icon-arrow {
    margin-right: 17px;
}

#square2 {
    display: none;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 20px;
    height: 20px;
    background: #4E5053;
    vertical-align: baseline;
}

.content {
    margin-left: 305px;
}

.main-content {
    height: 40%;
}

.projects {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

.text-right {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 34px;
    line-height: 107%;
    text-align: justify;
    color: #F4F4F4;
    padding: 15px 20px 15px 20px;
    gap: 25px;
}

.container {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    position: relative;
    border-bottom: 1px solid #4E5053;
}

.container div {
    display: flex;
    flex-direction: column-reverse;
}

.img {
    height: 60vh;
    max-width: 100%;
    height: auto;
    position: relative;
    cursor: pointer;

    transition: all 0.4s cubic-bezier(.84,0,.13,.98);
}

.img1 {
    margin-left: -15%;
    margin-bottom: -15%;
    transform: rotate(25.34deg);
    z-index: 0;
}

.img2 {
    max-width: 320px;   
    margin-left: 45%;
    margin-bottom: -65%;
    transform: rotate(-9.27deg);
    z-index: 3;
}

.img3 {
    margin-left: -25%;
    margin-bottom: -50%;
    transform: rotate(12.28deg);
    z-index: 2;
}

.img4 {
    max-width: 320px;
    margin-left: 45%;
    margin-bottom: -30%;
    transform: rotate(11.17deg);
    z-index: 1;
}

.img5 {
    margin-left: -20%;
    margin-bottom: -25%;
    transform: rotate(-17.29deg);
    z-index: 3;
}

.img6 {
    max-width: 400px;
    margin-left: 32%;
    margin-bottom: -50%;
    transform: rotate(-21.28deg);
    z-index: 0;
}

#square3 {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 20px;
    height: 20px;
    background: #4E5053;
    vertical-align: baseline;
}

.clients-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #4E5053;
}

.clients-texts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 10px 20px;
}

#square4 {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #9A9DA2;
    margin-bottom: 3px;
}

.clients-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 22px;
    line-height: 20%;
    color: #F4F4F4;
    text-transform: uppercase;
}

.clients-name {
    font-weight: 600;
    font-size: 45px;
    line-height: 110%;
    color: #F4F4F4;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

footer span {
    font-weight: 600;
    font-size: 22px;
    line-height: 29px;
    color: #F4F4F4;
}

@keyframes bounce {
    0% {
        transform: translateY(2px);
    }

    50% {
        transform: translateY(-2px);
    }

    100% {
        transform: translateY(2px);
    }
}

#btn-top {
    animation: bounce 1.5s cubic-bezier(.84,0,.13,.98) infinite;
    cursor: pointer;
}


.img:hover {
    transform: scale(1.06) rotate(-3deg);
}    