@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;1,400&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
    --primary-clr: #3e3e3e;
    --primary-text-clr: #3777bc;
    --secondary-clr: #ec6c5f;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'sans-serif';
    color: var(--primary-clr);
    font-size: 18px;
}

#page-container {
    position: relative;
    min-height: 100vh;
    padding-bottom: 10rem;
}

#content-wrap {
    padding-bottom: 2.5rem;
}

.center {
    display: flex;
    justify-content: center;
}

.summary {
    width: 70%;
}

.header-logo {
    width: 220px;
}

.logo {
    width: 160px;
    transition: transform 0.3s;
}

.font-primary{
    position: relative;
    font-style: italic;
    width: max-content;
    color: var(--primary-text-clr) !important;
}

.font-primary::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg,#ec6c5f,#fff);
}

.font-secondary {
    position: relative;
    width: max-content;
    color: #266684;
}

.heading {
    position: relative;
    width: max-content;
    padding-bottom: 4px;
}

.heading::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg,#6fa9d9,#6fa9d9 28%,#EC6A5C 0,#ec6a5d 38%,#58595b 0);
    width: 100%;

}

img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}


.dog-img {
    width: 30%;
}

.footer {
    text-align: center;
    background-color: #edf7f3;
    height: 10rem;
    padding: 2rem;
    position: absolute;
    font-size: 14px;
    bottom: 0;
    left: 0;
    right: 0;
}

a {
    color: var(--primary-text-clr);
    text-decoration: none;
}

.light {
    font-weight: lighter;
    color: rgba(62, 62, 62, 0.8);
}

a:hover {
    color: #ec6c5f;
}

#trials th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: var(--secondary-clr);
    color: white;
  }

.summary-box {
    border: 2px solid hsl(211, 55%, 30%);
    background-color: hsl(211, 55%, 48%);
    padding: 1em;
    /* font-weight: 400; */
    font-size: 1.2rem;
    display: inline-block;
    color: #FFF;
    line-height: 1.2em;
    box-shadow: 0 1px 1px rgba(0,0,0,0.13), 
              0 2px 2px rgba(0,0,0,0.13), 
              0 4px 4px rgba(0,0,0,0.13), 
              0 8px 8px rgba(0,0,0,0.13);
}

.summary-box > * {
    font-size: 1.5rem;
}

.social-icons {
    font-size: 1.8rem;
}

.social-icons > * {
    padding-right: 0.8rem;
}

.fa-facebook, .fa-facebook-square {
    color: hsl(221, 44%, 45%);
    transition: all ease-in-out 0.3s;
}

.fa-facebook:hover{
    color: hsl(221, 44%, 38%);
    font-size: 2rem;
}

.fa-twitter, .fa-twitter-square {
    color: hsl(196, 100%, 46%);
    transition: all ease-in-out 0.3s;
}

.fa-twitter:hover {
    color: hsl(196, 100%, 38%);
    font-size: 2rem;
}

.fa-linkedin, .fa-linkedin-square {
    color: hsl(199, 100%, 38%);
    transition: all ease-in-out 0.3s;
}

.fa-linkedin:hover{
    color: hsl(199, 100%, 30%);
    font-size: 2rem;
}

.fa-instagram {
    color: hsl(207, 34%, 48%);
    transition: all ease-in-out 0.3s;
}

.fa-instagram:hover {
    color: hsl(207, 34%, 40%);
    font-size: 2rem;
}

.drug {
    color: #ED4434;
}

.icon {
    font-size: 1.3rem;
}

.navback {
    padding: 1rem;
    background-color: #ec6a5d;
    color: #fff;
    border-radius: 40px;
    width: max-content;
    transition: all 0.3s ease-in-out;
    color: #fff;
    box-shadow: 2px 2px 4px #c2c1c1,
                2px 2px 6px #c2c1c1,
                2px 2px 8px #c2c1c1;
}

.navback:hover {
    color: #ec6a5d;
    background-color: transparent;
    border: 2px solid #ec6a5d;
}

ul{
    list-style-type: none;
}

ul > li:before {
    content: '\2014';
    position: absolute;
    margin-left: -1.2em;
    color:var(--secondary-clr);
    font-weight: bold;
}

li:not(:last-child) { 
    margin-bottom: 12px;  
 }


.subheading {
    color: hsl(0, 0%, 32%);
}


.fa-prescription-bottle-medical{
    color: #ED4434;
}

@media screen and (max-width: 768px) 
{
    body {
        font-size: 1rem;
    }
    .heading {
        font-size: 1.6rem;
    }

    .summary-content {
        display: block;
    }

    .summary-box {
        font-size: 0.8rem;
        padding: 1.2em;
    }

    .summary {
        width: 100%;
    }

    .navback {
        font-size: 0.8rem;
    }
    
    .font-primary {
        font-size: 1.4rem;
    }
    
    .dog-img {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }

    .light {
        margin-top: 1.5rem;
        font-size: 0.8rem;
        width: max-content;
    }

    .social-icons {
        margin-top : 0.7rem;
        font-size: 1.8rem;
        padding-bottom: 3rem;
    }
}