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

:root {
    --transition: all 300ms ease-in-out;
    --dark-color: #000000;
    --light-color: #fff;
}

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

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

button,
.btn {
    cursor: pointer;
    border: none;
    background: transparent;
}

ul {
    list-style-type: none;
}

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

img {
    width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.vh-100 {
    min-height: 70vh;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

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

.py-7 {
    padding: 7rem 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.lead {
    opacity: 0.8;
    padding: 1rem 0;
    font-size: 1.7rem;
    font-weight: 300;
    line-height: 1.8;
}

#header {
    align-items: flex-end;
}

.zoom-hero {
    position: absolute;

    filter: grayscale(100%);
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #dddddd;
    z-index: -1;
}

#header .container {
    width: 100%;
}

.header-content {
    padding-bottom: 4rem;
}

.header-content h1 {
    font-size: 4.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
    color: var(--light-color);
}

.header-content h3 {
    color: var(--light-color);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

.social-links {
    display: flex;
    margin-top: 3.5rem;
}

.social-links li a {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    margin-right: 1rem;
    border-radius: 0.8rem;
    box-shadow: 0 0 6px 5px rgb(0, 0, 0);
    transition: var(--transition);
}

.social-links li a:hover {
    opacity: 0.9;
}

.about-left {
    margin-bottom: 4rem;
    height: 480px;
    overflow: hidden;
}

.btn-down {
    font-size: 3rem;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}

.btn-down:hover {
    opacity: 0.8;
    transform: translateY(5px);
}

.btn-down-white {
    color: var(--light-color);
}

.title {
    margin-bottom: 5rem;
}

.title h2 {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
}

.title h2::after {
    position: absolute;
    content: "";
    top: 120%;
    left: 0;
    width: 70px;
    height: 4px;
    background-color: var(--dark-color);
}

#work {
    filter: grayscale(100%);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/map_lol5.png') center/cover no-repeat fixed;
    color: var(--light-color);
}

#work .title h2,
#work h3 {
    color: var(--light-color);
}

#work .title h2::after {
    background: var(--light-color);
}

.work-bottom {
    margin-top: 4rem;
    text-align: center;
}

.work-bottom>div .icon img {
    width: 50px;
    margin: 0 auto 1.7rem auto;
}

a h4 {
    color: #fff;
    font-size: large;
}

a:hover h4 {
    color: rgba(255, 255, 255, 0.56);
}

.portfolio-grid>div {
    transition: var(--transition);
}

.portfolio-grid>div:hover {
    transform: scale(0.9);
}

#contact {
    background-color: rgb(248, 248, 248);
}

.contact-content {
    flex-direction: column;
    align-items: stretch;
}

.contact-left {
    margin-bottom: 5rem;
}

.contact-left .lead {
    padding: 0.5rem;
}

.contact-left form {
    margin-top: 3rem;
}

.contact-left form .form-control {
    display: block;
    margin: 1.6rem 0;
    border: 2px solid rgb(0, 0, 0);
    padding: 1rem;
    width: 100%;
}

