@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&display=swap');

:root{
   --bg-color: #746550;
   --bg-color-2: rgb(73, 53, 51);
   --font-size-1: 16px;
   --font-size-2: 20px;
   --font-size-3: 30px;
   --color-1: #fff;
   --color-2: rgb(128, 118, 118);
}

*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Fira Code", sans-serif, Helvetica;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100vh;
}

.joke {
    font-family: inherit;
    font-size: var(--font-size-3);
    font-weight: bold;
    margin: 50px auto;
    line-height: 40px;
    width: 80%;
}

p {
    font-family: inherit;
    color: var(--color-2);
    font-size: var(--font-size-1);
    letter-spacing: 2px;
}

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

.main-container {
    box-shadow: 0 40px 20px rgba(0, 0, 0, 0.1), 0 10px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--color-1);
    border-radius: 10px;
    text-align: center;
    padding: 50px 20px;
    width: 800px;
    max-width: 100%;
}

/* Button */
.btn {
    padding: 14px 40px;
    background-color: #ceb076;
    border-radius: 10px;
    border: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0), 0 0 15px rgba(133, 133, 133, 0.1);
    font-size: var(--font-size-1);
    word-spacing: 3px;
    transition: transform 25s ease-in;  
    margin-bottom: 5px;
    color: #fff;
}

.github-fork-ribbon {
    background-color: var(--bg-color-2);
    border-radius: 10px;
    box-shadow: 0 0 5px rgb(104, 98, 98), 0 0 15px rgb(133, 133, 133);
    margin-left: 30px;
}

/* Social Icons */
.social-icons {
    margin: 30px 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.social-icons a i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #000;
    font-size: 25px;
    padding-top: 15px;
    transition: 0.5s;
    transform: translate(0,0);
    box-shadow: 0px 5px 5px rgb(0 0 0 / 50%);
}

div i:hover{
    position: relative;
    bottom: 15px;
    transition: .5s ease-in-out;
}

.fb:hover {
    background-color: #3b5998;  
    color: #fff;
}

.tweet:hover {
    background-color: #00acee;
    color: #fff;
}

.wapp:hover {
    color: #fff;
    background-color: 	#25D366;
}

.link:hover {
    background-color: #0e76a8;
    color: #fff;
}

.line {
    width: 100%;
    margin-top: 40px;
}

.rule {
    margin-top: 10px;
}
.last {
    padding-block: 4px;
}

@media (max-width: 850px) {
    .main-container {
        height: auto;
        width: 80vw;
        background-color: var(--color-1);
        border-radius: 10px;
        text-align: center;
        padding-block: 50px;
    }
}

@media (max-width: 700px) {
    .main-container {
        height: auto;
        width: 100vw;
        background-color: var(--color-1);
        border-radius: 10px;
        text-align: center;
        padding-block: 50px;
    }
    p {
        font-size: 16px;
    }
    .first {
        font-size: var(--font-size-2);
        font-weight: bold;
        width: 70%;
    }
    .btn {
        padding: 10px 20px;
        background-color: var(--bg-color);
        border-radius: 10px;
        outline: none;
        border: 2px solid transparent;
        box-shadow: 0 0 5px rgb(0, 0, 0), 0 0 15px rgb(133, 133, 133);
        font-size: var(--font-size-1);
        word-spacing: 3px;
        transition: transform .4s ease-in;  
        margin-bottom: 15px; 
    }
    
    .btn:hover {
        transform: scale(1.1);
    }
    
    .github-fork-ribbon {
        background-color: var(--bg-color-2);
        padding: 10px 15px;
        border: 2px solid transparent;
        font-size: var(--font-size-1);
        border-radius: 10px;
        box-shadow: 0 0 5px rgb(104, 98, 98), 0 0 15px rgb(133, 133, 133);
        margin-right: 30px;
    }

    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
   
    .social-icons {
        margin: 20px 10px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    .social-icons i {
        padding: 10px;
        background-color: rgb(224, 216, 216);
        border-radius: 100%;
        font-size: 30px;
    }
    
}