@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,600;1,700&display=swap');

/**** Reset ****/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
}

/**** Style général de la page ****/

body {
    width: 100%;
    height: 100vh;
    background-color: #111111;
    font-family: "Raleway", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.container  {
    max-width: 650px;
    height: 400px;
    padding: 10px;
}

h2 {
    color: #f5f5f5;
    font-size: 50px;
    text-align: center;
}

.list {
    margin-top: 80px;
    display: flex;
    justify-content: space-around;
}
  
.item input {
    display: none;
}

.item label {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    color: #888888;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.item label i {
    font-size: 60px;
}

.item input:checked + label {
    color: #dddddd;
}
   
.item input#apple:checked + label {
    background-color: rgba(138,59,88,0.5);
    box-shadow:
      0 0 1px 15px rgba(138,59,88,0.4),
      0 0 1px 30px rgba(138,59,88,0.1),
      0 0 1px 45px rgba(138,59,88,0.1);
}

.item input#windows:checked + label {
    background-color: rgba(51,156,216,0.5);
    box-shadow:
      0 0 1px 15px rgba(51,156,216,0.4),
      0 0 1px 30px rgba(51,156,216,0.1),
      0 0 1px 45px rgba(51,156,216,0.1);
}

.item input#chrome:checked + label {
    background-color: rgba(144,51,216,0.5);
    box-shadow:
      0 0 1px 15px rgba(144,51,216,0.4),
      0 0 1px 30px rgba(144,51,216,0.1),
      0 0 1px 45px rgba(144,51,216,0.1);
}

/**** Responsive design ****/

@media screen and (max-width : 572px) {
    .list {
       flex-direction: column;
       justify-content: center;
       align-items: center;
    }

    .item {
        margin-bottom: 120px;
    }
}