/* CSS Variables */
:root {
    --primary-color: #b90415;
    --primary-color-hover: #d3071b;
    --secondary-color: #103063;
    --secondary-color-hover: #143f85;
    --light-color: #f4f4f4;
}
body {
    font-family: "PT Sans", sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    color: rgb(2, 2, 2);
    line-height: 1.6;
}
img {
    width: 100%;
}     
a {
    text-decoration: none;
    color: #ccc;
}
      
/* Section */
.section {
    padding: 2rem 0;
}  
.section-head {
    font-size: 2rem;
    margin: 0;
    text-align: right;
}
.section h3 {
    text-align: right;
}
.section h1 {
    margin: 1rem;
}
.gift-cards {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    text-align: justify;
}
.gift-cards img{  
    margin-right: 20%;
    max-width: 70%;
    height: auto;
    border-radius: 8px;
}
.cm{
    border: dashed rgba(106, 106, 227, 0.833);
    text-align: center;
    padding: 1rem;
}
.cm a{
    color: #eb016ebb;
}
.gift-cards-2 {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    border:solid #8cb2efc6;
    border-radius: 8px;
    padding: 1rem;
}
.gift-cards-2 a img{
    margin-top: -0.5rem;
    border-radius: 8px;
    width: 100%;
    height: 10rem;
}
.gift-cards-2 img:hover{
    border-color: #3662a9b3 rgba(146, 73, 215, 0.678) bisque rgba(209, 198, 72, 0.674);
    border-style: dashed;
}

/* Footer */
footer{
    background-color: #a3aab3;
    color: white;
}
footer .footer-cols {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(3, 2fr);
    padding: 2rem;
    text-align: right;
    font-size: 14px;
}
footer .footer-cols ul {
    list-style: none;
}
footer .footer-cols ul li:first-child {
    font-size: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: #444 solid 1px;
    margin-bottom: 1rem;
}
footer .footer-bottom {
    text-align: center;
    padding: 0.5rem;
}

/* Utility Classes */
.container {
    max-width: 1180px;
    text-align: center;
    margin: 0 auto;
    padding: 0 3rem;
}
.lead {
    font-size: 0.8rem;
    text-align: justify;
}
.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    padding: 1rem;
    color: #fff;
    display: inline-block;
    border-radius: 2vh;
}
.btn-primary {
    background: var(--primary-color);
}
.btn-primary:hover {
    background: var(--primary-color-hover);
}
.btn-secondary {
    background: var(--secondary-color);
    align-self: center;
}
.btn-secondary:hover {
    background: var(--secondary-color-hover);
}

/* Text colors */
.text-primary {
    color: var(--primary-color);
}
.text-secondary {
    color: var(--secondary-color);
}
.bg-light {
    background: var(--light-color);
    color: #333;
}

/* Navigation */
nav {
    height: 45px;
    width: 100%;
    background-color: rgba(19, 17, 158, 0.863);
    color: rgb(247, 243, 243);
    position: fixed;
    border-radius: 0 0 2rem 2rem;
}
nav ul {
    padding: 0;
    margin: 0 10px;
}
nav li {
    display: inline;
    float: right;
}
nav a {
    display: block;
    position: relative;
    width: 145px;
    text-align: center;
    text-decoration: none;
    padding: 10px 0 0 0;
    color: #eee;
    text-decoration: none;
}
nav a:hover {
    color: #ee950f;
}
nav a#openup {
    display: none;
}

/* sub-pages */
.sub-page{
    width: 84%;
    padding: 1rem;
    border: solid rgb(0, 0, 0);
    margin: 2rem 6.5rem 2rem 0;
    align-content: center;
    display: block;
    text-align: justify;
}
.sub-page img{
    margin-top: 3rem;
    width: 100%;
    height: auto;
}
.sub-page li{
    float: right;
    margin-left: 3rem;
}
.sub-page table,tr,td{
    border: solid #8cb2efc6;
    padding: 20px;
    }

th{
    text-align: center;
    padding: 10px;
    color: rgba(0, 0, 0, 0.799);
    font-size: large;
}

/* connect-us */
.author {
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    justify-content: center;
}
.gmail img{
    border-radius: 100%;
}
.author img{
    width: 3rem;
    height: 3rem;
    padding: 0.5rem;
}

.author img:hover {
    width: 3.1rem;
    height: 3.1rem;
}
.logo{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 3px;
    margin: -0.5rem 5rem 0 0;
}
.poster{
    padding: 5rem 0 0 5rem;
}
.internet{
    padding: 1rem;
    position: absolute;
    width: 80%;
    color: white;
    min-height:250%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('../img/11.jpg');
}
.txt{
    background-color: white;
    opacity: 0.9;
    padding: 1rem;
    margin-top: 8rem;
    width: 100%;
}
.txt_center{
    background-color: white;
    opacity: 0.9;
    padding: 1rem;
    margin: 2rem 4rem -6rem 4rem;
    border-radius: 4px;
}
.text-h ul li {
    padding-bottom: 1rem;
}

@media screen and (max-width: 1080px) {
    .hide-on-small {
        display: none;
    }

    .poster{
        padding: 5rem 0 0 2rem;
    }

    nav {
        height: 0;
        border-bottom: 0;
    }
    nav ul {
        display: none;
        height: auto;
    }
    nav li {
        width: 100%;
        float: right;
        position: relative;
    }
    nav a {
        text-align: center;
        width: 100%;
        text-indent: 40px;
        background: #333;
        border-bottom: 1px solid #555;
    }
    nav a:hover {
        background: #444;
    }
    nav a#openup:after {
        content: "|||";
        transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        /* IE 9 */
        -webkit-transform: rotate(-90deg);
        /* Safari and Chrome */
        width: 50px;
        height: 50px;
        display: inline-block;
        position: absolute;
        right: 5px;
        top: 20px;
    }
    nav a#openup {
        display: flex;
        background-color: #333333;
        width: 100%;
        position: relative;
    }
    .cf:before,
    .cf:after {
        content: "";
        display: table;
    }
    .cf:after {
        clear: both;
    }
    .cf {
        zoom: 1;
    }
    .logo{
        width: 2rem;
        height: 2rem;
        border-radius: 3px;
        margin: -0.2rem 5rem 0.1rem 0.5rem;
    }
    .sub-page{
        height: auto;
        padding: 1rem;
        margin: 2rem 4.5rem 2rem 0;
    }
}

@media screen and (max-width: 780px) {
    .internet{
      width: 77%;
    }
    .gift-cards {
      grid-template-columns: 1fr;
    }
    .gift-cards-2 {
      grid-template-columns: 1fr;
    }
}