﻿.effect {
    
}

    .effect h2 {
        color: #fff;
        font-weight: 400;
        font-size: 25px;
        letter-spacing: 3px;
    }

    .effect:nth-child(2) {
        margin-top: 0px;
    }

    .effect:nth-child(2n + 1) {
        background-color: #fff;
    }

        .effect:nth-child(2n + 1) h2 {
            color: #212121;
        }

    .effect:nth-child(2n) a {
        color: #000;
        border-color: #fff;
    }

    .effect .buttons {
        margin-top: 50px;
        display: flex;
        justify-content: center;
    }
/* styles for a common effect !!!YOU NEED THEM */
.effect {
    /*display: flex; !!!uncomment this line !!!*/
}

    .effect a {
        text-decoration: none !important;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-right: 20px;
        font-size: 4px;
        overflow: hidden;
        position: relative;
        color: #fff;
        border: 2px solid #fff;
        background-color: #fff;
    }

        .effect a i {
            position: relative;
            z-index: 3;
        }

        .effect a:last-child {
            margin-right: 0px;
        }

        .effect a:before {
            content: "";
            display: inline-block;
            height: 100%;
            vertical-align: middle;
        }

        .effect a i {
            display: inline-block;
            vertical-align: middle;
        }
    /* lavinia effect */
    .effect.lavinia a {
        transition: border-top-color 0.2s linear 0s, border-right-color 0.2s linear 0.1s, border-bottom-color 0.2s linear 0.2s, border-left-color 0.2s linear 0.3s;
        overflow: visible;
    }

        .effect.lavinia a:hover {
            border-color: rgba(255, 255, 255, 0);
        }

        .effect.lavinia a:after {
            content: "";
            display: block;
            width: 100%;
            height: 100%;
            top: -2px;
            left: -2px;
            border: 2px dashed #fff;
            position: absolute;
            border-radius: 50%;
        }
    /* varrius effect */
    .effect.varrius a {
        transition: all 0.2s linear 0s;
    }

        .effect.varrius a:after {
            content: "";
            display: block;
            width: 90%;
            height: 90%;
            top: -110%;
            left: 0;
            right: 0;
            margin: auto;
            position: absolute;
            background-color: #212121;
            border-radius: 50%;
        }

        .effect.varrius a:hover {
            color: #fff;
        }

            .effect.varrius a:hover:after {
                top: 5%;
                transition: all 0.2s linear 0s;
            }
    /* thurio effect */
    .effect.thurio a {
        transition: border-radius 0.2s linear 0s;
        transform: rotate(45deg);
    }

        .effect.thurio a i {
            transition: transform 0.01s linear 0s;
            transform: rotate(-45deg);
        }

        .effect.thurio a:hover {
            border-radius: 0px;
        }
    /* amiens effect */
    .effect.amiens a {
        transition: all 0.2s linear 0.2s;
    }

        .effect.amiens a i {
            transition: all 0.2s linear 0s;
        }

        .effect.amiens a:hover {
            transition: all 0.2s linear 0s;
            border-color: rgba(33, 33, 33, 0);
        }

            .effect.amiens a:hover i {
                transform: scale(1.15);
                text-shadow: 4px 0px 3px rgba(33, 33, 33, 0.3);
                transition: all 0.2s linear 0.2s;
            }
    /* solanio effect */
    .effect.solanio a {
        border: none;
        overflow: visible;
    }

        .effect.solanio a:after {
            content: "";
            display: block;
            position: absolute;
            top: -2px;
            left: -2px;
            width: 100%;
            height: 100%;
            border: 2px solid #fff;
            border-radius: 50%;
            transition: all 0.2s linear 0s;
        }

        .effect.solanio a:hover:after {
            height: 0px;
            top: 100%;
        }
