@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: linear-gradient(90deg, white 50%, black 50%);
    height: 100vh;
    overflow: hidden;
}

h2 {
    color: white;
    font-size: 3rem;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    gap: 50px;
    width: 100vw;
}

header img {
    height: 100px;
    position: absolute;
    left: 20px;
    top: 0;
}

header a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100px;
}

header a:hover {
    text-decoration: underline;
}

header .span {
    text-align: right;
}

header a span {
    color: black;
}

header a span:hover {
    text-decoration: underline;;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 80vh;
}

.left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.left-side h2 {
    color: black;
    align-self: flex-start;
    margin-left: 15%;
}

.left-side p {
    width: 70%;
    font-weight: 600;
}

.right-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.right-side img {
    height: 30vh;
}

.skills-container {
    align-self: flex-start;
    margin-left: 15%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fa-check {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b5ebe8;
    padding: 5px;
    border-radius: 50%;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #46d7d0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.btn:hover {
    background-color: #43b3ad;
}

@media screen and (max-width: 768px) {
    body {
        background: linear-gradient(white 50%, black 50%);
    }

    header a {
        color: black;
    }

    .container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
        height: 90vh;
    }

    header img {
        height: 65px;
    }

    .left-side {
        order: 1;
    }

    .right-side {
        order: 2;
    }

    .left-side {
        transform: scale(0.8);
    }

    .right-side {
        transform: scale(0.8);
    }

    h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {


    .left-side, .right-side {
        transform: scale(0.7);
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 320px) {
    .left-side, .right-side {
        transform: scale(0.6);
    }

    h2 {
        font-size: 1.2rem;
    }
    
}