/* #region global */
body {
    font-family: "Inter", sans-serif;
    background-color: #0e1823;
    color: #fbfbfb;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

button{
    cursor: pointer;
}

h1,
h2, 
h3,
h4,
h5,
h6,
p {
    margin: 0;
}   

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* #endregion */

/* #region base styles */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 50px;
}

/* #endregion */

/* #region header */

.header{
    position: absolute;
    width: 100%;
    z-index: 10;
    background: transparent;
    margin-top: 32px;
}

.header-container {
    background-color: #fbfbfb;
    color: #0e1823;
    max-width: 1080px;
    border: 1px solid #fbfbfb;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 30px;
}

.logo {
    display: block;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: #1b414b;
    margin: 12px;
}


.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}


.nav-link {
    display: block;
    background-color: rgba(27, 65, 75, 0.5);
    border-radius: 8px;
    align-items: center;
    font-size: 9px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #fbfbfb;
    text-align: center;
    padding: 15px 25px 15px 24px;
    width: 91px;

    transition: background-color 250ms ease-in-out;
}

.nav-link:hover,
.nav-link:focus {
    background-color: #1b414b;
}

.social-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0;
}

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

.social-link{
    display: flex;
    justify-content: center;
    fill: #1b414b;

    transition: fill 250ms ease-in-out;
}

.social-link:hover,
.social-link:focus{
    fill: #062730;
}

/* #endregion */

/* #region hero */

.hero .container{
    background-size: cover;
    background-position: center;
    padding-top: 235px;
    padding-bottom: 199px;
    max-width: 1280px;
    margin-bottom: -16px;

    background-image: linear-gradient(to top,rgba(17, 19, 31, 1),rgba(17, 19, 31, 0.4),rgba(17, 19, 31, 0.1)),
    url(../images/background/background.jpg);
}

.hero-title {
    font-weight: 500;
    font-size: 80px;
    line-height: 1;
    letter-spacing: -0.02em;

    text-align: center;
    color: #fbfbfb;
    width: 1001px;
    margin: 0 auto;
    margin-bottom: 24px;
}

.hero-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    color: rgba(251, 251, 251, 0.7);
    width: 597px;
    margin: 0 auto;
    margin-bottom: 48px;
}

.hero-link {
    display: block;
    border-radius: 15px;
    padding: 16px 40px;
    width: 179px;
    height: 52px;
    background-color: #1b414b;
    margin: 0 auto;

    transition: background-color 250ms ease-in-out,
    color 250ms ease-in-out;
}

.hero-link:hover,
.hero-link:focus {
    background-color: #fbfbfb;
    color: #1b414b;}

.link {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fbfbfb;
}

/* #endregion */

/* #region about */

.about .container{
    border-radius: 24px;
    max-width: 1180px;
    width: 100%;
    height: 675px;

    padding: 0;
    margin-bottom: 305px;

    background-color: #fbfbfb; 
}

.about-wraper {
    display: flex;
    justify-content: space-between;
    padding: 50px 50px 100px 57px;
}

.about-title {
    max-width: 537px;
    width: 100%;

    font-weight: 500;
    font-size: 48px;
    
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1b414b;


}

.about-wraper-text{
    display: flex;
    flex-direction: column;
    gap: 20px;

    max-width: 354px;
    width: 100%;
}

.about-description {
    font-size: 23px;
    
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1b414b;
}

.about-text {
    font-size: 13px;
    
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #040306;
    opacity: 0.4;
}

.about-img{
    max-width: 1180px;
    width: 100%;
    border-radius: 0 24px 0 0;
    
}

/* #endregion */

/* #region card*/

.yachts-title {
    font-weight: 500;
    font-size: 48px;
    margin: 0 auto;
    
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fbfbfb;
    margin-bottom: 75px;
    max-width: 714px;
}

.yachts-list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.yacht-item {
    border-radius: 24px;
    max-width: 377px;

    background-color: #ffffff;

}

.yachts-img {
    border-radius: 24px;
    max-width: 345px;
    margin: 16px 16px 0;
}

.yachts-titel-wrapper{
    display: flex;
    max-width: 313px;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin: 32px 32px 16px;
    border-bottom: 1px solid rgba(4, 3, 6, 0.1);
}

.yachts-subtitel {
    font-weight: 500;
    font-size: 16px;
    
    line-height: 1.2;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #1b414b;

}

.yachts-text {
    font-size: 13px;
    
    line-height: 1.18;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #040306;
    opacity: 0.4;
}

.yacht-wrapper{
    display: flex;
    max-width: 313px;
    justify-content: space-between;
    align-items: center;
    margin: 0 32px 32px;
}

.yachts-props-item {
    font-size: 14px;
    line-height: 1.18;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #040306;
    opacity: 0.4;
}

.yachts-props-item:not(:last-child){
    margin-bottom: 6px;
}

.yachts-values-item {
    font-size: 14px;
    
    line-height: 1.18;
    letter-spacing: 0.03em;
    color: #040306;
}

.yachts-values-item:not(:last-child) {
    margin-bottom: 6px;
}

.yachts-link {
    display: block;
    border: 1px solid rgba(251, 251, 251, 0.35);
    border-radius: 15px;
    padding: 16px 40px;
    width: 179px;
    height: 52px;
    margin: 0 auto 150px;
    transition: background-color 250ms ease-in-out,
    color 250ms ease-in-out;
}

.yachts-link:hover,
.yachts-link:focus{
    background-color: #fbfbfb;
    color: #1b414b;
}

/* #endregion */

/* #region benefits*/

.benefits .container{
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 150px;
}   

.hidden-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(100%);
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.benefits-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;

    border-radius: 24px;
    max-width: 716px;
    padding: 90px 50px;

    background: #1b414b;
}

