:root {
    --main-dark: hsl(257, 86%, 19%);
    --main-mid: hsl(218, 93%, 37%);
    --main-light: hsl(197, 99%, 65%);
    --font: 'PT Serif', serif;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--main-dark);
    font-family: var(--font);
}

.carousel-indicators li { visibility: hidden; }

/* First Container */

.first-container {
    height: 50vw;
    background-image:radial-gradient(var(--main-mid), rgba(50, 3, 78, 0.3)), linear-gradient(var(--main-mid), var(--main-dark)), radial-gradient(var(--main-mid), red);
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    color: var(--main-light);
    position: relative;
    font-size: 3.5vw;
    bottom: 38%;
}

.photo-box {
    background-color: var(--main-dark);
    position: absolute;
    border-radius: 1vw;
    margin: 3%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: top;
    transition: transform .5s;
}

.photo-box:hover {
    transform: scale(1.15);;
}

#vertical-images {
    top: 7.5vw;
    left: 1vw;
    height: 35vw;
    width: 18vw;
    padding: 4vw .7vw 1vw;
}

#horizontal-images {
    top: 15%;
    left: 23.5%;
    height: 18vw;
    width: 30vw;
    padding: 1vw 3vw .5vw;
}

#small-square-images {
    top: 28.5vw;
    left: 23.5vw;
    height: 14vw;
    width: 14vw;
    padding: .75vw;
}

#large-square-images {
    top: 15%;
    left: 58%;
    height: 35vw;
    width: 35vw;
    padding: 1.5vw;
}

#large-square-images:hover {
    transform: scale(1.08);
}

.hor-rule {
    background-color: var(--main-light);
    width: 30%;
    height: 3px;
    position: absolute;
    bottom: .8vw;
    border: none;
}


/* Camera-Logo */


#lens1 {
    background-color: var(--main-dark);
    position: absolute;
    border-radius: 50%;
    margin: 3%;
    overflow: hidden;
    top: 31vw;
    left: 44vw;
    height: 8vw;
    width: 8vw;
}

#lens2 {
    background-color: rgb(19, 131, 223);
    position: absolute;
    border-radius: 50%;
    margin: 3%;
    overflow: hidden;
    top: 31.75vw;
    left: 44.75vw;
    height: 6.5vw;
    width: 6.5vw;
}

#lens3 {
    background-color: rgb(94, 205, 252);
    position: absolute;
    border-radius: 50%;
    margin: 3%;
    overflow: hidden;
    top: 32.8vw;
    left: 48.2vw;
    height: 2vw;
    width: 2vw;
}

#lens4 {
    background-color: hsl(196, 88%, 87%);
    position: absolute;
    border-radius: 50%;
    margin: 3%;
    overflow: hidden;
    top: 33vw;
    left: 49vw;
    height: 1vw;
    width: 1vw;
}

#cam-body {
    background-color: var(--main-dark);
    position: absolute;
    border-radius: 1vw;
    margin: 3%;
    overflow: hidden;
    top: 31.5vw;
    left: 42vw;
    height: 7vw;
    width: 10vw;
}

#shutter-button {
    background-color: var(--main-dark);
    position: absolute;
    border-radius: .4vw;
    margin: 3%;
    overflow: hidden;
    top: 31.2vw;
    left: 43vw;
    height: 2vw;
    width: 1.8vw;
}


/* Second Container */


.second-container {
    background-color: var(--main-dark);
    height: 22vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-me-text {
    color: var(--main-light);
    font-size: 3vw;
    text-align: center;
    margin: 5vw;
}


/* Third Container */


.third-container {
    height: 27vw;
    background-image: linear-gradient(var(--main-mid), var(--main-dark));
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hor-rule-2 {
    background-color: var(--main-light);
    width: 30%;
    height: 3.5px;
    position: absolute;
    top: .8vw;
    border: none;
}

.link-square {
    background-color: var(--main-dark);
    position: absolute;
    border-radius: 3vw;
    font-size: 4em;
    margin: 3%;
    padding-bottom: 14vw;
    height: 15vw;
    width: 15%;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    color: var(--main-light);
    top: 15%;
    border: 5px solid hsl(207, 84%, 47%);
}

.link-square:focus {
    display: none;
}

#email-square {
    right: 65%;
}

#code-square {
    left: 65%;
}

.btn-unique {
    text-decoration: none;
    color: var(--main-light);
    border: 5px solid var(--main-dark);
    background-color: var(--main-mid);
}

.btn:hover {
    text-decoration: none;
    color: hsl(201, 100%, 88%);
    border: 5px solid var(--main-light);
    background-color: hsl(252, 86%, 22%);
}

