/*

Theme Name: Sofass

Theme URI: https://mygoalthemes.com/demo/sofass

Author: GoalTheme

Author URI: http://mygoalthemes.com/

Description: Sofass is clean theme, it's used Goalthemes Framework.

Version: 1.3.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready

Text Domain: sofass

Tested up to: 5.4

Requires PHP: 7.0

This theme, like WordPress, is licensed under the GPL.

Use it to make something cool, have fun, and share what you've learned with others.

*/

img {
  max-width: 100%;

  height: auto;
}

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  clear: both;

  display: block;

  margin: 5px auto 5px auto;
}

.alignright {
  float: right;

  margin: 5px 0 32px 2em;
}

.wp-block-image .alignright {
  margin-left: 2em;
}

.alignleft {
  float: left;

  margin: 5px 2em 32px 0;
}

.wp-block-image .alignleft {
  margin-right: 2em;
}

a img.alignright {
  float: right;

  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;

  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;

  margin-left: auto;

  margin-right: auto;
}

.wp-caption {
  background: #fff;

  max-width: 96%; /* Image does not overflow the content area */

  padding: 5px 3px 10px;

  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;

  height: auto;

  margin: 0;

  max-width: 98.5%;

  padding: 0;

  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;

  line-height: 17px;

  margin: 0;

  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);

  position: absolute !important;

  height: 1px;

  width: 1px;

  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;

  border-radius: 3px;

  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);

  clip: auto !important;

  color: #21759b;

  display: block;

  font-size: 14px;

  font-size: 0.875rem;

  font-weight: bold;

  height: auto;

  left: 5px;

  line-height: normal;

  padding: 15px 23px 14px;

  text-decoration: none;

  top: 5px;

  width: auto;

  z-index: 100000; /* Above WP toolbar. */
}

.gallery-caption {
  box-sizing: border-box;
}

.bypostauthor {
  box-sizing: border-box;
}

.wp-block-pullquote {
  border: none;
}

.wp-block-categories-list.aligncenter {
  text-align: center;
}

rs-module-wrap {
  z-index: 0;
}

/* Hide main content initially */

body.splash-loading #main-content {
  display: none;
}

/* Show main content after splash screen */

body.splash-done #main-content {
  display: block;
}

/* Splash Screen Styles */

#splash-screen {
  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background-color: #ffffff; /* Change to your preferred background color */

  display: flex;

  justify-content: center;

  align-items: center;

  flex-direction: column; /* Stack image and loading animation vertically */

  z-index: 9999;

  opacity: 1;

  transition: opacity 1s ease-in-out;
}

#splash-screen img {
  max-width: 80%; /* Adjust as needed */

  height: auto;

  animation: fadeIn 2s ease-in-out;
}

/* Loading Animation */

.loader {
  border: 5px solid #f3f3f3; /* Light grey */

  border-top: 5px solid #3498db; /* Blue */

  border-radius: 50%;

  width: 50px;

  height: 50px;

  animation: spin 1s linear infinite;

  margin-top: 20px; /* Space between image and loader */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#splash-screen.hide {
  opacity: 0;

  pointer-events: none;
}

#rev_slider_1_1 {
  width: 100% !important;
}
