* {
    padding: 0;
    margin: 0;
    font-family: 'Verdana', sans-serif;
    box-sizing: border-box;
}

body {
    color: white;
    background: linear-gradient(90deg, #0375c6 0%, #62beff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    flex-grow: 1;
}

.head_text {
    text-align: center;
    font-size: 2.5em;
    margin-top: 2em;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
}

/* Social Media Sidebar */
#social-media {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#social-media a {
    display: block;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

#social-media a:hover {
    transform: scale(1.2);
    background-color: #151515;
}

#social-media i {
    color: #151515;
    font-size: 24px;
    transition: opacity 0.3s ease;
}

#social-media a:hover i {
    color: white;
}

/* Main */
.container {
    font-size: 1.5em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1em;
    background-color: #62beff; /* Old Color: 62beffc7 */
    border-radius: 10px;
    box-shadow: 0px 4px 10px #0000004d;
    width: 300px;
}

table {
    width: 100%;
}

.input {
    width: 100%;
    font-size: 1.2em;
    text-align: right;
    padding: 10px;
    border: none;
    border-radius: 7px;
    background-color: white;
    color: #151515;
    margin-bottom: 10px;
    box-shadow: 0px 4px 10px #0000004d;
}

/* Buttons */
.number, .operator, .clear {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    margin: 5px;
    border-radius: 7px;
    width: 2em;
    height: 2em;
    font-size: 1em;
}

.number {
    background-color: white;
    color: #151515;
    box-shadow: 0px 4px 10px #0000004d;
    transition: all 0.6s ease;
}

.operator {
    background-color: #151515; /* Old Color: #4567fe */
    color: white;
    box-shadow: 0px 4px 10px #0000004d;
    transition: all 0.6s ease;
}

.clear {
    background-color: #151515;
    color: white;
    box-shadow: 0px 4px 10px #0000004d;
    transition: all 0.6s ease;
}

/* Hovers */
.number:hover {
    transform: scale(1.2);
    background-color: #d0d0d0;
    transition: background-color ease-in-out .2s;
}

.operator:hover {
    transform: scale(1.2);
    background-color: #303030; /* Old Color: #1f48ff */
    transition: background-color ease-in-out .2s;
}

.clear:hover {
    transform: scale(1.2);
    background-color: #303030;
    transition: background-color ease-in-out .2s;
}

/* Footer */
#footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    z-index: 2;
}

#footer p {
    margin: 5px 0;
}

#footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

#footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    border-radius: 5px;
    transition: width 0.3s ease;
}

#footer a:hover::after {
    width: 100%;
}