@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --main-color: #7C4EA6;
    --second-color: #FFFFFF;
    --title-color: #F0FE9A;
    --hover-color: #977DEF;
}


/* --------Header Section ---------------*/
body * {
    font-family: "Poppins";
}

body {
    margin: 0;
    box-sizing: border-box;
}


.container {
    height: 100vh;
    width: 100%;
    background-color: var(--main-color);
    border-bottom: 40px solid;
    border-right: 40px transparent;
    border-bottom: 40px transparent;
    position: relative;
    /* clip-path: path("M 0 0 L 600 0 L 500 400 L  0 600 L 0 600 L 00 Z"); */
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 85%);
}

.container {
    display: flex;
    flex-direction: column;

}

.navbar {
    /* border: 2px solid red; */
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    padding: 12px;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    justify-content: space-evenly;
    align-items: center;
    /* padding-top: 20px; */
    color: var(--second-color);
    font-weight: 500;
    font-size: 20px;
}

nav {
    flex-grow: 1;

}

a {
    text-decoration: none;
    color: var(--second-color);
}

a:hover {
    transform: scale(1.1);
}


.container .navbar .image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--second-color);

}


/* special for header */
.header {
    /* border: 1px solid red; */
    display: flex;
    flex-direction: row;
    padding-top: 30px;
    /* align-items: center; */
}

.header h1 {
    color: var(--title-color);
    font-size: 70px;
    word-break: keep-all;
}

.content p {
    font-size: 23px;
    color: var(--second-color);
    z-index: 999;
}

.content .about-btn {
    background-color: var(--second-color);
    color: rgba(0, 0, 0, 0.763);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    width: 215px;
    height: 72px;
    font-size: 30px;
    transition: 0.3s all ease-in-out;
}

.content .about-btn:active {
    scale: 1.1;
}

.header .image img {
    width: 500px;
}

hr {
    color: rgb(216, 30, 30);
}





/* --------Main Section ---------------*/
.container-full .main-section {
    /* background-color: var(--hover-color); */

}

.container-full .main {
    width: auto;
    margin-top: 10%;
    justify-content: center;
    align-items: center;
    display: flex;
    /* flex-direction: column; */
}

table {
    box-sizing: border-box;
    border-collapse: collapse;
    flex-grow: 1;
}

table,
tr,
td {
    padding: 30px;
    border: 1px solid #0007;
}

.main-section .competence {
    margin-top: 8em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 23px;
}

.cards .card {
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 2px solid #0007;
    padding: 20px;
    scale: 0.9;
    position: relative;
    transition: scale 0.3s ease-in-out, color 0.3s ease-in-out;

}

.cards .card::before {
    content: "";
    position: absolute;
    z-index: -1;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: opacity 0.3 ease-in-out;
}

.cards .card:hover {
    scale: 1;
    color: var(--second-color);
    background-image: linear-gradient(to left top, #977DEF, #6878FF);
}

.cards .card::before:hover {
    opacity: 1;
}


.competence > h2{
    font-size: 44px;
    color: var(--hover-color);
}
/* --------Footer Section ---------------*/

.footer {
    display: grid;
    gap: 30px;
    height: auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    background-color: var(--hover-color);
    padding: 60px;
}


.footer .network ul {
    list-style: none;
}

.footer .links ul {
    list-style: none;
}

.footer .network * img {
    width: 40px;
    height: 40px;
}



.footer .links ul {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;

}

.footer .links ul li a {
    color: #000;
    text-decoration: underline;
}

.footer .links {
    display: flex;
    flex-direction: column;
    gap: 12px;

}

.footer .description * {
    display: flex;
    align-items: center;
}

.network ul {
    display: flex;
    gap: 20px;
}


.footer .network ul {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;

}



/* ----------- Responsive style---------- */
@media(max-width:1155px) {
    .container {
        clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);

    }
}

@media(max-width:950px) {
    .container {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        height: auto;
    }

    .content .about-btn {
        display: none;
    }

    .container .header {
        flex-direction: column;
    }
}

@media (max-width:522px) {
    .container .header {
        width: auto;
    }

    .navbar nav {
        display: none;
    }
    *{
        margin: 0;
    }
}