
:root {
  --header-height: 3.5rem;
  --first-hue: 08;
  --sat: 100%;
  --lig: 50%;
  --second-hue: 793;

  --first-color: hsl(var(--first-hue), var(--sat), var(--lig));
  --first-color-alt: hsl(var(--first-hue), var(--sat), 46%); /* -4% */
  --title-color: hsl(var(--second-hue), 15%, 95%);
  --text-color: hsl(var(--second-hue), 8%, 75%);
  --text-color-light: hsl(var(--second-hue), 4%, 55%);
  --body-color: hsl(var(--second-hue), 48%, 8%);
  --container-color: hsl(var(--second-hue), 11%, 11%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --tiny-font-size: .625rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semibold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  /*font-family: var(--body-font);*/
  font-size: 1.3rem;
}

body {
    color: black;
  transition: .4s; /* for light mode animation */
}

 h2, h3 {
    color: black;
  font-weight: var(--font-semibold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}



img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.main {
  overflow: hidden;
}

.section {
  padding: 4.5rem 0 1rem;
}

.section__title, 
.section__subtitle {
  text-align: center;
}

.section__title {
    padding: 3.6% 0;
  font-size: 3rem;
  color: black;
  margin-bottom: 2rem;
}

.section__subtitle {
  display: block;
  font-size: var(--smaller-font-size);
  color: black;
}

/*=============== CONTACT ===============*/
.contact_container{
    row-gap: 4rem;
    padding-bottom: 3rem;
}

.contact_title{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.contact_info{
    display: grid;
    gap: 3rem;
}

.contact_card{
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.308);

    color: black;
    border: 3px solid gray;
    padding: 1rem;
    border-radius: 7.75px;
    text-align: center;
}

.contact_card-icon{
    font-size: 2rem;
    color: black;
    margin-bottom: 2.25rem;
}

.contact_card-title,
.contact_card-data{
    font-size: 16px;
}

.contact_card-title{
    font-weight: 16px;
}

.contact_card-data{
    display: block;
    margin-bottom: .75rem;
}

.contact_button{
    color: black;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: .25rem;
}

.contact_button:hover .contact_button-icon{
    transform: translateX(.25rem);
    color: black;
    
}

.contact_button-icon{
    font-size: 1rem;
    transition: .4s;
}
input.button{
    color:black;
    cursor: pointer;
    border:  2px solid black;
    background: transparent;
    padding: 3% 2%;
    margin: 2% 0;
    border-radius: 8px;
    transition: all .4s;
}

.contact_form-div{
    position: relative;
    margin-bottom: 2rem;
    height: 4rem;
}

.contact_form-input{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--text-color-light);
    background: none;
    color: black;
    outline: none;
    padding: 1.5rem;
    border-radius: .75rem;
    z-index: 1;
}
.contact_form-tag::after{
    content: ' *';
    color: red;
    font-size: 1.4rem;
}
.contact_form-tag{
    position: absolute;
    top: -.75rem;
    left: 1.25rem;
    font-size: var(--small-font-size);
    padding: .25rem;
    color: black;
    background-color: white;
    z-index: 10;
}

.contact_form-area{
    height: 11rem;
}

.contact_form-area textarea{
    resize: none;
}

@media screen and (min-width: 567px){


    .contact_info{
        grid-template-columns: 300px;
        justify-content: center;
    }

    .contact_form{
        width: 360px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 767px){


    .contact_container{
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        column-gap: 3rem;
    }


}


/* For large devices */
@media screen and (min-width: 992px){
    .container{
        margin-left: auto;
        margin-right: auto;
    }
    
    .section{
        padding: 6.5rem 0 1rem;
    }

    .section__title{
        margin-bottom: 3.5rem;
    }



    .contact_container{
        column-gap: 6rem;
    }
}
