* {
    box-sizing: border-box;
}

body {
    margin: 0px;
}

h1 {
    font-family: Rajdhani;
    margin-left: 9%;
    font-size: 90px;
    margin-top: 0%;
    margin-bottom: 0%;
    grid-area: a;
}

img {
    width: 100%;
}

.headerLink {
    font-family: Rajdhani;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
    white-space: nowrap;
    width: 160px;
    display: flex;
    justify-content: center;
    height: 40px;
    align-items: center;
}

.rajdhani-light {
    font-family: "Rajdhani", serif;
    font-weight: 300;
    font-style: normal;
}

.rajdhani-regular {
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
}

.rajdhani-medium {
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
}

.rajdhani-semibold {
    font-family: "Rajdhani", serif;
    font-weight: 600;
    font-style: normal;
}

.rajdhani-bold {
    font-family: "Rajdhani", serif;
    font-weight: 700;
    font-style: normal;
}

.headerGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: right;
    margin-right: 5%;
    gap: 3px;
    grid-area: b;

}

.mainHeader {
    display: grid;
    grid-template-columns: 2fr 2fr;
    margin-top: 3vh;
    margin-bottom: 3vh;
    grid-template-areas:
        "a c"
        "b b";
}

.backgroundBox {
    background-color: rgb(238, 238, 238);
    border-radius: 40px;
    font-family: Rajdhani;
    font-size: 20px;
    box-shadow: 3px 3px 5px rgb(223, 223, 223);
    margin-top: 4%;
    margin-bottom: 4%;
}

.headerSpacing {
    display: flex;
    align-items: center;
    margin-left: 0%;
    margin-right: 0%;
}

a:link {
    color: black;
    text-decoration: none;
}

a:visited {
    color: black;
}

a:hover {
    color: rgb(85, 85, 85);
}

.highlightedBox {
    background-color: rgb(48, 47, 47);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Rajdhani;
    font-size: 20px;
    box-shadow: 3px 3px 5px rgb(129, 129, 129);
}

.highlightedBox>a {
    color: white;
}

.mainPage {
    display: grid;
    justify-items: center;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5%;
}

.headshot {
    width: 80%;
    margin-top: auto;
    margin-bottom: auto;
}

.text {
    font-family: Rajdhani;
    font-size: 70px;
    display: flex;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 5%;
    text-align: center;
}

.textSmall {
    font-family: Rajdhani;
    font-size: 20px;
    margin-left: 10%;
    margin-right: 10%;
}

.textHeader {
    font-family: Rajdhani;
    font-size: 38px;
    display: flex;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 60px;
    font-weight: 500;
}

.sites {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 150px;
}

.sites div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subLink {
    font-family: Rajdhani;
    margin-top: 7px;
    margin-bottom: 10px;
    font-size: 18px;
    display: flex;
    justify-content: center;
}

.spacer {
    margin: 200px;
}

.mainHeader .headerGrid {
    display: none;
    list-style: none;
}

.container {
    display: inline-block;
    cursor: pointer;
}

.xContainer {
    display: flex;
    flex-direction: row-reverse;
    margin: 3%;
    margin-right: 10%;
    grid-area: c;
}

.bar1, .bar2, .bar3 {
    width: 70px;
    height: 10px;
    background-color: black;
    margin: 12px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 21px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -21px) rotate(45deg);
}

.photography {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 2%;
    justify-items: center;
}

.photography picture {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    display: block;
}

.photography picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.photography picture img.position-top {
    object-position: top center;
}

.position-top {
    object-position: top center;
}

iframe {
    border: 0px;
    margin-top: 70px;
}

.video {
    display: grid;
    justify-content: center;
    justify-items: center;
}

form {
    display: grid;
    grid-template-areas:
        'aa'
        'bb'
        'cc'
        'dd'
        'ee'
        'ff'
        'gg'
        'hh';
    gap: 3%;
    margin: 5%;
    font-family: Rajdhani;
    font-size: 70px;
    font-weight: 300;
}

button {
    font-family: Rajdhani;
    font-size: 50px;
    font-weight: 500;
}

input {
    padding: 5px;
    border: 1px solid black;
    border-radius: 3px;
    transition: border-color 0.3s ease;
    height: 100px;
}

input:focus, textarea:focus {
    border: 1px solid #ff0000;
    outline: none;
}

textarea {
    resize: none;
    border: 1px solid black;
    border-radius: 3px;
    transition: border-color 0.3s ease;
    height: 200px;
}

.sendButton {
    width: 50%;
    height: 100px;
    padding: 5px;
    grid-area: gg;
}

.contactInfo {
    text-align: center;
    margin: 5%;
    font-family: Rajdhani;
    font-size: 50px;
    font-weight: 400;
}

#nameLable {
    grid-area: aa;
}

#name {
    grid-area: bb;
}

#emailLable {
    grid-area: cc;
}

#email {
    grid-area: dd;
}

#messageLable {
    grid-area: ee;
}

#message {
    grid-area: ff;
}

#reCAPTCHA {
    grid-area: hh;
}

/* Photography styling starts here  */
.modal-thumb img {
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s ease;
}

.modal-thumb img:hover {
    opacity: 0.85;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    animation: zoom 0.4s ease;
}

#caption {
    margin: 20px auto 0;
    text-align: center;
    color: #ccc;
    font-size: 16px;
    max-width: 80%;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    font-size: 32px;
    color: white;
    user-select: none;
    transition: 0.2s ease;
    transform: translateY(-50%);
}

.prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.close:hover {
    color: #bbb;
}

@media screen and (max-width: 700px) {
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }

    #caption {
        font-size: 14px;
    }
}

/* Photography styling ends here */
/* bottom of page css starts here */
footer {
    display: grid;
    grid-template-columns: auto auto;
    margin: 1%;
    font-family: Rajdhani, sans-serif;
    gap: 3%;
}

.copyright {
    text-align: end;
}

.socialMedia {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12%;
}

.socialMedia p {
    margin: 0px;
}
/* bottom of page css ends here */

@media screen and (min-width: 1000px) {
    .mainHeader .headerGrid {
        display: grid;
        align-items: center;
    }

    .mainHeader {
        display: grid;
        grid-template-columns: 1fr 5fr;
    }

    .container {
        display: none;
    }

    .mainHeader {
        grid-template-areas:
            "a b"
            "c c";
    }

    h1 {
        margin-left: 15%;
        font-size: 44px;
    }

    .xContainer {
        margin: 0%;
    }

    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        margin: 6px 0;
    }

    .backgroundBox {
        margin: 0%;
    }

    form {
        grid-template-areas:
            'aa cc cc'
            'bb dd dd'
            'ee ee ee'
            'ff ff ff'
            'gg . .'
            'hh hh hh';
        gap: 10px;
        font-size: 20px;
    }

    .sendButton {
        width: 30%;
        height: auto;
    }

    input {
        height: auto;
    }

    .contactInfo {
        font-size: 30px;
    }

    textarea {
        height: 100px;
    }

    button {
        font-size: 16px;
    }

    .text {
        font-size: 30px;
    }

    .mainPage {
        grid-template-columns: 1fr 1fr;
    }

    .headshot {
        width: 46vh;
    }

    .textSmall {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media screen and (min-width: 1350px) {
    .headerGrid {
        margin-right: 20%;
        margin-left: 13%;
    }

    .photography {
        grid-template-columns: repeat(3, 1fr);
    }

    .video {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 1700px) {
    .video {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .contact {
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: center;
    }
}