.contact-left form .form-control::placeholder {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.contact-left .btn-submit {
    padding: 1.4rem 3rem;
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.6rem;
    transition: var(--transition);
}

.contact-left .btn-submit:hover {
    background-color: #000;
}

#footer {
    background-color: #1c1c1c;
    color: var(--light-color);
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    color: var(--light-color);
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.footer-content ul {
    flex-direction: column;
}

.footer-content ul li a {
    color: var(--light-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-content ul li a:hover {
    opacity: 0.7;
}

.footer-content ul li {
    margin: .5rem 1rem;
}

.footer-content>div:first-child {
    margin-bottom: 3rem;
}

.footer-content>div:first-child div {
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin: 5rem auto;
    border-radius: 0.8rem;
}

@media(min-width: 450px) {
    .work-bottom {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
        row-gap: 0;
    }
}

@media(min-width: 576px) {
    .title h2 {
        font-size: 4rem;
    }

    .work-bottom {
        grid-template-columns: repeat(4, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid>div {
        height: 300px;
        overflow: hidden;
    }

    .portfolio-grid>div img {
        height: 100%;
        object-fit: cover;
    }

    .contact-left form .form-control {
        max-width: 500px;
    }

    .footer-content ul {
        flex-direction: row;
    }
}

@media(min-width: 768px) {
    .header-content h1 {
        font-size: 7rem;
    }

    .about-content,
    .work-top {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 6rem;
        row-gap: 0;
    }

    .about-left {
        margin-bottom: 0;
    }

    .contact-content {
        flex-direction: row;
    }

    .contact-right {
        padding-left: 3rem;
        width: 50%;
    }

    .contact-left {
        width: 50%;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .insta-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .insta-grid>div {
        height: 250px;
    }
}

@media(min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-grid>div:nth-child(2) {
        grid-column: 2 / 4;
    }

    .portfolio-grid>div:nth-child(6) {
        grid-column: 1 / 3;
    }
}

details {
    position: relative;
    width: 300px;
    margin-right: 1rem;
    margin-bottom: 3rem;
}

details[open] {
    z-index: 1;
}

summary {
    padding: 1rem;
    cursor: pointer;
    border-radius: 5px;
    background-color: #1c1c1c;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details[open] summary:before {
    content: '';
    display: block;
    width: 100vw;
    height: 100vh;
    background: transparent;
    position: fixed;
    top: 0px;
    left: 0;
}

summary:after {
    color: rgb(255, 255, 255);
    content: '';
    float: right;
    width: .9rem;
    height: .9rem;
    border-bottom: 1px solid currentColor;
    border-left: 1px solid currentColor;
    margin-top: 6px;
    margin-right: 10px;
    transform: rotate(45deg) translate(50%, 0%);
    transform-origin: center center;
    transition: transform ease-in-out 100ms
}

summary:focus {
    outline: none;
}

details[open] summary:after {
    transform: rotate(-45deg) translate(0%, 0%);
}

.list {
    width: 100%;
    background: #1c1c1c;
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    padding: 1rem;
    margin: 0;
    box-sizing: border-box;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
}

.list li {
    margin: 0;
    padding: 1rem 0;
    border-bottom: 1px solid #ccc;
}

li:first-child {
    padding-top: 0;
}

li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

summary.radios {
    counter-reset: radios;
}

summary.radios:before {
    content: var(--selection);

}

input[type=radio] {
    counter-increment: radios;
    appearance: none;
    display: none;

}

input[type=radio]:checked {
    display: inline;
    --display: block;

}

input[type=radio]:after {
    content: attr(title);
    display: inline;
    font-size: 1.6rem;
    font-family: 'Poppins', sans-serif;
    color: rgb(255, 255, 255);
}

ul.list {
    counter-reset: labels;
}

label {
    width: 100%;
    display: flex;
    cursor: pointer;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: rgb(255, 255, 255);
}

label span {
    --display: none;
    display: var(--display);
    width: 1rem;
    height: 1rem;
    border: 1px solid #727272;
    border-radius: 3px;
}

.container2 {

    position: relative;
    width: 1100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px;
    margin-top: 8%;

}

.container2 .card {
    width: 308px;
    position: relative;
    height: 350px;
    background: #f0f0f0;
    margin: 30px 10px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0.5px 10px #e6e6e6;
    transition: 0.3s ease-in-out;
    margin-top: 5%;
}

.container2 .card .imgBx {
    position: relative;
    width: 260px;
    height: 260px;
    top: -60px;
    left: 10px;
    box-shadow: 0 5px 20px rbga (0, 0, 0, 1.2);

}

.container2 .card .imgBx img {
    max-width: 100%;
    border-radius: 10px;
}

.imgBx h1 {
    float: left;
    font-size: 6rem;


}

.imgBx h3 {
    margin-top: 1.5rem;
    font-size: 15px;
    font-style: italic;
    margin-left: 1rem;
    margin-left: 8rem;
}

.container2 .card .imgBx h2 {
    margin-top: -2.55rem;
    font-size: 30px;
    margin-left: 8rem;

}

.imgBx:hover img {
    transform: scale(1.1);
}

* {
    box-sizing: border box;
}

.btn,
button {
    background: #1c1c1c;
    border: none;
    font-size: 10px;
    font-size: 1rem;
    background-color: #1c1c1c;
    color: white;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 21px;
    padding: 1.4rem 2.1rem;
    border: 2px solid #1c1c1c;
    transition: color 0.1s cubic-bezier(0.16, 0.08, 0.355, 1), background 0.1s cubic-bezier(0.16, 0.08, 0.355, 1);
    display: inline-block;
    cursor: pointer;
    width: 100%;
    margin-top: -25px;
    min-width: 26rem;
    outline: none;
    vertical-align: middle;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0.8rem;
}

@media (min-width: 400px) {

    .btn,
    button {
        width: auto;
    }
}

@media (min-width: 800px) {

    .btn,
    button {
        font-size: 1.1rem;
        padding: 1.6rem 2.8rem;
    }
}

.btn:hover,
button:hover {
    background: #434343;
    border-color: #434343;
    color: #fff;
}

.btn-border {
    background-color: transparent;
    color: #1c1c1c;
}

.btn-arrow {
    position: relative;
    transition: background-color 300ms ease-out;
}

.btn-arrow span {
    display: inline-block;
    position: relative;
    transition: all 300ms ease-out;
    will-change: transform;
}

.btn-arrow:hover span {
    transform: translate3d(-1rem, 0, 0);
}

.btn-arrow svg {
    position: absolute;
    width: 1.1em;
    right: 0px;
    right: 0rem;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 300ms ease-out;
    will-change: right, opacity;
}

.btn-arrow svg * {
    stroke-width: 5;
    stroke-color: transparent;
}

.btn-arrow:hover svg {
    opacity: 1;
    right: -2rem;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
    background: #1c1c1c;
    background-image: none;
    flex: 1;
    padding: 0 .5em;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
}

select::-ms-expand {
    display: none;
}

.select {
    position: relative;
    display: flex;
    width: 20em;
    height: 3em;
    line-height: 3;
    background: #1c1c1c;
    overflow: hidden;
    border-radius: .25em;

}

.select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 1em;
    background: #434343;
    cursor: pointer;
    pointer-events: none;
    transition: .25s all ease;
}

.select:hover::after {
    color: #ffffff;
}