/*
Theme Name: Nobelia
Text Domain: Nobelia
Version: 1.0
*/
@font-face {
    font-family: 'Lato'; /* Name your font family */
    src: url('./assets/fonts/Lato-Regular.ttf'); /* Locate the .ttf file within your directory*/
}
@font-face {
    font-family: 'Parisienne'; /* Name your font family */
    src: url('./assets/fonts/Parisienne-Regular.ttf'); /* Locate the .ttf file within your directory*/
}
@font-face {
    font-family: Satisfy; /* Name your font family */
    src: url('./assets/fonts/Satisfy-Regular.ttf'); /* Locate the .ttf file within your directory*/
}

:root {
    --bg-color: #FFFAFA;
    --primary-color: #d5ad18;
    --primary-color-filter: invert(78%) sepia(13%) saturate(3997%) hue-rotate(3deg) brightness(95%) contrast(81%);
    --secondary-color: #ffc900ff;
    --sans-serif-font: "Lato";
    --handwritten-font: "Parisienne";
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    color: var(--primary-color);
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--sans-serif-font);
    line-height: 1.8;
    font-size: 20px;
    background-image: url(./assets/img/CurveLine.svg);
    background-size: cover;
    background-position: center;
}

/* SOCIALS ICONS */

.socials {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

ul.socials-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.socials-menu li {
    display: inline-block;
    font-size: 0;
    margin: 10px 5px 10px 5px;
    padding: 2px 2px;
    border: solid 3px var(--primary-color);
    border-radius: 50%;
}

ul.socials-menu li a img {
    height: 40px;
    border-radius: 50%;
    padding: 2px 2px;
    filter: var(--primary-color-filter);
    transition: 0.3s all ease;
}

ul.socials-menu li a:hover img {
    transform: scale(1.3);
}



/* HEADER */

#site-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #d5ad18 11%,#f1e767 86%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    height: 90px;
}


/* LEFT HEADER */

#site-header .left-header {
    position: absolute;
    left: 50px;
}


#site-header .left-header .logo {
    margin: 0;
}

#site-header .logo a img {
    transition: all 0.3s ease;
    height: 88px;
}

#site-header .logo a:hover img {
    filter: drop-shadow(0 0 0.75rem var(--bg-color));
    transform: rotate(-3deg) translateY(-5px);
}

/* MIDDLE HEADER */

#site-header .middle-header {
    display: flex;
    padding: 10px 0px;
}

#site-header .middle-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

#site-header .middle-header ul li {
    display: inline-block;
    margin: 0px 25px;
}

#site-header .middle-header ul li a {
    font-family: var(--handwritten-font);
    font-size: 35px;
    font-weight: normal;
    text-decoration: none;
    color: white;
    transition: 0.3s all ease;
}

#site-header .middle-header ul li a:hover {
    color: var(--primary-color);
}

#site-header .middle-header ul li ul {
    position: absolute;
    display: none;
}

#site-header .middle-header ul li:hover ul {
    background: linear-gradient(to bottom, #d5ad18 11%,#f1e767 86%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    display: block;
    margin-right: 100px;
    border-radius: 10px;
}

#site-header .middle-header ul li:hover ul li {
    display: block;
    color: white;
}

#site-header .menu-toggle {
    background-color: white;
}

.menu-toggle {
    display: none;
	position: absolute;
	top: 100px;
	right: 20px;
	width: 60px;
	height: 60px;
	border-radius: 99px;
	background-color: white;
	opacity: 1;
	cursor: pointer;
    z-index: 99999;
}

.hamburger {
	position: relative;
	top: calc(50% - 2px);
	left: 50%;
	transform: translate(-50%, -50%);
	width: 32px;
}

.hamburger > span,
.hamburger > span::before,
.hamburger > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background-color: var(--primary-color);
  transition-duration: .25s;
}

.hamburger > span::before {
  content: '';
  top: -8px;
}
.hamburger > span::after {
  content: '';
  top: 8px;
}
.menu-toggle.is-active .hamburger > span {
  transform: rotate(45deg);
}
.menu-toggle.is-active .hamburger > span::before {
  top: 0;
  transform: rotate(0deg);
}
.menu-toggle.is-active .hamburger > span::after {
  top: 0;
  transform: rotate(90deg);
}



/* RIGHT HEADER */

#site-header .right-header {
    background-color: transparent;
}

/*  MAIN CONTENT */

#main-content {
    flex: 1;
    display: flex;
}

#main-content .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    margin: 25px 25%;
}

#main-content .container h1 {
    font-size: 55px;
    font-family: var(--handwritten-font);
}

#main-content .container p {
    margin: 10px 0px;
    text-align: justify;
    text-justify: inter-word;
}

#main-content .container img  {
    max-width: 500px;
    object-fit: cover;
}

#main-content .container .rounded img {
    clip-path: circle();
}

#main-content .carousel-slider-outer {
    max-width: 500px;
}

/* FOOTER */

#site-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background-color: transparent;
}

#site-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* MEDIA QUERIES */
@media screen and (max-width: 1600px) {
    #site-header .left-header {
        left: 30px;
    }
}

@media screen and (max-width: 1500px) {
    #site-header .left-header {
        left: 15px;
    }

    #site-header .middle-header ul li {
        margin: 0px 12px;
    }
}

/* WORDPRESS BLOCKS */
.wp-block-gallery {
    margin: 10px 0px;
}


@media screen and (max-width: 1280px) {
    #site-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        height: auto;
    }

    #site-header {
            padding-top: 10px;
    }

    #site-header .left-header {
        position: relative;
        left: 0px;
    }

    #site-header .left-header .logo{
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    #site-header .middle-header {
        padding: 0;
    }

    #site-header .middle-header ul li {
        margin: 0px 15px;
    }
}

@media screen and (max-width: 1024px) {
    #main-content .container {
        margin: 25px 150px;
    }

    #site-header .middle-header ul li a {
        font-size: 30px;
    }
}

@media screen and (max-width: 720px) {
    #main-content .container {
        margin: 25px 5px;
    }

    #main-content .container img {
        max-width: 350px;
        object-fit: cover;
    }

    #main-content .container p {
        font-size: 18px;
        margin: 15px 5px;
    }

    #site-header .left-header .logo {
        margin-bottom: 20px;
    }

    #site-header .middle-header {
        border-top: 2px dashed var(--bg-color);
    }

    #site-header .middle-header .menu-toggle {
        display: block;
    }

    #site-header .middle-header .header-menu {
        display: none;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #site-header .middle-header .header-menu.is-active {
        display: block;
    }

    #site-header .middle-header ul li {
        display: block;
    }

    #site-header .middle-header ul li a {
        font-size: 30px;
    }

    #site-footer {
        font-size: 18px;
    }
}