pahvalentines/frontend/assets/css/style.css
2026-02-06 15:13:44 +05:30

1214 lines
No EOL
24 KiB
CSS
Executable file

@font-face {
font-family: 'Pets Headline Bold';
font-weight: 700;
font-style: normal;
font-stretch: normal;
src: url('../fonts/PetsHeadline-Bold.otf') format('opentype');
}
@font-face {
font-family: 'TT Commons Pro Body DemiBold';
font-weight: 700;
font-style: normal;
font-stretch: normal;
src: url('../fonts/EOT/TT_Commons_Pro_DemiBold.eot') format('embedded-opentype'),
url('../fonts/WOFF2/TT_Commons_Pro_DemiBold.woff2') format('woff2'),
url('../fonts/WOFF/TT_Commons_Pro_DemiBold.woff') format('woff'),
url('../fonts/TTF/TT_Commons_Pro_DemiBold.ttf') format('truetype'),
url('../fonts/SVG/TT_Commons_Pro_DemiBold.svg#CommonsProBodyDemiBold') format('svg');
}
@font-face {
font-family: 'TT Commons Pro Medium';
font-weight: 500;
font-style: normal;
font-stretch: normal;
src: url('../fonts/EOT/TT_Commons_Pro_Medium.eot') format('embedded-opentype'),
url('../fonts/WOFF2/TT_Commons_Pro_Medium.woff2') format('woff2'),
url('../fonts/WOFF/TT_Commons_Pro_Medium.woff') format('woff'),
url('../fonts/TTF/TT_Commons_Pro_Medium.ttf') format('truetype'),
url('../fonts/SVG/TT_Commons_Pro_Medium.svg#CommonsProMedium') format('svg');
}
@font-face {
font-family: 'TT Commons Pro Bold';
font-weight: 700;
font-style: normal;
font-stretch: normal;
src: url('../fonts/EOT/TT_Commons_Pro_Bold.eot') format('embedded-opentype'),
url('../fonts/WOFF2/TT_Commons_Pro_Bold.woff2') format('woff2'),
url('../fonts/WOFF/TT_Commons_Pro_Bold.woff') format('woff'),
url('../fonts/TTF/TT_Commons_Pro_Bold.ttf') format('truetype'),
url('../fonts/SVG/TT_Commons_Pro_Bold.svg#CommonsProBold') format('svg');
}
@font-face {
font-family: 'TT Commons Pro Regular';
font-weight: 200;
font-style: normal;
font-stretch: normal;
src: url('../fonts/EOT/TT_Commons_Pro_Regular.eot') format('embedded-opentype'),
url('../fonts/WOFF2/TT_Commons_Pro_Regular.woff2') format('woff2'),
url('../fonts/WOFF/TT_Commons_Pro_Regular.woff') format('woff'),
url('../fonts/TTF/TT_Commons_Pro_Regular.ttf') format('truetype'),
url('../fonts/SVG/TT_Commons_Pro_Regular.svg#CommonsProRegular') format('svg');
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Pets Headline Bold','Montserrat', sans-serif;
background: #EF8FA0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 0px;
flex-direction: column;
}
.container {
max-width: 700px;
flex: 1;
}
.header {
background-image: url('../images/header-title.png');
background-repeat: no-repeat;
background-position: center;
height: 60px;
color: transparent;
font-family: 'Pets Headline Bold';
background-color: #FFFAF5;
width: 100%;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.sr-only-focusable:active, .sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
overflow: visible;
clip: auto;
white-space: normal;
}
.body-container {
width: 100%;
height: auto;
background-color: #FFA4B3;
}
.jukebox-banner-mb {
width: 100%;
margin: auto;
display: block;
padding: 0px 0px;
}
.jukebox-banner-dt {
display: none;
}
.title {
font-family: "Pets Headline Bold";
font-weight: 700;
font-size: 32px;
line-height: 110.00000000000001%;
text-align: center;
color: #FFFAF5;
margin: 0px 0px 10px 0px;
}
.sub-title {
font-family: "TT Commons Pro Body DemiBold";
font-weight: 600;
font-size: 16px;
line-height: 110.00000000000001%;
text-align: center;
color: #FFFAF5;
margin: 10px 0px;
}
.form-row {
/*text-align: center;*/
display: flex;
justify-content: center;
flex-direction: column;
}
.form-group {
/*display: inline-grid;*/
display: flex;
flex-direction: column;
align-items: center;
margin: 10px 0px;
}
label {
font-family: "TT Commons Pro Body DemiBold";
font-weight: 600;
font-size: 16px;
line-height: 110.00000000000001%;
text-align: center;
color: #FFFFFF;
margin: 10px 0px;
}
input[type="text"], input[type="email"], input[type="password"], select {
border: 1px solid #fff;
border-radius: 4px;
font-size: 16px;
transition: border-color 0.3s ease;
color: #000;
width: 160px;
padding: 0 2%;
height: 25px;
}
.form-control {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background: #fff url("data:image/svg+xml;utf8,<svg fill='red' height='20' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 0px center;
background-size: 20px;
}
/* Hide default arrow in IE */
.form-control::-ms-expand {
display: none;
}
.file-upload {
position: relative;
display: inline-block;
cursor: pointer;
width: 100%;
}
.file-upload input[type="file"] {
position: absolute;
opacity: 0;
width: 100%;
height: 100%;
cursor: pointer;
pointer-events: none;
}
.file-upload-label {
display: block;
padding: 20px;
border: 2px dashed #FFFAF5;
border-radius: 5px;
background: #febac2;
color: #ffffff;
text-align: center;
transition: all 0.3s ease;
width: 70%;
margin: 10px auto;
}
.file-upload:hover .file-upload-label {
background: #febac2;
border-color: #FFFAF5;
}
.file-upload-icon {
font-size: 2rem;
color: #ffffff;
margin-bottom: 10px;
}
.file-upload-text {
font-family: "TT Commons Pro Body DemiBold";
font-weight: 600;
font-size: 16px;
line-height: 110.00000000000001%;
text-align: center;
color: #FFFFFF;
}
.file-upload-subtext {
font-family: "TT Commons Pro Body DemiBold";
font-weight: 600;
font-size: 12px;
line-height: 110.00000000000001%;
text-align: center;
color: #FFFFFF;
margin-top: 3px;
}
.submit-btn {
padding: 15px 30px;
background: #D2323D;
border-color: #D2323D;
color: #fff;
border-radius: 4px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
margin: 20px auto;
border-width: 0px;
border-style: none;
}
.submit-btn:hover, .submit-btn:focus {
background: #E02440;
border-color: #E02440;
}
.melody-record-container {
position: relative;
width: 65%;
margin: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.melody-record-needle {
position: absolute;
right: 0;
top: 0;
height: 80%;
width: auto;
object-fit: contain;
object-position: right top;
z-index: 10;
}
.melody-record {
width: 100%;
display: block;
padding: 20px 0px;
animation: spin 5s linear infinite;
aspect-ratio: 1/1;
object-fit: contain;
}
.record-text-overlay {
position: absolute;
width: 100%;
height: 100%;
pointer-events: none;
animation: spin 5s linear infinite;
}
/* Audio player styles for waiting page */
.audio-player-container {
width: 80%;
max-width: 400px;
margin: 20px auto;
padding: 15px 20px;
background: rgba(255, 255, 255, 0.15);
border-radius: 12px;
text-align: center;
}
.audio-player-label {
font-family: "TT Commons Pro Body DemiBold";
font-weight: 600;
font-size: 14px;
color: #FFFAF5;
margin-bottom: 12px;
}
.audio-player-container audio {
width: 100%;
height: 40px;
border-radius: 20px;
}
/* Style the audio element for webkit browsers */
.audio-player-container audio::-webkit-media-controls-panel {
background: #FFFAF5;
}
.audio-tap-message {
font-family: "TT Commons Pro Body DemiBold";
font-weight: 600;
font-size: 14px;
color: #FFFAF5;
margin-top: 10px;
cursor: pointer;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
.top-text, .bottom-text {
font-size: 5px; /* Adjust size as needed */
font-weight: bold;
fill: #D2323D; /* Set your desired color */
}
.top-text { dominant-baseline: text-after-edge; }
.bottom-text { dominant-baseline: text-after-edge; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); }}
.record-container {
position: relative;
width: 80%;
margin: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#video-record{
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
}
.dog-record {
width: 100%;
display: block;
padding: 20px 0px;
/*animation: spin 5s linear infinite;*/
aspect-ratio: 1 / 1;
object-fit: contain;
}
.rotate, .spinning {
animation: spin 5s linear infinite;
}
.record-needle{
position: absolute;
right: 0;
top: 0;
height: 80%;
width: auto;
object-fit: contain;
object-position: right top;
z-index: 10;
}
.footer {
background: #002828;
color: #fff;
padding: 40px;
width: 100%;
}
.footer-content {
max-width: 700px;
margin: 0 auto;
}
.footer p {
font-family: "TT Commons Pro Medium";
font-weight: 500;
font-size: 13px;
line-height: 120%;
margin-bottom: 10px;
}
.footer a {
color: #fff;
}
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
/*background-color: rgba(0, 0, 0, 0.6);*/
background: rgba(232, 112, 137, 0.5);
justify-content: center;
align-items: center;
}
.modal-content {
background-color: #E87089;
margin: 0px auto;
padding: 30px;
width: 100%;
max-width: 700px;
text-align: center;
color: #ffffff;
}
.modal-header {
font-family: "Pets Headline Bold";
font-size: 32px;
font-weight: 700;
color: #fff;
margin-bottom: 20px;
}
.modal-message {
font-family: 'TT Commons Pro Medium';
font-size: 16px;
margin: 0px auto 25px auto;
color: #cccccc;
width: 65%;
}
.modal-close {
width: 80%;
background: #00AA28;
color: white;
border-radius: 5px;
border-color: #00AA28;
padding: 12px 24px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
border-style: none;
display: block;
margin: auto;
text-decoration: none;
}
.modal-close:hover {
background: #00AA28;
border-color: #00AA28;
}
.heart-icon {
width: 100%;
height: 70px;
}
.white-heart-1 {
width: 45px;
float: right;
}
.white-heart-2 {
width: 30px;
float: left;
margin-top: 20px;
}
.pets-text-logo {
background-image: url('../images/pets-logo.png');
background-repeat: no-repeat;
background-position: center;
height: 60px;
}
.title1 {
font-family: "Pets Headline Bold";
font-weight: 700;
font-size: 32px;
line-height: 110.00000000000001%;
text-align: center;
color: #FFFAF5;
margin: 0px auto 10px auto;
width: 45%;
padding-top: 20px;
}
.heart1-icon {
width: 100%;
height: 50px;
}
.red-heart-1 {
width: 45px;
float: left;
}
.red-heart-2 {
width: 20px;
float: right;
margin-top: 20px;
}
.song-lyrics {
font-family: "TT Commons Pro Body DemiBold";
font-weight: 600;
font-size: 16px;
line-height: 110.00000000000001%;
text-align: center;
color: #FFFFFF;
margin: 15px auto;
line-height: 2;
max-height: 200px;
overflow-y: scroll !important;
padding: 20px;
border: 1px solid #fff;
max-width: 500px;
border-radius: 5px;
width: 80%;
white-space: pre-line;
/* Hide scroll bar in Firefox, IE and Edge */
scrollbar-width: none;
-ms-overflow-style: none;
}
/* Hide scroll bar in Chrome, Safari, Opera */
.song-lyrics::-webkit-scrollbar {
display: none;
}
.song-control {
width: 100%;
height: 60px;
margin: 0px auto 20px auto;
z-index: 500;
position: relative;
}
.song-play {
background-image: url('../images/play.png');
background-repeat: no-repeat;
background-position: center;
width: 60px;
height: 60px;
display: block;
margin: 0px auto;
border: 2px solid #fff;
border-radius: 30px;
}
.song-pause {
background-image: url('../images/pause.png');
background-repeat: no-repeat;
background-position: center;
width: 60px;
height: 60px;
display: block;
margin: 0px auto;
border: 2px solid #fff;
border-radius: 30px;
}
.share-container {
background: #D2323D;
color: #fff;
font-family: 'TT Commons Pro Regular';
font-size: 16px;
width: 80%;
margin: 25px auto 20px auto;
text-align: center;
padding: 25px 20px;
border-radius: 20px;
}
.share-container b, .share-container a{
font-family: 'TT Commons Pro Bold';
}
.share-title {
font-family: "Pets Headline Bold";
font-size: 24px;
font-weight: 700;
color: #fff;
margin-bottom: 15px;
}
.share-icons {
display: flex;
justify-content: center;
gap: 30px;
margin: 20px 0px;
}
.disabled-cta {
background: #FFA4B3 !important;
color: #D2323D !important;
pointer-events: none !important;
cursor: default !important;
}
.download-song-btn {
width: 90%;
background: #fff;
color: #D2323D;
border-radius: 5px;
padding: 12px 24px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
margin: 10px auto;
display: block;
text-decoration: none;
border: 1px solid #fff;
}
.download-song-btn:hover, .download-song-btn:focus, .copy-btn:hover, .copy-btn:focus {
color: #fff;
background: #D2323D;
border: 1px solid #fff;
}
.copy-btn {
width: 90%;
background: #fff;
color: #D2323D;
border-radius: 5px;
padding: 12px 24px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
margin: 10px auto;
display: block;
text-decoration: none;
border: 1px solid #fff;
}
.share-text {
margin: 15px 15px 15px 15px;
}
.share-subtext {
font-family: "TT Commons Pro Medium";
margin: 15px 10px 0px 10px;
font-size: 13px
}
.share-subtext1 {
font-family: "TT Commons Pro Medium";
margin: 10px 10px 0px 10px;
font-size: 14px
}
.make-another-song-btn {
width: 80%;
background: #fff;
color: #D2323D;
border-radius: 5px;
padding: 12px 24px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
margin: auto auto 30px auto;
display: block;
text-decoration: none;
text-align: center;
border-style: none;
}
.make-another-song-btn:hover, .make-another-song-btn:focus {
color: #fff;
background: #D2323D;
border-color: #fff;
}
.banner1-container {
background-color: #fff;
}
.banner1 {
width: 100%;
height: auto;
margin: 0px auto;
padding: 30px 40px;
margin-bottom: -20px;
}
.banner1-cta {
font-family: 'TT Commons Pro Bold';
width: auto;
border-radius: 5px;
padding: 12px 15px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
margin: auto;
text-decoration: none;
color: #fff;
background: #00AA28;
position: relative;
bottom: 4.5rem;
left: 3.5rem;
}
.banner2-container {
margin: 30px 40px 0px 40px;
padding-bottom: 25px;
}
.banner2 {
width: 100%;
height: auto;
margin: 0px auto;
margin-bottom: -20px;
}
.banner2-cta {
font-family: 'TT Commons Pro Bold';
width: auto;
border-radius: 5px;
padding: 12px 15px;
font-size: 16px;
font-weight: 700;
cursor: pointer;
margin: auto;
text-decoration: none;
color: #fff;
background: #00AA28;
position: relative;
bottom: 3rem;
left: 1.5rem;
}
.banner1-cta:hover, .banner1-cta:focus, .banner2-cta:hover, .banner2-cta:focus, #cookie-accept-btn:hover, #cookie-accept-btn:focus, .modal-close:hover, .modal-close:focus {
background: #00871E;
border-color: #00871E;
}
#banner1-mb, #banner2-mb {
display: block;
}
#banner1-dt, #banner2-dt {
display: none;
}
#cookiePopup > .modal-content {
/*background-color: #E87089;*/
}
#cookiePopup .modal-message {
font-family: 'TT Commons Pro Medium';
font-size: 16px;
margin: 0px auto 25px auto;
color: #ececec;
width: 100%;
}
#cookiePopup .modal-message b{
font-family: 'TT Commons Pro bold';
}
#cookie-accept-btn {
width: 160px;
background: #00AA28;
color: white;
border-radius: 5px;
border-color: #00AA28;
padding: 10px 6px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
border-style: none;
display: revert;
}
#cookie-reject-btn {
width: 160px;
background: #E87089;
color: white;
border-radius: 5px;
border-color: #E87089;
padding: 10px 6px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
border-style: none;
border: 1px solid #fff;
display: revert;
}
.hide-desktop {
display: none;
}
.hide-mobile {
display: block;
}
#sonauto-logo {
width: 14px;
margin: 0px 2px 0px 3px;
}
.change-photo {
font-family: "TT Commons Pro Body DemiBold";
}
@media (min-width: 576px) and (max-width: 767.98px) {
.banner1-cta {
bottom: 7rem;
left: 4rem;
}
.banner2-cta {
bottom: 5rem;
left: 2.5rem;
}
}
/* Medium devices (tablets, 768px and less than 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
.jukebox-banner-mb {
display: none !important;
}
.jukebox-banner-dt {
display: block;
width: 100%;
margin: 0px auto 30px;
}
.title {
margin: -60px 0px 10px 0px;
}
.form-row {
max-width: 400px;
margin: auto;
}
.form-group {
flex-direction: row;
justify-content: space-between;
}
label {
margin: 0px 10px;
font-size: 18px;
}
.file-upload-label {
width: 100%;
}
input[type="text"], input[type="email"], input[type="password"], select {
width: 200px;
font-size: 18px;
}
#banner1-mb, #banner2-mb {
display: none;
}
#banner1-dt, #banner2-dt {
display: block;
}
.banner1-cta {
font-size: 18px;
bottom: 9rem;
left: 5rem;
}
.banner2-cta {
font-size: 18px;
bottom: 10.5rem;
left: 1.5rem;
}
.hide-desktop {
display: block;
}
.hide-mobile {
display: none;
}
}
/* Medium devices (desktops, 992px and less than 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
.jukebox-banner-mb {
display: none !important;
}
.jukebox-banner-dt {
display: block;
width: 100%;
margin: 0px auto 30px;
}
.title {
margin: -60px 0px 10px 0px;
}
.form-row {
max-width: 400px;
margin: auto;
}
.form-group {
flex-direction: row;
justify-content: space-between;
}
label {
margin: 0px 10px;
font-size: 18px;
}
.file-upload-label {
width: 100%;
}
input[type="text"], input[type="email"], input[type="password"], select {
width: 200px;
font-size: 18px;
}
#banner1-mb, #banner2-mb {
display: none;
}
#banner1-dt, #banner2-dt {
display: block;
}
.banner1-cta {
font-size: 18px;
bottom: 9rem;
left: 5rem;
}
.banner2-cta {
font-size: 18px;
bottom: 10.5rem;
left: 1.5rem;
}
.hide-desktop {
display: block;
}
.hide-mobile {
display: none;
}
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
.jukebox-banner-mb {
display: none !important;
}
.jukebox-banner-dt {
display: block;
width: 100%;
margin: 0px auto 30px;
}
.title {
margin: -60px 0px 10px 0px;
}
.form-row {
max-width: 400px;
margin: auto;
}
.form-group {
flex-direction: row;
justify-content: space-between;
}
label {
margin: 0px 10px;
font-size: 18px;
}
.file-upload-label {
width: 100%;
}
input[type="text"], input[type="email"], input[type="password"], select {
width: 200px;
font-size: 18px;
}
#banner1-mb, #banner2-mb {
display: none;
}
#banner1-dt, #banner2-dt {
display: block;
}
.banner1-cta {
font-size: 18px;
bottom: 9rem;
left: 5rem;
}
.banner2-cta {
font-size: 18px;
bottom: 10.5rem;
left: 1.5rem;
}
.hide-desktop {
display: block;
}
.hide-mobile {
display: none;
}
}
/* Profanity filter error styles */
.input-error {
border-color: #D2323D !important;
border-width: 2px !important;
box-shadow: 0 0 5px rgba(210, 50, 61, 0.5);
}
.profanity-warning {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin: 10px auto 0 auto;
padding: 10px 20px;
background: rgba(210, 50, 61, 0.15);
border: 1px solid #D2323D;
border-radius: 4px;
color: #D2323D;
font-family: "TT Commons Pro Body DemiBold";
font-size: 14px;
max-width: 300px;
}
.profanity-warning .warning-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
background: #D2323D;
color: white;
border-radius: 50%;
font-weight: bold;
font-size: 12px;
}
/* Image safety check overlay */
.image-check-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.8);
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
}
.image-check-spinner {
width: 40px;
height: 40px;
border: 4px solid #febac2;
border-top-color: #D2323D;
border-radius: 50%;
animation: spin 1s linear infinite;
}
/* Safety check message under submit button */
.safety-check-message {
text-align: center;
font-family: "TT Commons Pro Body DemiBold";
font-size: 14px;
color: #FFFFFF;
margin-top: 10px;
padding: 8px 16px;
background: rgba(255, 255, 255, 0.2);
border-radius: 4px;
max-width: 300px;
margin-left: auto;
margin-right: auto;
}
/* Human detection error state */
.human-detected-error {
background: #fff5f5 !important;
border-color: #D2323D !important;
border-style: solid !important;
}
.human-detected-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: #D2323D;
color: white;
border-radius: 50%;
font-weight: bold;
font-size: 24px;
margin-bottom: 15px;
}
.human-detected-message {
font-family: "TT Commons Pro Body DemiBold";
font-size: 14px;
color: #D2323D;
text-align: center;
margin-bottom: 15px;
line-height: 1.4;
}
.human-detected-retry-btn {
background: #D2323D;
color: white;
border: none;
padding: 10px 24px;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease;
}
.human-detected-retry-btn:hover {
background: #E02440;
}
[x-cloak] { display: none !important; }
.error-container {
margin: 0 0 5% 0;
align-items: center;
text-align: center;
color: #fff;
}