/*
Theme Name: Street Fighter Dojo
Version: 1.0
Description: A child theme of Understrap
Author: Kuro Studios
Template: understrap
*/

@import url("../understrap/style.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
	font-family: 'SF Dojo';
	src: url('/wp-content/themes/street-fighter-dojo/fonts/sfdojo.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* ********** GENERAL ********** */

html {
	margin-top: 0 !important;
}

body {
	font-family: 'SF Dojo' !important;
}

#wpadminbar {
	display: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'SF Dojo', sans-serif;
	background: linear-gradient(to right, #d07b69, #fdcb10, #fffefc, #fdcb10, #d07b69);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

h1, h2 {
	font-size: 2rem !important;
}

/* ********** NAVIGATION *********** */

header {
	position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

nav.bg-primary {
	background-color: #2f3074 !important;
    max-height: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.navbar-brand img {
	margin-top: 25px;
    max-width: 125px;
}

.menu-item {
	margin-left: 20px;
}

.menu-item a {
	color: #fff;
	transition: all .5s;
}

.menu-item a:hover {
	color: #fbe703;
	transition: all .5s;
}

/* ********** HOME ********** */

body {
	background-image: url('/wp-content/uploads/2024/04/sfdojo_bg.jpg');
	background-size: cover;
	background-repeat: no-repeat;
}

.home-screen .container {
	max-width: 850px;
	margin: 0 auto;
}

.section-character-select.py-5 {
	padding-top: 125px !important;
}

.character-select {
	max-width: 850px;
	margin: 0 auto !important;
/* 	border: 3px solid #d3d4d6; */
}

.col-character {
	flex-basis: 12.5%;
	padding: 0 !important;
	position: relative;
}

.character-select .col-character:first-of-type {
	flex-basis: 100%;
}

.character-select .col-character:first-of-type img {
	max-width: 12.5%;
}

.character-select .character-image {
    border: 3px solid #cbcccb;
}

.character-select .col-character:first-of-type .character-image {
    border-bottom: none;
}

.cursor-1p {
	display: none;
	position: absolute;
   	top: calc(50% - 9px);
    left: 50%;
    transform: translate(-50%, -50%);
}

.cursor-2p {
	position: absolute;
    top: calc(50% - -7px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.col-character img:hover {
	cursor: pointer;
}

.character-portrait {
	border: 5px solid #5e4b8a;
    border: 5px solid #d7875c;
    border: 5px solid #fe3333;
	border: 4px solid #d3d4d6;
    max-width: 100%;
	width: 100%;
    border-radius: 5px;
}

.character-selected {
	max-width: 850px;
    margin: 10px auto 0 auto !important;
}

.col-character-p1 img {
	border-top: 6px solid #d3d4d6;
	border-right: 3px solid #d3d4d6;
	border-bottom: 6px solid #d3d4d6;
    border-left: 6px solid #d3d4d6;
}

.col-character-blank-p1 {
	border-left: 3px solid #d3d4d6;
}

.col-info {
	width: 75% !important;
}

.col-character-blank-p2 {
	border-right: 3px solid #d3d4d6;
}

.col-character-p2 img {
	border-top: 6px solid #d3d4d6;
	border-right: 6px solid #d3d4d6;
	border-bottom: 6px solid #d3d4d6;
    border-left: 3px solid #d3d4d6;
}

.player {
	font-size: 18px;
	background: linear-gradient(to right, #d07b69, #fdcb10, #fffefc, #fdcb10, #d07b69);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.character-name {
	font-size: 24px;
	background: linear-gradient(to right, #d07b69, #fdcb10, #fffefc, #fdcb10, #d07b69);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

hr {
	border-color: #fdd230 !important;
    margin: 5px 0 15px 0 !important;
    opacity: .5 !important;
}

.row-data {
	--bs-gutter-x: 0 !important;
}

.row-data .col-data-left {
	width: 33.333% !important;
	width: 100% !important;
	padding-right: 20px !important;
	border-right: 1px solid #fdd2308a;
	
	display: flex;
	border: 1px solid #fdd2308a;
	background-color: rgba(0, 0, 0, .25);
	
}

.ranking-p1,
.ranking-p2 {
	width: 50% !important;
	padding: 25px;
}

.ranking-p1 {
	border-right: 1px solid #fdd2308a;
}

.row-data .col-data-right {
	width: 66.667% !important;
	width: 100% !important;
	padding-left: 20px !important;
	
	margin-top: 20px;
    padding-left: 0 !important;
    background-color: rgba(0, 0, 0, .250);
    border: 1px solid #fdd2308a;
	
}

table {
	font-family: 'Montserrat', sans-serif;
	margin-bottom: 0 !important;
}

table td {
	font-weight: 500;
}

table a {
	color: #fed333;
	transition: all .5s;
}

table a:hover {
	color: #fff;
	transition: all .5s;
}

.video-table-head th,
.video-table-body td {
	font-size: 14px !important;
}

.video-table-body {
	display: none;
}

.video-table-body tr {
	vertical-align: middle;
}

.character-table-head th,
.video-table-body td {
	border-color: #fdd2308a;
}

.video-link img {
	width: 25px;
}

th.text-end,
th.text-start,
td.text-end,
td.text-start {
    width: 25%;
}

th.text-center,
td.text-center {
    width: 10%; /* Increase this width to 10% */
}

th.game-winner,
td.game-winner {
    width: 25%; /* Reduce this width to 15% */
}

th.video-link,
td.video-link {
	width: 15%;
}

.character-table-body {
	text-align: left;
}

.character-table-body span {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	color: #fff;
	font-weight: 600;
	padding-right: 5px;
}

/* .character-table-body.hidden {
    display: none;
} */

.section-info.hidden {
    display: none;
}

.rank-flag img {
	width: 20px;
}

.rank-name-heading {
	font-weight: 600;
    font-size: 16px;
    padding-top: 10px;
	padding-top: 0;
    text-transform: uppercase;
    font-family: 'SF Dojo', sans-serif;
    background: linear-gradient(to right, #d07b69, #fdcb10, #fffefc, #fdcb10, #d07b69);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rank-footnote {
	font-size: 12px !important;
    font-family: 'Montserrat';
    font-weight: 500;
	color: #fff;
}

.rank-number {
    width: 29px !important;
    display: inline-block !important;
}

span.rank-name {
	padding-right: 0 !important;
}

span.rank-rank {
	color: #fed333;
}

.character-table-body td {
	width: initial !important;
}

.game-winner.hidden {
    display: none;
}

.spoiler {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  top: 2px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4CAF50;
}

input:focus + .slider {
  box-shadow: 0 0 1px #4CAF50;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

label,
input,
select {
	font-family: 'Montserrat', sans-serif !important;
}

.label {
  font-size: 18px;
  color: #fff;
}

.row-filter {
	display: flex;
	max-width: 850px;
    margin: 0 auto !important;
}

.reset {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#reset-button {
	margin: 0 auto;
    padding: 7px 40px
}

.btn-danger {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

.btn-danger:hover {
  background-color: #c82333;
}

.search {
  position: relative;
}

.form-control {
	width: 100%;
	padding: 8px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.search-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #fff;
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 4px 4px;
	max-height: 200px;
	overflow-y: auto;
	z-index: 999;
}

.suggestion {
  	padding: 8px;
  	cursor: pointer;
}

.suggestion:hover {
  	background-color: #f2f2f2;
}

.character-type-popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	background-color: #fff;
	padding: 15px;
	/* width: 120px; */
	text-align: center;
    border-radius: 5px;
}

.new-button,
.old-button {
    font-weight: 300 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    background: linear-gradient(to right, #f39312, #e96d19) !important;
    color: #fff !important;
    border: none !important;
    width: 100% !important;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0 10px;
	text-decoration: none;
}

.btn-container-1p {
	background-color: #fff;
    padding: 20px 5px 20px 20px;
	border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.btn-container-span {
	padding: 19px 0 18px 0;
    background-color: #fff;
    font-family: 'Montserrat' !important;
    font-weight: 700;
}

.btn-container-2p {
	background-color: #fff;
    padding: 20px 20px 20px 5px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.row-portraits {
	    --bs-gutter-x: 0 !important;
}

/* @media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 95% !important;
    }
} */

@media (max-width: 991px) {
	
	.rank-number {
		width: 20px !important;
	}
	
	.character-table-head th,
	.video-table-head th, .video-table-body td {
		font-size: 13px !important;
	}
	
}

/* @media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 95% !important;
    }
} */

/* Modal */

.modal-content {
	background-color: transparent !important;
}

.modal-header {
	display: none !important;
}

.modal-body {
	padding: 0 !important;
}

.embed-responsive-item {
	width: 100% !important;
    height: 400px !important;
    border: 3px solid #fff !important;
    border-radius: 5px !important;
    background-color: #000 !important;
}

/* ********** ADD VIDEO ********** */

.l-message {
	display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.hero-add-video {
	padding-top: 100px;
	padding-bottom: 100px;
	height: calc(100vh - 80px);
}

.gform_required_legend {
	display: none !important;
}

.gform_title {
	color: #2f3074 !important;
    background: none;
    background: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 26px !important;
	text-align: center;
    margin-bottom: 25px !important;
}

.gform_wrapper {
    font-family: 'Montserrat', sans-serif !important;
	padding: 50px;
    background-color: rgba(255, 255, 255, .98);
    border-radius: 10px;
}

.gform-theme--foundation .gform_fields {
	grid-row-gap: 20px !important;
}

button[type="submit"],
.gform_button {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
	background: linear-gradient(to right, #f39312, #e96d19) !important;
	color: #fff !important;
	border: none !important;
	width: 100% !important;
}

.gform_confirmation_message {
	text-align: center !important;
}

.dual-btn {
	text-align: center;
}

.dual-btn a {
	font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    background: linear-gradient(to right, #f39312, #e96d19) !important;
    color: #fff !important;
    border: none !important;
    margin: 5px !important;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

/* ********** FOOTER ********** */

footer {
	display: none;
}

/* ********** MEDIA QUERIES ********** */

@media (max-width: 767px) {
	
	.character-select .col-character:first-of-type,
	.col-character {
    	flex-basis: 16.667%;
	}
	
	.character-select .col-character:first-of-type .character-image {
		max-width: 100%;
	}
	
}