h2 {
    margin: 5vw;
    font-size: 3vw;
}

/* ScrollBar */

body::-webkit-scrollbar {
    width: 1.3vw;
  }
   
  body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
   
  body::-webkit-scrollbar-thumb {
    background-color: var(--main-light);
  }

/* Email Modal */

.modal {
    font-family: var(--font);
    top: 2.5vh;
}

#modalContactForm {
    color: hsl(231, 100%, 84%);
    background-color: hsla(245, 24%, 10%, 0.3);
    margin-top: 2vw;
}

.modal-dialog {
    height: 80vh;
}

.modal-content {
    background-color: var(--main-dark);
    height: 470px;
}

.modal-header {
    background-color: var(--main-dark);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-title {
    background-color: var(--main-dark);
}

.modal-body {
    background-color: hsl(257, 86%, 25%);
    height: 25vw;
}

.close-button {
    font-size: 35px;
    opacity: .8;
    background-color: var(--main-dark);
    color: hsl(228, 56%, 82%);
    border: 0;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 1.2vw;
    
}

.close-button:focus {
    outline: none;
}

.close-button:hover {
    color: whitesmoke;
}

#my-email {
    color: var(--main-light);
}

.send {
    color: whitesmoke;
}

.form-control {
    background-color: hsl(228, 56%, 82%);
    margin-top: 1vw;
}

.form-control:focus {
    background-color: hsl(225, 64%, 90%)
}

#leave-info {
    width: 320px;
    text-align: left;
}

.footer {
    color: hsl(228, 56%, 62%);
    text-align: center;
}

@media only screen and (max-width: 1000px) {

    /* First Container Medium */
    
    .first-container {
        height: 75vw;
    }
    
    h1 {
        font-size: 6vw;
    }

    #vertical-images {
        top: 12vw;
        height: 52vw;
        width: 30vw;
        left: 6vw;
    }
    
    #horizontal-images {
        top: 12vw;
        left: 40vw;
        height: 29vw;
        width: 46vw;
    }
    
    #small-square-images {
        top: 43vw;
        left: 40vw;
        height: 21vw;
        width: 21vw;
        padding: .75vw;
    }
    
    #large-square-images {
        top: 43vw;
        left: 65vw;
        height: 21vw;
        width: 21vw;
        padding: .75vw;
    }

    .photo-box:hover {
        transform: scale(1.08);
    }


    /* Camera-Logo */

    #lens1, #lens2, #lens3, #lens4, #cam-body, #shutter-button {
        display: none;
    }


    .close {
        font-size: 3vw;
    }
}

@media only screen and (max-width: 600px) {
    
    /* First Container Small */
    
    .first-container {
        height: 250vw;
    }
    
    h1 {
        bottom: 110vw;
        font-size: 8vw;
    }

    #vertical-images {
        top: 133vw;
        height: 100vw;
        width: 60vw;
        left: 17vw;
        border-radius: 3vw;
        padding-left: 2vw;
        padding-right: 2vw;
    }
    
    #horizontal-images {
        top: 25vw;
        left: 5vw;
        height: 55vw;
        width: 82vw;
        border-radius: 3vw;
        padding-top: 2vw;
    }
    
    #small-square-images {
        top: 88vw;
        left: 52vw;
        height: 35vw;
        width: 35vw;
        border-radius: 2vw;
        padding: 1.5vw;
    }
    
    #large-square-images {
        top: 88vw;
        left: 5vw;
        height: 35vw;
        width: 35vw;
        border-radius: 2vw;
        padding: 1.5vw;
    }

    /* Second Container */

    .second-and-third {
        display: flex;
    }

    .second-container {
        height: 100vw;
        width: 50vw;
    }

    .about-me-text {
        color: var(--main-light);
        font-size: 6vw;
        text-align: center;
        margin: 6vw;
    }

    /* Third Container */


    .third-container {
        height: 100vw;
        width: 50vw;
        background-image: linear-gradient(var(--main-dark), var(--main-dark));
    }

    .hor-rule-2 {
        display: none;
    }

    .link-square {
        height: 22vw;
        width: 22vw;
    }

    #email-square {
        right: 25%;
        top: 10%;
    }

    #code-square {
        left: 25%;
        top: 65%;
    }
    
    #insta-square {
        top: 38%;
    }

    .btn:hover {
        text-decoration: none;
        color: var(--main-light);
    }

    h2 {
        margin: 4.5vw;
        font-size: 5vw;
    }

    .modal-title {
        font-size: 5vw;
    }

    .close {
        font-size: 4vw;
    }
}