@font-face {
    font-family: 'Integral CF Normal';
    src: url(./Resources/Fontspring-DEMO-integralcf-regular.otf);
}
@font-face {
    font-family: 'Integral CF Bold';
    src: url(./Resources/Fontspring-DEMO-integralcf-bold.otf);
}
@font-face {
    font-family: 'Akira';
    src: url(./Resources/Akira\ Expanded\ Demo.otf);
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;

    --color-shaded-white: #F5F5F5;
    --color-main-purple: #8338EC;
    --color-shade-purple: #55198B;
    --color-main-pink: #ff006e;
    --color-main-yellow: #ffbe0b;
}
main {
    height: 100vh;
}

header {
    height: 100vh;
    background-color: var(--color-shaded-white);
}
.title {
    font-family: 'Integral CF Normal'; 
    font-size:9vw;
    color: var(--color-main-purple);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    display: flex;
}
.title a::before {
    content: '';
    position: absolute;
    width: 17%; /* Adjust the width of the line as needed */
    height: 1vw; /* Adjust the line thickness as needed */
    background-color: var(--color-main-purple); /* Adjust the line color as needed */
    transform: translate(14%, 580%) rotate(-45deg);
}
.project-container {
    padding: 30px;
}
.projects img {
    display: block;
    max-width: 100%;
    
}
.content-left,
.content-right {
    max-width: 50%;
}

.projects {
    display: flex;
    width: 100%;
    margin: 10vw auto 10vw auto;
    color: white;
    text-align: center;
    font-family: 'Akira'; 
    font-size: 1.5em;
    max-width: 1500px;
    border-radius: 20px;
    overflow: hidden;
}
.content-title {
    font-size: 4vw;
    padding-top: 20%;
}
.content-description {
    font-size: 1.4vw;
    line-height: 2.2vw;
    margin: 2.4vw;
}
.content-description a {
    line-height: 4;
    padding: 10px;
    text-decoration: none;
    color: white;
    border: 5px solid white;
    border-radius: 250px;
}
.content-description a:hover {
    background-color: white;
    border-color: white;
}
#purple-cta:hover {
    color: var(--color-main-purple);
}
#pink-cta:hover {
    color: var(--color-main-pink);
}
#yellow-cta:hover {
    color: var(--color-main-yellow);
}


@media (min-width: 1500px) {
    .content-title {
        font-size: 2.5em;
        padding-top: 20%;
    }
    .content-description {
        font-size: 1em;
        line-height: 1.5;
        margin: 50px;
    }
    .title {
        font-size: 9em;
    }
    .title a::before {
        height: 15px;
        transform: translate(14%, 650%) rotate(-45deg);
    }
    .projects {
        margin: 80px auto 80px auto;
    }
}
@media (max-width: 880px) {
    .title {
        font-size: 5em;
    }
    .title a::before {
        height: 9px;
    }
    .projects {
        flex-direction: column;
        align-items: center;
    }
    .content-title {
        font-size: 5vw;
        padding-top: 10%;
        margin: auto;
    }
    .content-description {
        font-size: 2.5vw;
        line-height: 1.5;
        margin: 5vw 10vw auto 10vw;
    }
    .content-left,
    .content-right {
    max-width: 100%;
    }
    .content-right{
        order: 1;
        height: 70vw;
    }
    .content-left{
        order: 2;
        height: 70vw;
        overflow: hidden;
    }
    .content-left img{
        object-fit: contain;
    }
    .diffrent-picture {
        transform: translateY(-18vw);
    }
    .content-description a {
        padding: 8px;
        border: 2px solid white;
    }
}