*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
body{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('bg.png');
    background-position: center;
}
.container{
    width: 100%;
    max-width: 550px;
    background: #fff;
    position: relative;
    padding-top: 40px;
    border-radius: 10px;
    overflow: hidden;
}
.menu{
    display: flex;
    justify-content: space-between;
    margin: 0 40px;
}
.menu i{
    font-size: 1.7em;
    cursor: pointer;
}
/* A$B Styling */
.logo {
    font-size: 2.5em;     
    font-weight: bold;    
    margin: 0;             
}

.saffron {
    color: #EF7722;
    text-shadow: 2px 2px 5px #000;
}

.white {
    color: #FFF; 
    text-shadow: 2px 2px 5px #000; 
}

.green {
    color: #00FF13;
    text-shadow: 2px 2px 5px #000;
}
input{
    display: none;
}

label .far{
    position: absolute;
    right: 35px;
}
label .fa-sun{
    display: none;
}
.user{
    position: relative;
    height: 230px;
    width: 230px;
    left: 50%;
    transform: translateX(-50%);
}
.user::after{
    content: '';
    position: absolute;
    height: 245px;
    width: 245px;
    border: 5px solid #c70039;
    border-radius: 50%;
    top: -12px;
    left: -12px;
} 
.user img{
    height: inherit;
    width: inherit;
    object-fit: cover;;
    border-radius: 50%;
}
.username{
    text-align: center;
    font-weight: 500;
    margin-top: 12px;
    font-size: 2.8em;
    opacity: 0.9;
}
.label{
    text-align: center;
    font-size: 17px;
}
.contact{
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 80px;
}
.contact i{
    font-size: 1.5em;
    margin: 0 20px;
    opacity: 1.0;
    cursor: pointer;
}
.icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.icon-img:hover {
    opacity: 0.8;
}
.contact i:hover{
    color: #00FF13;
}
/* .down{
    position: relative;
    width: 100%;
    height: 120%;
    background: #DC143C;
    border-radius: 10px 10px 0 0;
} */
.down {
    position: relative;
    width: 100%;
    height: 120%;
    background: #DC143C;
    border-radius: 10px 10px 0 0;
    padding: 30px 0;
}

/* Flexbox to align buttons left and right */
.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    margin-top: -55px;
}
button {
    border: none;
    font-size: 1.2em;
    border-radius: 40px;
    padding: 15px 35px;
    color: #fff;
    letter-spacing: 1px;
    background: #008DDA; 
    cursor: pointer;
    box-shadow: 0 10px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

/* Hover effect */
button:hover {
    background-color: #00FF13;
    color: #000;
    transform: scale(1.05);
}

/* Text below buttons */
p {
    text-align: center;
    font-size: 1.3em;
    margin-top: 20px;
    color: #fff;
}
/* Toggle-Mode Effects */

#check:checked~.container .menu label .fa-sun{
    display: block;
}
#check:checked~.container .menu label .fa-moon{
    display: none;
}
#check:checked ~ .container{
    color: #fff;
    background: #1C6EA4;
}
