/*
 * SPF GENERATOR  v1.0.0 (https://main.d256xrl063nzcl.amplifyapp.com/)
 * Copyright 2023-2024 The WMN6 Authors
 * Created By @ZahiriMoaad
*/

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ddd;
}

::-webkit-scrollbar-thumb {
    background: #FF9900;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease;
    background-color: #f8f8f8;
    color: #333;
}


.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}

header {
    display: flex;
    margin: auto;
    justify-content: space-between;
    width: 70%;
    padding: 120px; 
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #FF9900;
    margin-bottom: 30px;
}

header .content {
    text-align: center;
    font-weight: bold;
    color: White;
    text-transform: uppercase;
}

header .content h1 {
    color: White;
}

.logo {
    text-align: center;
    color: white;
}

.logo img {
    width: 220px;
    margin-top: -20px;
}

.logo p {
    margin-top: -23px;
    font-size: 12px;
}

.card {
    width: 70%;
    padding: 120px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    margin-top: -80px;
}


h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 25px;
    text-align: center;
}

.input-section {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}


textarea {
    width: 98%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    color: #333;
    background-color: #fff;
    height: 90px; 
}



button {
    display: block;
    margin: 50px auto 0;
    padding: 20px 40px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #ff9900c4;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #FF9900;
}


#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fade-in 0.3s ease;
}

.popup .output {
  margin-top: 20px;
  padding: 15px;
  background-color: #eda63c72;
  border-radius: 4px;
  color: #666;
  word-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
}


@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.popup h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    color: #333;
}


.popup button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #ff9900c4;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.popup button:hover {
    background-color: #FF9900;
}


