@font-face{
    font-family: 'Comme';
    font-weight: 400;
    src: url('../fonts/comme-regular-webfont.woff2') format('woff2'),
         url('../fonts/comme-regular-webfont.woff') format('woff');
    font-display: swap;
}

@font-face{
    font-family: 'Comme';
    font-weight: 600;
    src: url('../fonts/comme-semibold-webfont.woff2') format('woff2'),
         url('../fonts/comme-semibold-webfont.woff') format('woff');
    font-display: swap;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comme', sans-serif;
}


section.alert{
  display: none;
}

section.alert.active{
    display: block;
}

.overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  pointer-events: none;
  z-index: 2000;
}

.modal-box {
  z-index: 2550;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  width: 100%;
  padding: 30px 20px;
  border-radius: 24px;
  background-color: #fff;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%) scale(1.2);
}

section.active .modal-box {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-box i {
  font-size: 94px;
}

.modal-box h2 {
  margin-top: 15px;
  font-size: 25px;
  font-weight: 500;
  color: #333;
}

.modal-box h3 {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-align: center;
}

.modal-box .buttons {
  margin-top: 25px;
}

.modal-box button {
  font-size: 14px;
  padding: 6px 12px;
  margin: 0 10px;
}

section.alert .buttons button{
    padding: 12px 50px;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 8px;
    width: 100%;
    font-size: 15px;
    color: white;
    transition: all 300ms ease;
}

section.alert .buttons button:hover{
    opacity: 0.8;
}
