main {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 60px 60px;

    .content {
        margin-top: 60px;
        margin-right: 50px;

        .tag {
            font-size: $font-hero;
        }
    
        .para {
            max-width: 600px;
            margin: 40px 0;
        }
    }

    .illustration {
        img {
            width: 100%;
        }
    }
}

.work {
    padding: 150px 30px;

    .panel:nth-child(2) {
        margin: 150px 0;
    }
}

.about {
    width: 100%;
    margin-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;

    .profile {
        background: white;
        max-width: 300px;
        margin-right: 40px;
        border: 4px solid $quaternary;
        border-radius: 50%;
        box-shadow: 0 3px 10px rgba($secondary, 20%);

        img {
            width: 100%;
        }
    }

    .content {
        max-width: 600px;

        .heading {
            span {
                color: $primary;
                font-size: $font-heading;
                font-weight: $font-bold;
            }
        }

        .body {
            margin: 30px 0;
        }
    }
}

.skills {
    margin-top: 120px;
    padding-left: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    .list {
        display: flex;
        flex-direction: column;
        align-items: center;

        .list__heading {
            font-size: $font-heading;
            font-weight: $font-bold;
        }

        .list__body {
            ul li {
                padding-left: 2px;
                list-style: none;
                list-style-type: none;

                &:before {
                    content: "-";
                }
            }
        }
    }
}

.contact {
    margin: 120px 0;
    display: flex;
    justify-content: center;
    align-items: center;

    .form {
        margin-right: 30px;
        padding: 15px 30px;
        max-width: 500px;
        width: 100%;
        background: $quaternary;
        border-radius: 5px;
        box-shadow: 0 3px 15px rgba($secondary, 20%);

        .input-group {
            padding: 10px 0;

            label {
                display: block;
                margin-bottom: 10px;
            }

            input {
                display: block;
                width: 100%;
                padding: 12px 20px;
                font-size: $font-nav;
                border: none;
                border-radius: 7px;
            }

            textarea {
                display: block;
                width: 100%;
                height: 150px;
                padding: 12px 20px;
                font-size: $font-nav;
                border: none;
                border-radius: 7px;
            }
        }
    }

    .socials {
        max-width: 500px;
        width: 100%;
        height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        span {
            display: flex;
            justify-content: center;
            align-items: center;    .about {
        
            }
            margin: 10px 0;

            img {
                margin-right: 10px;
            }

            a,
            a:active,
            a:visited {
                color: $primary;
                text-decoration: none;
            }
        }
    }
}

@media only screen and (max-width: 1200px) {
    main {
        .content {
            .cta {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                
                a:first-child {
                    margin-bottom: 10px;
                }
            }
        }
    }
}

@media only screen and (max-width: 960px) {
    main {
        padding: 60px 30px;

        .content {
            width: 60%;
        }

        .illustration {
            position: absolute;
            width: 420px;
            top: 120px;
            right: -150px;
            z-index: -1;
        }
    }

    .about {
        flex-direction: column;

        .content {
            .heading {
                padding: 0 30px;
            }

            .body {
                padding: 0 30px;
            }

            .cta {
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }
    }

    .skills {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .list {
            .list__body {
                ul {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                }
            }
        }
    }
}

@media only screen and (max-width: 768px) {
    .contact {
        flex-direction: column;
    }
}

@media only screen and (max-width: 500px) {
    main {
        padding: 30px 0;

        .content {
            width: 100%;
        }

        .illustration {
            display: none;
        }
    }

    .about {
        .content {
            .cta {
                flex-direction: column;
                
                a:first-child {
                    margin-bottom: 20px;
                }
            }
        }
    }
}