@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;800&family=Fira+Sans+Condensed:wght@400;700&display=swap');

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

html {
    scroll-behavior: smooth;
  }

body{
   
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    font-size: 1.1rem;

}


h1,
h2,
h3,
h4,
.btn-basic,
.btn-normal{
    font-family: "Fira Sans Condensed", Arial, sans-serif;
}

h1, 
h2, 
h3,
h4,
p{
    color: #323332;
}



h1{
    font-size: 4rem;
    margin-bottom: 3rem;
}

h2{
    display: inline-block;
    font-size: 2.8rem;
    text-align: center; 
    margin: 0 auto 32px;
    position: relative;
}

h2::before,
h2::after{
    content:'';
    width:56px;
    height: 56px;
    background-color: pink;
    position:absolute;
}

h2::before{
    background-color: #c8e3c8;
    z-index: -1;
    top:-8px;
    right:-24px;
}

h2::after{
    background-color: #008000;
    z-index: -2;
    top:-16px;
    right:-32px;
}

h2.light-title::before{
    background-color: #008000;
    z-index: -1;
    top:-8px;
    right:-24px;
}

h2.light-title::after{
    background-color: #c8e3c8;
    z-index: -2;
    top:-16px;
    right:-32px;
}


h3{
    font-size: 2rem;
    margin-bottom: 24px;
}

h4
{
    font-size: 1.1rem;
    text-decoration: underline;
}

p{
    margin-bottom: 24px;
    line-height: 1.8rem;
    font-weight: 400;
}

.short-read
{
    max-width: 960px;
    margin: 0 auto 24px;
    
}

.rso{
    display: flex;
    justify-content: space-between;
    width:116px;
    margin: 2rem 0;
}

.rso li{
    list-style-type: none;
    height:48px;
    width:48px;
    border: 1px solid;
    border-radius: 50%;
    position: relative;
}

.rso li a{
font-size: 1.6rem;
   position: absolute;
   top:50%;
   left: 50%;
   transform: translateX(-50%) translateY(-50%);
    
}

.rso-light li{
    border-color: #fff;
}

.rso-light li a{
    color: #fff;
}

.rso-dark li{
    border-color: #323332;;
}

.rso-dark li a{
    color: #323332;;
}


.btn-call-me
{
    display: block;
    text-align: center;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
}

.btn-basic
{
    margin:4rem auto 0;
}

.btn-normal
{
    margin:24px auto 0;
}

.btn-basic,
.btn-normal
{
    padding: 0.7rem 2rem;
    display: inline-block;
    
    transition: all 0.3s;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    color:#323332;;    
    
    /*background-color: #fbbf01;*/
    background-color: #fbd14a;
    position: relative;
}

.btn-basic:hover,
.btn-normal:hover
{
    background-color: #ffc400;
}

.btn-basic::before,
.btn-basic::after
{
    content:'';
    position: absolute;
    width:2.6rem;
    height:2.6rem;
    background-color: #008000;
    z-index:-1;
    opacity: 1;
    transition: all 0.3s;
}

.btn-basic::before{
    top:-8px;
    left:-8px;
}

.btn-basic::after{
    bottom:-8px;
    right:-8px;
}

.btn-basic:hover:before{
    transform: translateX(8px) translateY(8px);
    opacity: 0;
}

.btn-basic:hover:after{
    transform: translateX(-8px) translateY(-8px);
    opacity: 0;
}

a.light-link
{
    color:#c8e3c8;
}

#wrapper{

 
    margin: 0 auto;
    max-width: 1280px;
    padding:0 16px;
    
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

#content
{
    flex-grow: 1;
    
}

header h1{
    text-align: center;
    padding:72px 0 0;
}

header p{
    text-align: center;
    padding:0 0 0 0;
}



.bg100 > .bg, 
.footer-bg{
    width: 100vw; /* make it 100% of the viewport width (vw) */
    margin-left: calc((100% - 100vw) / 2);  /* then remove the gap to the left of the container with this equation */    
    
}


main section{
    position: relative;
    z-index: 1;
    
}

main section > article{
    width: 100%;
    position: relative;
    z-index: 1;
}

main section > article p{
    margin-bottom: 1rem;
}

main section.bg100{
    position: relative;
    
}


main section.bg100 > .bg{
    /*background-color: #f7f7f7;    */
    position:absolute;
    z-index: -1;
    height:100%;
}

main section.bg100 > article{
    padding:72px 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main #to-top-btn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 1rem; /* Place the button at the bottom of the page */
    right: 1rem; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #323332;; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    
    font-size: 18px; /* Increase font size */
  }
  
  main #to-top-btn:hover {
    background-color: #323332;; /* Add a dark-grey background on hover */
  }

 

footer{
    position: relative;
  

}

footer h3,
footer p
{
    color:#fff;
}


footer .footer-bg{
    height:100%;
    background-color:#323332;;
    position:absolute;
    top:0;
    left:0;
}

footer .footer-content{
    padding: 48px 0;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

footer .footer-content>div{
    position: relative;
    z-index: 1;
}



footer .footer-content nav{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 3;
}

footer .footer-content ul:nth-child(1),
footer .footer-content ul:nth-child(2)
{
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

footer .footer-content ul:nth-child(1) li,
footer .footer-content ul:nth-child(2) li
{
    list-style-type: none;
}

footer .footer-content ul:nth-child(1) li:not(:first-child)::before
{
    content:"|";
    margin:0 1rem;
}

footer .footer-content ul:nth-child(1) li a,
footer .footer-content ul:nth-child(2) li a
{
    text-decoration: none;
    color: #FFF;
}

footer .btn-basic{
    margin-top: 2rem;
}
  /***************************************RESPONSIVE***********************************/


  @media screen and (max-width: 1080px) {

    h1{
        font-size: 4rem;
        margin-bottom: 3rem;
    }
    
    h2{
        font-size: 2.4rem;
        
    }
    
    h2::before,
    h2::after{    
        width:48px;
        height: 48px;
   
    }
       
    
    h3{
        font-size: 1.6rem;
     
    }

       

    footer{
            
        text-align: center;
    }

    footer .footer-bg{
        height:100%;
    }

    footer .footer-content{       

        flex-direction: column;
        align-items: center;
    }

    footer .footer-content nav{
       
        align-items: center;
    }

    footer .footer-content ul:nth-child(1),
    footer .footer-content ul:nth-child(2)
    {
        flex-direction: column;
        justify-content: center;
    }

    footer .footer-content ul:nth-child(1) li:not(:first-child)::before
    {
        content:"";
        margin:0 0;
    }
    
  }

  @media screen and (max-width: 960px) {

    header
    {
        margin-top: 56px;
    }

    main section.bg100 > article{
        padding:48px 0 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-nav
    {
        position: relative;
       margin-top: 48px;
    }

    .footer-nav li
    {
        padding: 8px 0;
       
    }

    
  }

  @media screen and (max-width: 600px) {

    h1{
        font-size: 2.6rem;
        margin-bottom: 3rem;
    }
    
    h2{
        font-size: 2.2rem;      
        margin-bottom: 24px; 
    }
    
    h2::before,
    h2::after{    
        width:0px;
        height: 0px;
   
    }
       
    
    h3{
        font-size: 1.6rem;
     
    }
   

    .btn-basic,
    .btn-normal
    {
        display: inline-block;
        margin: 24px auto 0;
        text-align: center;

    }

    .btn-call-me
{
    margin-bottom: 24px;
}

    main #to-top-btn {
        display: none;
    }
  }
  
 

    
  
    
  

