:root {
    --grey-verydark: #2E2F3C;
    --grey-dark: #DCDCE5;
    --grey: #67677E;
    --grey-light: #FAFAFC;
    --white: #FFFFFF;
    --main: #4046FF;
    --main-dark: #2D31B2;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--grey-light);
    color: var(--grey);
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'euclid';
}


a {
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--grey);
    line-height: 1.6;
}

h1{
    font-weight: 600;
}
h2,h3,h4{
    font-weight: 400;
}

main p{
    margin: 1rem 0;
}

#main-container {
    display: inline-flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}

header {
    display: flex;
    max-width: auto;
    width: 100%;
    height: 100vh;
    padding: 4rem;
    padding-right: 2rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
}

.header-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    align-self: stretch;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
}

.logo-wrapper img {
    display: flex;
    width: auto;
    height: 80px;
    justify-content: center;
    align-items: center;
}

.button-wrapper {
    display: flex;
}

.navigation {
    align-items: flex-start;
    align-self: stretch;
    flex-direction: column;
    gap: 1rem;
}

.contacts {
    justify-content: space-between;
    align-items: center;
    align-content: center;
    row-gap: 1.2rem;
    align-self: stretch;
    flex-wrap: wrap;
}

.primary-button {
    display: flex;
    padding: 0.6rem 1.4rem;
    justify-content: center;
    align-items: center;
    border-radius: 4rem;
    background: var(--main);
    color: var(--white);
    box-shadow: 0px 0px 30px 0px rgba(22, 22, 29, 0.05);
    font-size: 1.5rem;
    font-weight: 500;
    transition: background 0.3s;
}

.primary-button:hover {
    background: var(--main-dark);
}

.secondary-button {
    display: flex;
    padding: 0.6rem 1.4rem;
    justify-content: center;
    align-items: center;
    border-radius: 4rem;
    background: var(--white);
    color: var(--grey);
    box-shadow: 0px 0px 30px 0px rgba(22, 22, 29, 0.05);
    font-size: 1.5rem;
    font-weight: 500;
    transition: background 0.3s;
}

.secondary-button:hover {
    background: var(--grey-dark);
}

.social-icon-button {
    display: flex;
    width: 3.2rem;
    height: 3.2rem;
    justify-content: center;
    align-items: center;
    border-radius: 4rem;
    background: var(--white);
    color: var(--grey);
    box-shadow: 0px 0px 30px 0px rgba(22, 22, 29, 0.05);
}

.social-icon-button:hover {
    background: var(--grey-dark);
}

.social-icon-button img {
    height: 1.5rem;
}

.header-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
}

.social-icons {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
}

.signature {
    display: flex;
    padding: 8px 0px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 4rem;
    background: var(--white);
    box-shadow: 0px 0px 30px 0px rgba(22, 22, 29, 0.05);
}

main {
    display: flex;
    margin: 0 auto;
    height: 100vh;
    padding: 50px;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
    flex: 3;
    overflow-y: auto;
}

#collection {
    display: flex;
    padding-bottom: 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex: 1 0 0;
    align-self: stretch;
}

.card {
    display: flex;
    height: 26vh;
    gap: 1rem;
    align-items: flex-start;
    align-self: stretch;
    box-shadow: 0px 0px 30px 0px rgba(22, 22, 29, 0.05);
    border-radius: 2rem;
    overflow: hidden;
}

.compagny-container {
    display: flex;
    padding-left: 10%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
}

.compagny-container img {
    max-height: 100%;
}

.preview {
    display: flex;
    padding-top: 4rem;
    padding-right: 4rem;
    justify-content: flex-end;
    flex: 1 0 0;
    transition: padding-top 0.5s;
}

.card:hover .preview {
    padding-top: 3rem;
}

.preview img {
    max-width: 80%;
    height: auto;
    object-fit: cover;
}

#lcm1 {
    position: relative;
    cursor: pointer;
    font-weight: 600;
}

#lcm1::before {
    content: "Email copié 👋";
    background: var(--main);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4rem;
    font-size: 1rem;
    position: absolute;
    top: -1.8rem;
    visibility: hidden;
}

#lcm1.copied::before {
    visibility: visible;
    animation: fadein 2.5s;
    top: -3rem;
    opacity: 0;
}

@keyframes fadein {
    0% {
        top: -1.8rem;
        opacity: 0;
    }

    20% {
        top: -3rem;
        opacity: 1;
    }

    80% {
        top: -3rem;
        opacity: 1;
    }

    100% {
        top: -1.8rem;
        opacity: 0;
    }
}

footer {
    display: none;
}

.working-on-it {
    color: var(--grey-verydark);
    height: 100%;
    width: 100%;
    font-size: 1.3rem;
    font-weight: 400;
    display: flex;
    justify-content: start;
    align-items: center;
}

.aboutme {
    color: var(--grey);
    padding: 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.aboutme p {
    font-size: 1.1rem;
    max-width: 60ch;
}

.freelance {
    color: var(--grey);
    padding: 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.freelance p {
    font-size: 1.1rem;
    max-width: 60ch;
}

.mytools {
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0rem;
    color: var(--grey);
}

.mytools-container {
    display: flex;
    flex-flow: row wrap;
    gap: 0.8rem;
}

.tools-element {
    background: var(--white);
    border: solid 0.2rem var(--grey-dark);
    padding: 0.5rem;
    border-radius: 28%;
}

.tools-element img {
    height: 2.5rem;
    width: 2.5rem;
    object-fit: contain;
}

.whatilike {
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0rem;
    color: var(--grey);
}

.whatilike-element {
    background: var(--white);
}

.whatilike-element img {
    height: 2.5rem;
    width: 2.5rem;
    object-fit: contain;
}

#showuponload {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/*FONT*/
@font-face {
    font-family: 'euclid';
    src: url('font/euclid-circular-regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'euclid';
    src: url('font/euclid-circular-semibold.ttf');
    font-weight: 600;
}