/*
Theme Name: EUtheme
Theme URI: 
Author: Fabrizio Del Tufo
Author URI: https://wewebby.com
Description: OSP Minimal Theme with fixed header. 
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Tags: blog, portfolio.
*/

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

/* ! DEFAULT */
a {
  text-decoration: none;
}

ul {
  list-style-type: none;
}

.img-res {
  width: 100%;
}

/* ! HELPERS */
.br {
  border: 1px solid red;
}

.border-radius {
  border-radius: 15px;
}

/* ! BUTTON */

.button {
  color: white !important;
  background-color: black;
  border: 2px solid black;
  border-radius: 15px;
  padding: 15px 30px;
  min-width: 200px;
  white-space: nowrap;
}

.button:hover {
  color: black !important;
  background-color: white;
  border: 2px solid black;
}

/* CTA BUTTON  */
#cta-button {
  background-color: red;
  border: 2px solid red;
  padding: 15px 30px;
  font-weight: bold;
}

#cta-button:hover {
  color: red !important;
  background-color: white;
  border: 2px solid red;
}

#logo-button {
  color: black !important;
  background-color: white;
  border: 1px solid white;
}
#cover-cta-button {
  margin-top: 40px;
}

/* ! BODY, HTML */
body,
html {
  font-size: 16px;
  font-weight: 300;
  color: black;
  font-family: Arial, sans-serif;
}

/* ! HEADER */
.header {
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.header a {
  display: block;
  color: black;
  font-weight: bold;
  padding: 15px 20px;
}

/* ! HEADER - LOGO */
.header__logo {
  font-weight: bold;
  font-size: 25px;
  color: black;
  /* border: 1px solid red; */
}

/* ! HEADER - MENU */
.header__menu {
  margin-bottom: 0;
}

.header__menu li {
  display: inline-block;
}

.header .contact-mobile {
  display: none;
}

.contact-desktop {
  margin-right: 15px;
  text-align: center;
}

.header__hamburger {
  display: none;
}

/* ! COVER */

.cover {
  background-color: #e4c8c8;
  padding-top: 80px;
  width: 100%;
}

.media-text {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5%;
  padding-top: 20px;
  margin-bottom: 0 !important;
}

.text {
  flex-basis: 40%;
  padding: 50px;
  min-width: 400px;

  /* font-size: 25px; */
}

.media {
  flex-basis: 40%;
}

#cover-media {
  margin: -3px;
}

#cover-text h2 {
  margin-bottom: 20px;
}

#cover-text p {
  margin-bottom: 40px;
}

h1 {
  text-transform: capitalize;
  font-weight: bold;
  font-size: 50px;
  margin: 10px 0;
}

h2 {
  font-weight: normal;
  font-size: 30px;
  /* margin: 10px 0; */
}

p {
  font-size: 25px;
}

.cta {
  margin-top: 30px;
  max-width: 300px;
  text-align: center;
  background-color: #f70707 !important;
  border: 1px solid red !important;
  font-weight: bold;
}

.cta:hover {
  background-color: #ffffff !important;
  border: 1px solid red !important;
  color: #f70707 !important;
}

/*  -----------------------------------------------------------------------------------------------
SECTIONS
--------------------------------------------------------------------------------------------------- */
/* ! WHO AM I  */

.who-am-i {
  padding: 70px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  gap: 50px;
}

/*  -----------------------------------------------------------------------------------------------
SECTIONS
--------------------------------------------------------------------------------------------------- */
/* ! MISSION */

.mission {
  background-color: #e4c8c8;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mission .text {
  min-width: 400px;
}

#media-mission {
  width: 500px;
  height: 750px;
}

/*  -----------------------------------------------------------------------------------------------
SECTIONS
--------------------------------------------------------------------------------------------------- */
/* ! CONSULTA */

.service {
  padding: 70px 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-cards {
  padding: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}

.card01,
.card02,
.card03 {
  flex-basis: 25%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card01 img,
.card02 img,
.card03 img {
  margin-bottom: 20px;
}

.card01 h2,
.card02 h2,
.card03 h2 {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}

/* ! FOOTER */
.footer {
  background: #e4c8c8;
  padding: 30px;
}

/* ! FOOTER - CONTACT BOX */
.footer__contact__msg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer__contact__msg__quote {
  padding-bottom: 20px;
  max-width: 800px;
}

.footer__contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 60px;
  padding: 20px;
  font-weight: bold;
}

.footer__contact__name {
  text-align: left;
}

.footer__contact_ref {
  text-align: right;
}

/* ! FOOTER - SOCIALS */
.footer__socials_box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
}

