/* Start Css Reset */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

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

a {
  color: inherit;
  display: inline-block;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}
/* End Css Reset */

html {
    font-size: 62.5%;
}

body{
    font-size: 1.6rem;
    font-family: 'Courier New', Courier, monospace;
}

/* container */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #e5e5f7;
    background-image: radial-gradient(#444cf7 0.5px, #e5e5f7 0.5px);
    background-size: 1.2rem 1.2rem;
}

.lights-control{
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    top: 2rem;
}

.lights-label{
    width: 4.2rem;
    height: 2.2rem;
    border-radius: 1.5rem;
    background-color: #000;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 0.3rem 0.4rem;
}

.lights-label::after{
    content: "";
    display: block;
    border-radius: 50%;
    width: 1.6rem;
    height: 1.6rem;
    background-color: #fff;
    transition: 0.3s;
}

.lights-input{
    display: none;
}

.lights-input:checked + .lights-label{
    background-color: #fff6f6;
    /* box-shadow: 0 0 5rem rgba(85, 239, 2, 0.184); */
}

.lights-input:checked + .lights-label::after{
    transform: translateX(2rem);
    background-color: rgb(7, 187, 7);
}

.card{
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    min-width: 35rem;
    background-color: #fff;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0 , 0.2);
}
.lights-title{
font-size: 2rem;
font-weight: 700;
}

.lights{
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: 2;
    transition: all 0.3s;
}
.bulb-odd{
    animation: party 0.5s infinite alternate;
}

.bulb-even{
    animation: party 0.5s infinite alternate-reverse;
}

@keyframes party{
    0%{
        fill:#ff0000;
    }
    100%{
        fill:#fff500;
        
    }
}

.container:has(.lights-input:checked) .lights{
    opacity: 1;
    visibility: visible;
}

.top{
    height: 10rem;
    background-color: #e5e5f7;
    opacity: 0.9;
    background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, #e5e5f7 13px ), repeating-linear-gradient( #444cf755, #444cf7 );
}

.middle{
    margin: 0 auto;
    text-align: center;
    margin-top: -6rem;
    z-index: 1;
}

.pic{
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    /* border: 0.4rem solid #fff; */
}

.title {
    font-size: 2.2rem;
    font-weight: bold;
}

.position{
    font-size: 1.6rem;
    font-weight:600;
}

.bottom{
    display: flex;
    margin-top: 3rem;
    border-top: 0.1rem solid #c4c4c4;
}

.column{
    /* flex: 1; */
    padding: 1.8rem 1.5rem;
    text-align: center;
}

.column:nth-child(2){
    border-right: 0.1rem solid #c4c4c4;
    border-left: 0.1rem solid #c4c4c4;
    
}

.icon{
    width: 2rem;
    height: 2rem;
}

#github{
    filter: brightness(0) invert(0);
}
.username{
    font-size: 1.2rem;
    font-weight:600;
}