.benefits-item {
    max-width: 292px;
}

.benefits-number{
    font-weight: 500;
    font-size: 32px;

    line-height: 1;
    letter-spacing: -0.05em;
    color: #fbfbfb;
}

.benefits-strip{
    border-radius: 18px;
    fill: rgba(251, 251, 251, 0.1);
    margin: 18px 0;
}

.benefits-text {
    font-size: 13px;
    
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fbfbfb;
    opacity: 0.8;
}

.benefits-img {
    border-radius: 24px;
    max-width: 432px;
    object-fit: cover;
}

/* #endregion */

/* #region form */

.form-section .container{
    display: flex;
    gap: 50px;
    margin-bottom: 150px;
}

.form-img {
    border-radius: 24px;
    max-width: 658px;
}

.form {
    width: 472px;
}

.form-title {
    font-weight: 500;
    font-size: 48px;
    
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fbfbfb;

    margin-bottom: 50px;
}

.input {
    width: 100%;
    border: 1px solid rgba(251, 251, 251, 0.2);
    border-radius: 12px;
    padding: 18px;
    height: 54px;

    font-weight: 400;
    font-size: 14px;
    
    line-height: 1.3;
    color: rgba(251, 251, 251, 0.4);
    outline: none;
    background-color: transparent;

    transition: border 250ms ease-in-out,
            color 250ms ease-in-out;
}

.input:focus{
    color: #fbfbfb;
    border: 1px solid rgba(251, 251, 251, 0.5);
}

.form-name {
    margin-bottom: 18px;
}

.form-email {
    margin-bottom: 18px;
}

.form-tel {
    margin-bottom: 18px;
}

.form-textarea {
    height: 116px;
    margin-bottom: 50px;
    resize: none;
}
.btn-submit {
    font-weight: 500;
    font-size: 18px;

    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fbfbfb;

    border-radius: 15px;
    padding: 18px 75px;
    width: 194px;
    height: 56px;

    border: none;

    background: #1b414b;
    transition: background-color 250ms ease-in-out,
            color 250ms ease-in-out;
}

.btn-submit:hover,
.btn-submit:focus{
background-color: #fbfbfb;
color: #1b414b;
}

/* #endregion */

/* #region team*/

.team-titel {
    font-weight: 500;
    font-size: 48px;

    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fbfbfb;

    max-width: 854px;
    margin: 0 auto 25px;
}

.team-text {
    font-weight: 400;
    font-size: 14px;

    line-height: 1.28;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fbfbfb;
    opacity: 0.4;
    max-width: 571px;
    margin: 0 auto 75px;
}

.team-list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 150px;
}

.team-item {
    border-radius: 24px;
    padding: 32px 28px;
    width: 376px;

    background-color: #fbfbfb;
}

.team-img {
    border-radius: 72px;
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
}

.team-subtitle {
    font-weight: 500;
    font-size: 18px;

    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #040306;
    margin-bottom: 8px;
}

.team-description{
    font-size: 16px;

    line-height: 1.4;
    letter-spacing: -0.02em;
    text-align: center;
    color: rgba(4, 3, 6, 0.4);
}

/* #endregion */

/* #region footer */

.footer {
    border-radius: 24px 24px 0 0;
    max-width: 1230px;
    margin: 0 auto;
    padding: 50px 75px 20px;

    background: #1b414b;
}

.footer-container{
    color: #fbfbfb;
    max-width: 1080px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 96px;
    padding: 0;

}

.footer-logo {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: #fbfbfb;
}

.footer-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-nav-link {
    display: block;
    background-color:rgba(251, 251, 251, 0.3);
    border-radius: 8px;
    align-items: center;
    font-size: 9px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #fbfbfb;
    text-align: center;
    padding: 15px 25px 15px 24px;
    width: 91px;
        
    transition: bacground-color 250ms ease-in-out,
    color 250ms ease-in-out;
}
        
.footer-nav-link:hover,
.footer-nav-link:focus {
    background-color: #FBFBFB;
    color: #1b414b;
}

.footer-social-list {
    display: flex;
    gap: 8px;
}

.footer-icon {
    fill: #FBFBFB;
    transition: fill 250ms ease-in-out,
}

.footer-icon:hover,
.footer-icon:focus{
fill: rgba(251, 251, 251, 0.8);
}

.footer-text {
    font-weight: 400;
    font-size: 32px;
    
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fbfbfb;
    max-width: 693px;
    margin: 0 auto 99px;
}

.copyright {
    display: flex;
    justify-content: space-between;
    max-width: 298px;
    margin: 0 auto;
}

.copyright-text{
    font-size: 14px;
    line-height: 1.18;
    letter-spacing: 0.03em;
    color: rgba(251, 251, 251, 0.4);
}

.copyright-link {
    display: block;
    font-size: 14px;
    line-height: 1.18;
    letter-spacing: 0.03em;
    color: rgba(251, 251, 251, 0.4);
}

/* #endregion */