body {
    font-family: "Raleway";
    background-color: #f4f4f4;
    margin: 0;
    background-color: #f8f8f8;
}

header {
    padding: 40px;
}

.header img {
    height: 70px;
    max-width: 100%;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.button-container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
}

.button-container p {
    font-size: larger;
    margin-left: 10px;
    max-width: 190px;
    width: 100%;
}

.result-box {
    width: 100%;
    display: flex;
}

.title {
    font-size: 35px;
    margin: 100px auto 10px;
}

.container {
    width: 90%;
    max-width: 1500px;
    background-color: #fff344;
    margin: 50px auto;
    border-radius: 20px;
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    overflow: hidden;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

table th:first-child {
    background-color: #ff9d0a;
}

.title-table {
    background-color: #fff344;
}

.container th, td {
    width: 250px;
    height: 92px;
    border: 1px solid #f8f8f8;
}

.container th:first-child,
.container td:first-child {
  border-left: none;
}

.container th:last-child,
.container td:last-child {
  border-right: none;
}

.container tr:first-child th,
.container tr:first-child td {
  border-top: none;
}

.container tr:last-child th,
.container tr:last-child td {
  border-bottom: none;
}

.title-table h2 {
    margin: 20px;
    font-size: medium;
    font-weight: 600;
}

.container td p {
    margin: 20px;
    font-size: 13px;
}

.container .input-group {
    display: flex;
    justify-content: center;
    height: 35px;
}

.input-group input {
    width: 100%;
    max-width: 80%;
}

.center-text {
    text-align: center;
    vertical-align: middle;
}

tbody tr:nth-child(odd)  { background-color : #e6e6e6; }
tbody tr:nth-child(even) { background-color : #cecece; }

.btn-result {
    flex-wrap: wrap;
    margin-top: 30px;
    padding-left: 100px;
    max-width: 100%;
    width: 1600px;
    height: 100px;
}

button {
    padding: 15px;
    border: unset;
    border-radius: 15px;
    color: #212121;
    z-index: 1;
    background: #e8e8e8;
    position: relative;
    font-weight: 1000;
    font-size: 16px;
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    transition: all 250ms;
    overflow: hidden;
    margin-right: 10px;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 15px;
    background-color: #212121;
    z-index: -1;
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    transition: all 250ms;
}

button:hover {
    color: #e8e8e8;
}

button:hover::before {
    width: 100%;
}

.totalTempsGagneAnnuel {
    width: 100%;
    max-width: 1500px;
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
}

.Btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgb(214, 214, 214);
    border-radius: 15px;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition-duration: 0.3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.11);
  }
  
  .svgIcon {
    fill: rgb(70, 70, 70);
  }
  
  .icon2 {
    width: 18px;
    height: 5px;
    border-bottom: 2px solid rgb(70, 70, 70);
    border-left: 2px solid rgb(70, 70, 70);
    border-right: 2px solid rgb(70, 70, 70);
  }
  
  .Btn:hover {
    background-color: rgb(51, 51, 51);
    transition-duration: 0.3s;
  }
  
  .Btn:hover .icon2 {
    border-bottom: 2px solid rgb(235, 235, 235);
    border-left: 2px solid rgb(235, 235, 235);
    border-right: 2px solid rgb(235, 235, 235);
  }
  
  .Btn:hover .svgIcon {
    fill: rgb(255, 255, 255);
    animation: slide-in-top 1s linear infinite;
  }

  .no-shadow {
    box-shadow: none !important;
}
  
  @keyframes slide-in-top {
    0% {
      transform: translateY(-10px);
      opacity: 0;
    }
  
    100% {
      transform: translateY(0px);
      opacity: 1;
    }
  }  
  
  @keyframes slide-in-top {
    0% {
      transform: translateY(-10px);
      opacity: 0;
    }
  
    100% {
      transform: translateY(0px);
      opacity: 1;
    }
  }  

@media screen and (min-width: 1200px) {
    header {
        padding-bottom: 120px;
    }
    
    .header img {
        height: 110px;
    }

    .title {
        font-size: 44px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 750px) {
    .header img {
        height: 55px;
    }

    .title {
        font-size: 21px;
        margin-top: 80px;
        margin-bottom: -25px;
    }

    .container {
        width: 100%;
        max-width: none;
        background-color: transparent;
        box-shadow: none;
    }

    table {
        display: none;
    }

    .section {
        display: block;
        margin-bottom: 20px;
        background-color: #e7e7e7;
        border-radius: 10px;
        padding: 32px;
        margin: 20px;
        box-shadow: 2px 4px 10px -3px rgba(0,0,0,0.27);
    }

    .field-group {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .field-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .field-group input,
    .field-group p {
        font-size: 15px;
        padding: 5px 0 5px 0;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        width: 90%;
        margin: 5px auto 25px;
    }

    .result-box p {
        font-size: smaller;
        display: flex;
        max-width: 105px;
        width: 100%;
    }

    .totalTempsGagneAnnuel {
        font-size: 16px;
    }
}

@media screen and (min-width: 751px) {
    .section {
        display: none;
    }

    table {
        display: table;
    }
}