.footer__socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.footer__socials li {
  list-style-type: none;
}

.footer__socials a {
  color: black;
}

.footer__socials a:hover {
  color: grey;
}

/* ! TOP BUTTON */
#topButton {
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.3);
  color: black;
  border: 1px solid black;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 1000;
}

#topButton:hover {
  background-color: #000000;
  color: white;
  border: 1px solid rgb(255, 255, 255);
}

/* ! SOCKET */
.socket {
  background-color: white;
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
}

.socket-copyright {
  padding-bottom: 5px;
}

.socket p {
  font-size: 15px !important;
}

.socket-credit a {
  text-align: center;
  color: orange;
  padding-right: 50px;
}

.socket-credit a:hover {
  text-align: center;
  color: gray;
}

/* ! MEDIA QUERY 1024px */
@media (max-width: 1024px) {
  /* COVER SECTION */
  .media-text #cover-text {
    flex-basis: 100%;
  }

  /* MISSION SECTION */
  .mission {
    padding-top: 20px;
  }
  .mission .media-text {
    display: flex;
    flex-direction: column;
  }

  /* FOOTER SECTION */
  .footer__contact {
    gap: 50px;
  }
}

/* ! MEDIA QUERY 768 */
@media (max-width: 768px) {
  /* HEADER */
  .header .contact-desktop {
    display: none;
  }

  .header .contact-mobile {
    display: block;
  }

  /* SHOW HAMBURGER BUTTON */
  .header .header__hamburger {
    display: block;
    width: 40px;
    height: 40px;
    margin-top: 9px;
    margin-right: 4px;
  }

  .header .header__hamburger span {
    width: 33px;
    height: 2px;
    background: #000;
    margin-top: 8px;
    display: block;
    transition: all 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  /* SHOW HAMBURGER MENU */
  .header .header__menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #e4c8c8;
    height: 0;
    overflow: hidden;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .header .header__menu li {
    display: block;
    padding-left: 40px;
  }

  .header__menu li:hover {
    background-color: rgba(0, 0, 0, 1);
    color: white;
  }
  .header__menu li a:hover {
    color: white;
  }

  /* DISPLAY BLOCK MENU */
  .menu-open .header__hamburger span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-open .header__hamburger span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .menu-open .header__menu {
    height: 100vh;
  }

  .menu-open {
    overflow: hidden;
  }

  /* COVER SECTION */
  .cover {
    padding-top: 20%;
  }

  .cover .media-text {
    padding: 0;
  }

  .cover .media-text .text {
    min-width: 0;
    padding: 20px;
  }

  .cover .media-text #cover-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cover .media {
    flex-basis: 100%;
  }

  #cover-media {
    padding-top: 50px;
  }

  /* WHO AM I SECTION */
  .who-am-i {
    padding: 0;
    gap: 0;
  }

  .who-am-i h1 {
    font-size: 32px;
    margin-top: 20px;
  }

  .who-am-i .media-text {
    padding-top: 0;
  }

  .who-am-i .text {
    padding: 20px;
    min-width: 0;
    flex-basis: 100%;
  }

  .who-am-i .media {
    flex-basis: 100%;
    padding: 20px;
  }

  .who-am-i #rev-order {
    flex-flow: column-reverse;
  }

  /* MISSION SECTION */
  .mission h1 {
    font-size: 32px;
  }

  .mission .media-text {
    padding-top: 0;
  }

  .mission .media-text .text {
    padding: 20px;
    min-width: 0;
    flex-basis: 100%;
  }

  .mission .media-text .media {
    flex-basis: 100%;
  }

  #media-mission {
    width: 100%;
    height: auto;
  }

  /* SERVICES SECTION */

  .service {
    padding-top: 20px;
  }

  .service h1 {
    font-size: 30px;
  }

  .service-cards {
    padding: 20px;
  }

  .card01,
  .card02,
  .card03 {
    flex-basis: 100%;
    margin-bottom: 80px;
  }

  .card03 {
    margin-bottom: 0;
  }

  /* FOOTER */

  .footer {
    padding: 20px;
  }

  .footer__contact__msg h1 {
    font-size: 32px;
  }

  .footer__contact {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;
  }

  .footer__contact__name p {
    font-size: 28px;
  }

  .footer__contact__ref p {
    font-size: 20px;
  }
}
